0s autopkgtest [15:55:55]: starting date and time: 2026-02-08 15:55:55+0000 0s autopkgtest [15:55:55]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [15:55:55]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.8ku0rksp/out --timeout-copy=6000 --needs-internet=try --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:dpkg --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=dpkg/1.23.5ubuntu1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-3.secgroup --name adt-resolute-amd64-glib2.0-20260208-155554-juju-7f2275-prod-proposed-migration-environment-15-8a20b40f-8d6f-4a9f-9024-8d72ab1e3145 --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-amd64-glib2.0-20260208-155554-juju-7f2275-prod-proposed-migration-environment-15-8a20b40f-8d6f-4a9f-9024-8d72ab1e3145 from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)... 90s autopkgtest [15:57:25]: testbed dpkg architecture: amd64 90s autopkgtest [15:57:25]: testbed apt version: 3.1.14 91s autopkgtest [15:57:26]: @@@@@@@@@@@@@@@@@@@@ test bed setup 91s autopkgtest [15:57:26]: testbed release detected to be: None 91s autopkgtest [15:57:26]: updating testbed package index (apt update) 91s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 92s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 92s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 92s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 92s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 92s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 92s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 92s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [263 kB] 92s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [201 kB] 92s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6524 B] 92s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [120 B] 92s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [561 kB] 92s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1458 kB] 92s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [31.2 kB] 92s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [25.2 kB] 92s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4320 B] 92s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [996 B] 93s Fetched 4378 kB in 1s (4176 kB/s) 94s Reading package lists... 94s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 94s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 94s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 94s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 95s Reading package lists... 95s Reading package lists... 95s Building dependency tree... 95s Reading state information... 95s Calculating upgrade... 95s The following package was automatically installed and is no longer required: 95s libpython3.13 95s Use 'sudo apt autoremove' to remove it. 95s The following NEW packages will be installed: 95s libpython3.14 libpython3.14-minimal libpython3.14-stdlib 95s linux-headers-6.19.0-3 linux-headers-6.19.0-3-generic 95s linux-image-6.19.0-3-generic linux-modules-6.19.0-3-generic 95s linux-tools-6.19.0-3 linux-tools-6.19.0-3-generic 95s The following packages will be upgraded: 95s 3cpio amd64-microcode apt bpftool busybox-initramfs busybox-static dash 95s debianutils dmsetup dpkg dpkg-dev ethtool findutils gir1.2-girepository-3.0 95s gir1.2-glib-2.0 hwdata less libapt-pkg7.0 libattr1 libbpf1 libbsd0 95s libdevmapper1.02.1 libdpkg-perl libdrm-amdgpu1 libdrm-common libdrm2 95s libevent-core-2.1-7t64 libgdbm-compat4t64 libgdbm6t64 libgirepository-2.0-0 95s libglib2.0-0t64 libglib2.0-data libgpm2 libgudev-1.0-0 libidn2-0 95s libkeyutils1 liblsof0 libmaxminddb0 libnetfilter-conntrack3 libnpth0t64 95s libonig5 libpcap0.8t64 libpci3 libsensors-config libsensors5 libusb-1.0-0 95s libwrap0 libxau6 libxkbcommon0 linux-generic linux-headers-generic 95s linux-headers-virtual linux-image-generic linux-image-virtual linux-perf 95s linux-tools-common linux-virtual lsof man-db mawk patch pciutils pnp.ids 95s pollinate python3-linkify-it python3-markdown-it python3-referencing sed 95s shared-mime-info tar tcpdump ubuntu-kernel-accessories ubuntu-standard 95s 73 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 95s Need to get 236 MB of archives. 95s After this operation, 338 MB of additional disk space will be used. 95s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 debianutils amd64 5.23.2build1 [93.3 kB] 95s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 dash amd64 0.5.12-12ubuntu3 [96.0 kB] 95s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB] 95s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB] 96s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 dpkg amd64 1.23.5ubuntu1 [1288 kB] 96s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB] 96s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB] 96s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB] 96s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libbsd0 amd64 0.12.2-2build2 [42.3 kB] 96s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB] 96s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB] 96s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB] 96s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB] 96s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 ethtool amd64 1:6.15-3build1 [318 kB] 96s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-girepository-3.0 amd64 2.87.2-2 [25.2 kB] 96s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 libgirepository-2.0-0 amd64 2.87.2-2 [76.1 kB] 96s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0 amd64 2.87.2-2 [182 kB] 96s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-0t64 amd64 2.87.2-2 [1613 kB] 96s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB] 96s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libbpf1 amd64 1:1.6.2-1build1 [184 kB] 96s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-data all 2.87.2-2 [58.2 kB] 96s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libidn2-0 amd64 2.3.8-4build1 [67.6 kB] 96s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB] 96s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 96s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB] 96s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 shared-mime-info amd64 2.4-5build3 [476 kB] 96s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB] 97s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B] 97s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB] 97s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm6t64 amd64 1.26-1build1 [36.5 kB] 97s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB] 97s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 lsof amd64 4.99.4+dfsg-2build2 [239 kB] 97s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsof0 amd64 4.99.4+dfsg-2build2 [56.5 kB] 97s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB] 97s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libnetfilter-conntrack3 amd64 1.1.1-1 [47.5 kB] 97s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcap0.8t64 amd64 1.10.5-2ubuntu3 [154 kB] 97s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 pciutils amd64 1:3.14.0-1build2 [95.5 kB] 97s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libpci3 amd64 1:3.14.0-1build2 [38.1 kB] 97s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B] 97s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB] 97s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 libusb-1.0-0 amd64 2:1.0.29-2build1 [56.9 kB] 97s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 libxau6 amd64 1:1.0.11-1build2 [7502 B] 97s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 libxkbcommon0 amd64 1.13.1-1 [159 kB] 97s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 man-db amd64 2.13.1-1build1 [1392 kB] 97s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 tcpdump amd64 4.99.5-2ubuntu3 [477 kB] 97s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-standard amd64 1.564 [13.3 kB] 97s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 3cpio amd64 0.14.0-1ubuntu1 [285 kB] 97s Get:48 http://ftpmaster.internal/ubuntu resolute/main amd64 bpftool amd64 7.7.0+6.19.0-3.3 [1229 kB] 97s Get:49 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB] 97s Get:50 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 dpkg-dev all 1.23.5ubuntu1 [1062 kB] 97s Get:51 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libdpkg-perl all 1.23.5ubuntu1 [289 kB] 97s Get:52 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB] 97s Get:53 http://ftpmaster.internal/ubuntu resolute/main amd64 hwdata all 0.394-1build1 [1566 B] 97s Get:54 http://ftpmaster.internal/ubuntu resolute/main amd64 pnp.ids all 0.394-1build1 [29.6 kB] 97s Get:55 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB] 97s Get:56 http://ftpmaster.internal/ubuntu resolute/main amd64 libevent-core-2.1-7t64 amd64 2.1.12-stable-10build2 [93.1 kB] 97s Get:57 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm-compat4t64 amd64 1.26-1build1 [6796 B] 97s Get:58 http://ftpmaster.internal/ubuntu resolute/main amd64 libgudev-1.0-0 amd64 1:238-7build1 [15.9 kB] 97s Get:59 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B] 97s Get:60 http://ftpmaster.internal/ubuntu resolute/main amd64 libonig5 amd64 6.9.10-1build1 [174 kB] 97s Get:61 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.2-1 [920 kB] 98s Get:62 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.2-1 [2398 kB] 98s Get:63 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14 amd64 3.14.2-1 [2568 kB] 99s Get:64 http://ftpmaster.internal/ubuntu resolute/main amd64 libwrap0 amd64 7.6.q-36build2 [48.5 kB] 99s Get:65 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-modules-6.19.0-3-generic amd64 6.19.0-3.3 [171 MB] 136s Get:66 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-6.19.0-3-generic amd64 6.19.0-3.3+1 [16.8 MB] 139s Get:67 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB] 139s Get:68 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-generic amd64 6.19.0-3.3 [1698 B] 139s Get:69 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-generic amd64 6.19.0-3.3 [12.2 kB] 140s Get:70 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-virtual amd64 6.19.0-3.3 [1700 B] 140s Get:71 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-virtual amd64 6.19.0-3.3 [12.1 kB] 140s Get:72 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-virtual amd64 6.19.0-3.3 [1646 B] 140s Get:73 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3 all 6.19.0-3.3 [14.9 MB] 143s Get:74 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3-generic amd64 6.19.0-3.3 [4330 kB] 144s Get:75 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-generic amd64 6.19.0-3.3 [12.0 kB] 144s Get:76 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-perf amd64 6.19.0-3.3 [4480 kB] 145s Get:77 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-common all 6.19.0-3.3 [345 kB] 145s Get:78 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3 amd64 6.19.0-3.3 [1455 kB] 145s Get:79 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3-generic amd64 6.19.0-3.3 [1612 B] 145s Get:80 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB] 145s Get:81 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 145s Get:82 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-kernel-accessories amd64 1.564 [13.1 kB] 145s dpkg-preconfigure: unable to re-open stdin: No such file or directory 145s Fetched 236 MB in 50s (4722 kB/s) 145s (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 ... 83957 files and directories currently installed.) 145s Preparing to unpack .../debianutils_5.23.2build1_amd64.deb ... 145s Unpacking debianutils (5.23.2build1) over (5.23.2) ... 145s Setting up debianutils (5.23.2build1) ... 146s (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 ... 83957 files and directories currently installed.) 146s Preparing to unpack .../dash_0.5.12-12ubuntu3_amd64.deb ... 146s Unpacking dash (0.5.12-12ubuntu3) over (0.5.12-12ubuntu2) ... 146s Setting up dash (0.5.12-12ubuntu3) ... 146s (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 ... 83957 files and directories currently installed.) 146s Preparing to unpack .../libapt-pkg7.0_3.1.15_amd64.deb ... 146s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ... 146s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ... 146s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ... 146s Setting up tar (1.35+dfsg-3.1build2) ... 146s (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 ... 83957 files and directories currently installed.) 146s Preparing to unpack .../dpkg_1.23.5ubuntu1_amd64.deb ... 146s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 146s Setting up dpkg (1.23.5ubuntu1) ... 146s (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 ... 83958 files and directories currently installed.) 146s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ... 146s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ... 146s Setting up findutils (4.10.0-3build2) ... 146s (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 ... 83958 files and directories currently installed.) 146s Preparing to unpack .../sed_4.9-2build3_amd64.deb ... 146s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 146s Setting up sed (4.9-2build3) ... 146s (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 ... 83958 files and directories currently installed.) 146s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ... 146s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ... 146s Setting up libattr1:amd64 (1:2.5.2-3build2) ... 146s (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 ... 83958 files and directories currently installed.) 146s Preparing to unpack .../00-libbsd0_0.12.2-2build2_amd64.deb ... 146s Unpacking libbsd0:amd64 (0.12.2-2build2) over (0.12.2-2build1) ... 146s Preparing to unpack .../01-mawk_1.3.4.20260129-1_amd64.deb ... 146s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ... 146s Preparing to unpack .../02-apt_3.1.15_amd64.deb ... 146s Unpacking apt (3.1.15) over (3.1.14) ... 146s Preparing to unpack .../03-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ... 146s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 147s Preparing to unpack .../04-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ... 147s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 147s Preparing to unpack .../05-ethtool_1%3a6.15-3build1_amd64.deb ... 147s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 147s Preparing to unpack .../06-gir1.2-girepository-3.0_2.87.2-2_amd64.deb ... 147s Unpacking gir1.2-girepository-3.0:amd64 (2.87.2-2) over (2.86.3-4) ... 147s Preparing to unpack .../07-libgirepository-2.0-0_2.87.2-2_amd64.deb ... 147s Unpacking libgirepository-2.0-0:amd64 (2.87.2-2) over (2.86.3-4) ... 147s Preparing to unpack .../08-gir1.2-glib-2.0_2.87.2-2_amd64.deb ... 147s Unpacking gir1.2-glib-2.0:amd64 (2.87.2-2) over (2.86.3-4) ... 147s Preparing to unpack .../09-libglib2.0-0t64_2.87.2-2_amd64.deb ... 147s Unpacking libglib2.0-0t64:amd64 (2.87.2-2) over (2.86.3-4) ... 147s Preparing to unpack .../10-less_668-1build1_amd64.deb ... 147s Unpacking less (668-1build1) over (668-1) ... 147s Preparing to unpack .../11-libbpf1_1%3a1.6.2-1build1_amd64.deb ... 147s Unpacking libbpf1:amd64 (1:1.6.2-1build1) over (1:1.6.2-1) ... 147s Preparing to unpack .../12-libglib2.0-data_2.87.2-2_all.deb ... 147s Unpacking libglib2.0-data (2.87.2-2) over (2.86.3-4) ... 147s Preparing to unpack .../13-libidn2-0_2.3.8-4build1_amd64.deb ... 147s Unpacking libidn2-0:amd64 (2.3.8-4build1) over (2.3.8-4) ... 147s Preparing to unpack .../14-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ... 147s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ... 147s Preparing to unpack .../15-python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 147s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 147s Preparing to unpack .../16-python3-markdown-it_3.0.0-3build1_all.deb ... 147s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ... 147s Preparing to unpack .../17-shared-mime-info_2.4-5build3_amd64.deb ... 147s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 147s Preparing to unpack .../18-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ... 147s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 147s Preparing to unpack .../19-libdrm-common_2.4.131-1_all.deb ... 147s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ... 147s Preparing to unpack .../20-libdrm2_2.4.131-1_amd64.deb ... 147s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ... 147s Preparing to unpack .../21-libgdbm6t64_1.26-1build1_amd64.deb ... 147s Unpacking libgdbm6t64:amd64 (1.26-1build1) over (1.26-1) ... 147s Preparing to unpack .../22-libgpm2_1.20.7-12build1_amd64.deb ... 147s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ... 147s Preparing to unpack .../23-lsof_4.99.4+dfsg-2build2_amd64.deb ... 147s Unpacking lsof (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 147s Preparing to unpack .../24-liblsof0_4.99.4+dfsg-2build2_amd64.deb ... 147s Unpacking liblsof0 (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 147s Preparing to unpack .../25-libmaxminddb0_1.12.2-1build2_amd64.deb ... 147s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ... 147s Preparing to unpack .../26-libnetfilter-conntrack3_1.1.1-1_amd64.deb ... 147s Unpacking libnetfilter-conntrack3:amd64 (1.1.1-1) over (1.1.0-1build1) ... 147s Preparing to unpack .../27-libpcap0.8t64_1.10.5-2ubuntu3_amd64.deb ... 147s Unpacking libpcap0.8t64:amd64 (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 147s Preparing to unpack .../28-pciutils_1%3a3.14.0-1build2_amd64.deb ... 147s Unpacking pciutils (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 147s Preparing to unpack .../29-libpci3_1%3a3.14.0-1build2_amd64.deb ... 147s Unpacking libpci3:amd64 (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 148s Preparing to unpack .../30-libsensors-config_1%3a3.6.2-2build1_all.deb ... 148s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ... 148s Preparing to unpack .../31-libsensors5_1%3a3.6.2-2build1_amd64.deb ... 148s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ... 148s Preparing to unpack .../32-libusb-1.0-0_2%3a1.0.29-2build1_amd64.deb ... 148s Unpacking libusb-1.0-0:amd64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 148s Preparing to unpack .../33-libxau6_1%3a1.0.11-1build2_amd64.deb ... 148s Unpacking libxau6:amd64 (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 148s Preparing to unpack .../34-libxkbcommon0_1.13.1-1_amd64.deb ... 148s Unpacking libxkbcommon0:amd64 (1.13.1-1) over (1.12.3-1) ... 148s Preparing to unpack .../35-man-db_2.13.1-1build1_amd64.deb ... 148s Unpacking man-db (2.13.1-1build1) over (2.13.1-1) ... 148s Preparing to unpack .../36-tcpdump_4.99.5-2ubuntu3_amd64.deb ... 148s Unpacking tcpdump (4.99.5-2ubuntu3) over (4.99.5-2ubuntu2) ... 148s Preparing to unpack .../37-ubuntu-standard_1.564_amd64.deb ... 148s Unpacking ubuntu-standard (1.564) over (1.563) ... 148s Preparing to unpack .../38-3cpio_0.14.0-1ubuntu1_amd64.deb ... 148s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 148s Preparing to unpack .../39-bpftool_7.7.0+6.19.0-3.3_amd64.deb ... 148s Unpacking bpftool (7.7.0+6.19.0-3.3) over (7.7.0+6.18.0-9.9) ... 148s Preparing to unpack .../40-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ... 148s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 148s Preparing to unpack .../41-dpkg-dev_1.23.5ubuntu1_all.deb ... 148s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 148s Preparing to unpack .../42-libdpkg-perl_1.23.5ubuntu1_all.deb ... 148s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 148s Preparing to unpack .../43-patch_2.8-2build1_amd64.deb ... 148s Unpacking patch (2.8-2build1) over (2.8-2) ... 148s Preparing to unpack .../44-hwdata_0.394-1build1_all.deb ... 148s Unpacking hwdata (0.394-1build1) over (0.394-1) ... 148s Preparing to unpack .../45-pnp.ids_0.394-1build1_all.deb ... 148s Unpacking pnp.ids (0.394-1build1) over (0.394-1) ... 148s Preparing to unpack .../46-libdrm-amdgpu1_2.4.131-1_amd64.deb ... 148s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ... 148s Preparing to unpack .../47-libevent-core-2.1-7t64_2.1.12-stable-10build2_amd64.deb ... 148s Unpacking libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 148s Preparing to unpack .../48-libgdbm-compat4t64_1.26-1build1_amd64.deb ... 148s Unpacking libgdbm-compat4t64:amd64 (1.26-1build1) over (1.26-1) ... 148s Preparing to unpack .../49-libgudev-1.0-0_1%3a238-7build1_amd64.deb ... 148s Unpacking libgudev-1.0-0:amd64 (1:238-7build1) over (1:238-7) ... 148s Preparing to unpack .../50-libnpth0t64_1.8-3build1_amd64.deb ... 148s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ... 148s Preparing to unpack .../51-libonig5_6.9.10-1build1_amd64.deb ... 148s Unpacking libonig5:amd64 (6.9.10-1build1) over (6.9.10-1) ... 148s Selecting previously unselected package libpython3.14-minimal:amd64. 148s Preparing to unpack .../52-libpython3.14-minimal_3.14.2-1_amd64.deb ... 148s Unpacking libpython3.14-minimal:amd64 (3.14.2-1) ... 148s Selecting previously unselected package libpython3.14-stdlib:amd64. 148s Preparing to unpack .../53-libpython3.14-stdlib_3.14.2-1_amd64.deb ... 148s Unpacking libpython3.14-stdlib:amd64 (3.14.2-1) ... 149s Selecting previously unselected package libpython3.14:amd64. 149s Preparing to unpack .../54-libpython3.14_3.14.2-1_amd64.deb ... 149s Unpacking libpython3.14:amd64 (3.14.2-1) ... 149s Preparing to unpack .../55-libwrap0_7.6.q-36build2_amd64.deb ... 149s Unpacking libwrap0:amd64 (7.6.q-36build2) over (7.6.q-36build1) ... 149s Selecting previously unselected package linux-modules-6.19.0-3-generic. 149s Preparing to unpack .../56-linux-modules-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 149s Unpacking linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 149s Selecting previously unselected package linux-image-6.19.0-3-generic. 149s Preparing to unpack .../57-linux-image-6.19.0-3-generic_6.19.0-3.3+1_amd64.deb ... 149s Unpacking linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 149s Preparing to unpack .../58-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ... 149s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ... 149s Preparing to unpack .../59-linux-generic_6.19.0-3.3_amd64.deb ... 149s Unpacking linux-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 149s Preparing to unpack .../60-linux-image-generic_6.19.0-3.3_amd64.deb ... 149s Unpacking linux-image-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 150s Preparing to unpack .../61-linux-virtual_6.19.0-3.3_amd64.deb ... 150s Unpacking linux-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 150s Preparing to unpack .../62-linux-image-virtual_6.19.0-3.3_amd64.deb ... 150s Unpacking linux-image-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 150s Preparing to unpack .../63-linux-headers-virtual_6.19.0-3.3_amd64.deb ... 150s Unpacking linux-headers-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 150s Selecting previously unselected package linux-headers-6.19.0-3. 150s Preparing to unpack .../64-linux-headers-6.19.0-3_6.19.0-3.3_all.deb ... 150s Unpacking linux-headers-6.19.0-3 (6.19.0-3.3) ... 151s Selecting previously unselected package linux-headers-6.19.0-3-generic. 151s Preparing to unpack .../65-linux-headers-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 151s Unpacking linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 151s Preparing to unpack .../66-linux-headers-generic_6.19.0-3.3_amd64.deb ... 151s Unpacking linux-headers-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 151s Preparing to unpack .../67-linux-perf_6.19.0-3.3_amd64.deb ... 151s Unpacking linux-perf (6.19.0-3.3) over (6.18.0-9.9) ... 151s Preparing to unpack .../68-linux-tools-common_6.19.0-3.3_all.deb ... 151s Unpacking linux-tools-common (6.19.0-3.3) over (6.18.0-9.9) ... 151s Selecting previously unselected package linux-tools-6.19.0-3. 151s Preparing to unpack .../69-linux-tools-6.19.0-3_6.19.0-3.3_amd64.deb ... 151s Unpacking linux-tools-6.19.0-3 (6.19.0-3.3) ... 151s Selecting previously unselected package linux-tools-6.19.0-3-generic. 151s Preparing to unpack .../70-linux-tools-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 151s Unpacking linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 151s Preparing to unpack .../71-pollinate_4.33-4ubuntu5_all.deb ... 151s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 152s Preparing to unpack .../72-python3-referencing_0.36.2-1ubuntu2_all.deb ... 152s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 152s Preparing to unpack .../73-ubuntu-kernel-accessories_1.564_amd64.deb ... 152s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 152s Setting up 3cpio (0.14.0-1ubuntu1) ... 152s Setting up libxau6:amd64 (1:1.0.11-1build2) ... 152s Setting up libnpth0t64:amd64 (1.8-3build1) ... 152s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ... 152s Setting up ubuntu-kernel-accessories (1.564) ... 152s Setting up libgpm2:amd64 (1.20.7-12build1) ... 152s Setting up libgdbm6t64:amd64 (1.26-1build1) ... 152s Setting up linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 153s Setting up libgdbm-compat4t64:amd64 (1.26-1build1) ... 153s Setting up bpftool (7.7.0+6.19.0-3.3) ... 153s Setting up liblsof0 (4.99.4+dfsg-2build2) ... 153s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ... 153s Setting up libpython3.14-minimal:amd64 (3.14.2-1) ... 153s Setting up libsensors-config (1:3.6.2-2build1) ... 153s Setting up less (668-1build1) ... 153s Setting up linux-headers-6.19.0-3 (6.19.0-3.3) ... 153s Setting up libidn2-0:amd64 (2.3.8-4build1) ... 153s Setting up amd64-microcode (3.20251202.1ubuntu1) ... 153s amd64-microcode: microcode will be updated at next boot 153s Setting up man-db (2.13.1-1build1) ... 153s Updating database of manual pages ... 154s man-db.service is a disabled or a static unit not running, not starting it. 154s Setting up libglib2.0-0t64:amd64 (2.87.2-2) ... 154s No schema files found: doing nothing. 154s Setting up libglib2.0-data (2.87.2-2) ... 154s Setting up pollinate (4.33-4ubuntu5) ... 165s Setting up busybox-static (1:1.37.0-7ubuntu1) ... 165s Setting up libwrap0:amd64 (7.6.q-36build2) ... 165s Setting up linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 166s I: /boot/vmlinuz is now a symlink to vmlinuz-6.19.0-3-generic 166s I: /boot/initrd.img is now a symlink to initrd.img-6.19.0-3-generic 166s Setting up shared-mime-info (2.4-5build3) ... 167s Setting up patch (2.8-2build1) ... 167s Setting up gir1.2-glib-2.0:amd64 (2.87.2-2) ... 167s Setting up libsensors5:amd64 (1:3.6.2-2build1) ... 167s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ... 167s Setting up libdpkg-perl (1.23.5ubuntu1) ... 167s Setting up lsof (4.99.4+dfsg-2build2) ... 167s Setting up libpci3:amd64 (1:3.14.0-1build2) ... 167s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ... 167s Setting up dmsetup (2:1.02.205-2ubuntu3) ... 167s Setting up libnetfilter-conntrack3:amd64 (1.1.1-1) ... 167s Setting up pnp.ids (0.394-1build1) ... 167s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 167s Setting up libpcap0.8t64:amd64 (1.10.5-2ubuntu3) ... 167s Setting up mawk (1.3.4.20260129-1) ... 167s Setting up libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) ... 167s Setting up libusb-1.0-0:amd64 (2:1.0.29-2build1) ... 167s Setting up libapt-pkg7.0:amd64 (3.1.15) ... 167s Setting up linux-image-virtual (6.19.0-3.3) ... 167s Setting up libbsd0:amd64 (0.12.2-2build2) ... 167s Setting up libdrm-common (2.4.131-1) ... 167s Setting up libonig5:amd64 (6.9.10-1build1) ... 167s Setting up libgudev-1.0-0:amd64 (1:238-7build1) ... 167s Setting up libbpf1:amd64 (1:1.6.2-1build1) ... 167s Setting up ethtool (1:6.15-3build1) ... 167s Setting up python3-referencing (0.36.2-1ubuntu2) ... 167s Setting up libxkbcommon0:amd64 (1.13.1-1) ... 167s Setting up linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 167s Setting up tcpdump (4.99.5-2ubuntu3) ... 167s Setting up linux-image-generic (6.19.0-3.3) ... 167s Setting up apt (3.1.15) ... 167s Setting up libgirepository-2.0-0:amd64 (2.87.2-2) ... 167s Setting up libpython3.14-stdlib:amd64 (3.14.2-1) ... 167s Setting up linux-headers-generic (6.19.0-3.3) ... 167s Setting up gir1.2-girepository-3.0:amd64 (2.87.2-2) ... 167s Setting up dpkg-dev (1.23.5ubuntu1) ... 167s Setting up hwdata (0.394-1build1) ... 167s Setting up pciutils (1:3.14.0-1build2) ... 168s Setting up python3-markdown-it (3.0.0-3build1) ... 168s Setting up libdrm2:amd64 (2.4.131-1) ... 168s Setting up libpython3.14:amd64 (3.14.2-1) ... 168s Setting up linux-tools-common (6.19.0-3.3) ... 168s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ... 168s Setting up linux-headers-virtual (6.19.0-3.3) ... 168s Setting up linux-generic (6.19.0-3.3) ... 168s Setting up linux-tools-6.19.0-3 (6.19.0-3.3) ... 168s Setting up ubuntu-standard (1.564) ... 168s Setting up linux-virtual (6.19.0-3.3) ... 168s Setting up linux-perf (6.19.0-3.3) ... 168s Setting up linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 168s Processing triggers for debianutils (5.23.2build1) ... 168s Processing triggers for install-info (7.2-5) ... 168s Processing triggers for initramfs-tools (0.150ubuntu7) ... 168s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 172s Processing triggers for libc-bin (2.42-2ubuntu4) ... 172s Processing triggers for linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 172s /etc/kernel/postinst.d/initramfs-tools: 172s update-initramfs: Generating /boot/initrd.img-6.19.0-3-generic 176s /etc/kernel/postinst.d/zz-update-grub: 176s Sourcing file `/etc/default/grub' 176s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 176s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 176s Generating grub configuration file ... 176s Found linux image: /boot/vmlinuz-6.19.0-3-generic 176s Found initrd image: /boot/initrd.img-6.19.0-3-generic 176s Found linux image: /boot/vmlinuz-6.18.0-9-generic 176s Found initrd image: /boot/initrd.img-6.18.0-9-generic 177s Warning: os-prober will not be executed to detect other bootable partitions. 177s Systems on them will not be added to the GRUB boot configuration. 177s Check GRUB_DISABLE_OS_PROBER documentation entry. 177s Adding boot menu entry for UEFI Firmware Settings ... 177s done 177s autopkgtest [15:58:52]: upgrading testbed (apt dist-upgrade and autopurge) 177s Reading package lists... 178s Building dependency tree... 178s Reading state information... 178s Calculating upgrade... 178s The following package was automatically installed and is no longer required: 178s libpython3.13 178s Use 'sudo apt autoremove' to remove it. 178s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 178s Reading package lists... 178s Building dependency tree... 178s Reading state information... 178s Solving dependencies... 178s The following packages will be REMOVED: 178s libpython3.13* 178s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 178s After this operation, 7599 kB disk space will be freed. 178s (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 ... 125259 files and directories currently installed.) 178s Removing libpython3.13:amd64 (3.13.11-1) ... 178s Processing triggers for libc-bin (2.42-2ubuntu4) ... 179s autopkgtest [15:58:54]: rebooting testbed after setup commands that affected boot 217s autopkgtest [15:59:32]: testbed running kernel: Linux 6.19.0-3-generic #3-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 23 20:01:24 UTC 2026 225s autopkgtest [15:59:40]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 246s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (dsc) [4949 B] 246s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (tar) [667 kB] 246s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (tar) [5747 kB] 246s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (diff) [148 kB] 246s gpgv: Signature made Thu Jan 29 15:09:50 2026 UTC 246s gpgv: using RSA key 374D8CE4DB96E9CBD4C0972A606D084E4683C079 246s gpgv: Can't check signature: No public key 246s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.87.2-2.dsc: no acceptable signature found 246s autopkgtest [16:00:01]: testing package glib2.0 version 2.87.2-2 253s autopkgtest [16:00:08]: build not needed 262s autopkgtest [16:00:17]: test build: preparing testbed 262s Reading package lists... 262s Building dependency tree... 262s Reading state information... 262s Solving dependencies... 262s The following NEW packages will be installed: 262s build-essential cpp cpp-15 cpp-15-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 262s g++-15 g++-15-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-15 262s gcc-15-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libblkid-dev 262s libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-15-dev 262s libgio-2.0-dev libgomp1 libhwasan0 libisl23 libitm1 liblsan0 libmount-dev 262s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 262s libquadmath0 libselinux-dev libsepol-dev libstdc++-15-dev 262s libsysprof-capture-4-dev libtsan2 libubsan1 linux-libc-dev pkgconf 262s pkgconf-bin rpcsvc-proto uuid-dev zlib1g-dev 262s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded. 262s Need to get 79.4 MB of archives. 262s After this operation, 281 MB of additional disk space will be used. 262s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libc-dev-bin amd64 2.42-2ubuntu4 [23.3 kB] 262s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-libc-dev amd64 6.19.0-3.3 [1846 kB] 265s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libcrypt-dev amd64 1:4.5.1-1 [122 kB] 265s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 rpcsvc-proto amd64 1.4.3-1build1 [68.3 kB] 265s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 libc6-dev amd64 2.42-2ubuntu4 [2207 kB] 268s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libisl23 amd64 0.27-1build1 [691 kB] 269s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libmpc3 amd64 1.3.1-2 [54.8 kB] 269s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15-x86-64-linux-gnu amd64 15.2.0-12ubuntu1 [12.9 MB] 288s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15 amd64 15.2.0-12ubuntu1 [1034 B] 288s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [5746 B] 288s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp amd64 4:15.2.0-4ubuntu1 [22.4 kB] 288s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libcc1-0 amd64 15.2.0-12ubuntu1 [47.4 kB] 288s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 libgomp1 amd64 15.2.0-12ubuntu1 [151 kB] 288s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libitm1 amd64 15.2.0-12ubuntu1 [29.5 kB] 288s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 libasan8 amd64 15.2.0-12ubuntu1 [3070 kB] 292s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsan0 amd64 15.2.0-12ubuntu1 [1360 kB] 294s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 libtsan2 amd64 15.2.0-12ubuntu1 [2757 kB] 298s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 libubsan1 amd64 15.2.0-12ubuntu1 [1210 kB] 300s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libhwasan0 amd64 15.2.0-12ubuntu1 [1685 kB] 302s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libquadmath0 amd64 15.2.0-12ubuntu1 [153 kB] 302s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libgcc-15-dev amd64 15.2.0-12ubuntu1 [2866 kB] 305s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15-x86-64-linux-gnu amd64 15.2.0-12ubuntu1 [25.4 MB] 332s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15 amd64 15.2.0-12ubuntu1 [530 kB] 333s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [1208 B] 333s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc amd64 4:15.2.0-4ubuntu1 [5024 B] 333s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 libstdc++-15-dev amd64 15.2.0-12ubuntu1 [2553 kB] 335s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15-x86-64-linux-gnu amd64 15.2.0-12ubuntu1 [14.4 MB] 352s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15 amd64 15.2.0-12ubuntu1 [25.3 kB] 352s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [966 B] 352s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 g++ amd64 4:15.2.0-4ubuntu1 [1100 B] 352s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 build-essential amd64 12.12ubuntu2 [5256 B] 352s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 libffi-dev amd64 3.5.2-3 [66.5 kB] 352s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 uuid-dev amd64 2.41.2-4ubuntu2 [56.8 kB] 352s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libblkid-dev amd64 2.41.2-4ubuntu2 [234 kB] 352s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libsepol-dev amd64 3.9-2 [409 kB] 352s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-16-0 amd64 10.46-1 [243 kB] 352s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-32-0 amd64 10.46-1 [230 kB] 352s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-posix3 amd64 10.46-1 [7354 B] 352s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-dev amd64 10.46-1 [832 kB] 353s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libselinux-dev amd64 3.9-4 [176 kB] 353s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 libmount-dev amd64 2.41.2-4ubuntu2 [37.6 kB] 353s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 libsysprof-capture-4-dev amd64 49.0-5 [53.6 kB] 353s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 libpkgconf3 amd64 1.8.1-4build1 [32.8 kB] 353s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 pkgconf-bin amd64 1.8.1-4build1 [21.7 kB] 353s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 pkgconf amd64 1.8.1-4build1 [16.8 kB] 353s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu2 [898 kB] 354s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 libgio-2.0-dev amd64 2.87.2-2 [1822 kB] 356s Fetched 79.4 MB in 1min 34s (848 kB/s) 356s Selecting previously unselected package libc-dev-bin. 356s (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 ... 125255 files and directories currently installed.) 356s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu4_amd64.deb ... 356s Unpacking libc-dev-bin (2.42-2ubuntu4) ... 356s Selecting previously unselected package linux-libc-dev:amd64. 356s Preparing to unpack .../01-linux-libc-dev_6.19.0-3.3_amd64.deb ... 356s Unpacking linux-libc-dev:amd64 (6.19.0-3.3) ... 356s Selecting previously unselected package libcrypt-dev:amd64. 356s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_amd64.deb ... 356s Unpacking libcrypt-dev:amd64 (1:4.5.1-1) ... 356s Selecting previously unselected package rpcsvc-proto. 356s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_amd64.deb ... 356s Unpacking rpcsvc-proto (1.4.3-1build1) ... 356s Selecting previously unselected package libc6-dev:amd64. 356s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu4_amd64.deb ... 356s Unpacking libc6-dev:amd64 (2.42-2ubuntu4) ... 356s Selecting previously unselected package libisl23:amd64. 356s Preparing to unpack .../05-libisl23_0.27-1build1_amd64.deb ... 356s Unpacking libisl23:amd64 (0.27-1build1) ... 356s Selecting previously unselected package libmpc3:amd64. 356s Preparing to unpack .../06-libmpc3_1.3.1-2_amd64.deb ... 356s Unpacking libmpc3:amd64 (1.3.1-2) ... 356s Selecting previously unselected package cpp-15-x86-64-linux-gnu. 356s Preparing to unpack .../07-cpp-15-x86-64-linux-gnu_15.2.0-12ubuntu1_amd64.deb ... 356s Unpacking cpp-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ... 356s Selecting previously unselected package cpp-15. 356s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_amd64.deb ... 356s Unpacking cpp-15 (15.2.0-12ubuntu1) ... 356s Selecting previously unselected package cpp-x86-64-linux-gnu. 356s Preparing to unpack .../09-cpp-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 356s Unpacking cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 356s Selecting previously unselected package cpp. 356s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_amd64.deb ... 356s Unpacking cpp (4:15.2.0-4ubuntu1) ... 356s Selecting previously unselected package libcc1-0:amd64. 356s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_amd64.deb ... 356s Unpacking libcc1-0:amd64 (15.2.0-12ubuntu1) ... 356s Selecting previously unselected package libgomp1:amd64. 356s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_amd64.deb ... 356s Unpacking libgomp1:amd64 (15.2.0-12ubuntu1) ... 356s Selecting previously unselected package libitm1:amd64. 356s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_amd64.deb ... 356s Unpacking libitm1:amd64 (15.2.0-12ubuntu1) ... 356s Selecting previously unselected package libasan8:amd64. 356s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_amd64.deb ... 356s Unpacking libasan8:amd64 (15.2.0-12ubuntu1) ... 357s Selecting previously unselected package liblsan0:amd64. 357s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_amd64.deb ... 357s Unpacking liblsan0:amd64 (15.2.0-12ubuntu1) ... 357s Selecting previously unselected package libtsan2:amd64. 357s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_amd64.deb ... 357s Unpacking libtsan2:amd64 (15.2.0-12ubuntu1) ... 357s Selecting previously unselected package libubsan1:amd64. 357s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_amd64.deb ... 357s Unpacking libubsan1:amd64 (15.2.0-12ubuntu1) ... 357s Selecting previously unselected package libhwasan0:amd64. 357s Preparing to unpack .../18-libhwasan0_15.2.0-12ubuntu1_amd64.deb ... 357s Unpacking libhwasan0:amd64 (15.2.0-12ubuntu1) ... 357s Selecting previously unselected package libquadmath0:amd64. 357s Preparing to unpack .../19-libquadmath0_15.2.0-12ubuntu1_amd64.deb ... 357s Unpacking libquadmath0:amd64 (15.2.0-12ubuntu1) ... 357s Selecting previously unselected package libgcc-15-dev:amd64. 357s Preparing to unpack .../20-libgcc-15-dev_15.2.0-12ubuntu1_amd64.deb ... 357s Unpacking libgcc-15-dev:amd64 (15.2.0-12ubuntu1) ... 357s Selecting previously unselected package gcc-15-x86-64-linux-gnu. 357s Preparing to unpack .../21-gcc-15-x86-64-linux-gnu_15.2.0-12ubuntu1_amd64.deb ... 357s Unpacking gcc-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ... 357s Selecting previously unselected package gcc-15. 357s Preparing to unpack .../22-gcc-15_15.2.0-12ubuntu1_amd64.deb ... 357s Unpacking gcc-15 (15.2.0-12ubuntu1) ... 357s Selecting previously unselected package gcc-x86-64-linux-gnu. 357s Preparing to unpack .../23-gcc-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 357s Unpacking gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 357s Selecting previously unselected package gcc. 357s Preparing to unpack .../24-gcc_4%3a15.2.0-4ubuntu1_amd64.deb ... 357s Unpacking gcc (4:15.2.0-4ubuntu1) ... 357s Selecting previously unselected package libstdc++-15-dev:amd64. 357s Preparing to unpack .../25-libstdc++-15-dev_15.2.0-12ubuntu1_amd64.deb ... 357s Unpacking libstdc++-15-dev:amd64 (15.2.0-12ubuntu1) ... 357s Selecting previously unselected package g++-15-x86-64-linux-gnu. 357s Preparing to unpack .../26-g++-15-x86-64-linux-gnu_15.2.0-12ubuntu1_amd64.deb ... 357s Unpacking g++-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ... 357s Selecting previously unselected package g++-15. 357s Preparing to unpack .../27-g++-15_15.2.0-12ubuntu1_amd64.deb ... 357s Unpacking g++-15 (15.2.0-12ubuntu1) ... 357s Selecting previously unselected package g++-x86-64-linux-gnu. 357s Preparing to unpack .../28-g++-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 357s Unpacking g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 357s Selecting previously unselected package g++. 357s Preparing to unpack .../29-g++_4%3a15.2.0-4ubuntu1_amd64.deb ... 357s Unpacking g++ (4:15.2.0-4ubuntu1) ... 357s Selecting previously unselected package build-essential. 357s Preparing to unpack .../30-build-essential_12.12ubuntu2_amd64.deb ... 357s Unpacking build-essential (12.12ubuntu2) ... 357s Selecting previously unselected package libffi-dev:amd64. 357s Preparing to unpack .../31-libffi-dev_3.5.2-3_amd64.deb ... 357s Unpacking libffi-dev:amd64 (3.5.2-3) ... 357s Selecting previously unselected package uuid-dev:amd64. 357s Preparing to unpack .../32-uuid-dev_2.41.2-4ubuntu2_amd64.deb ... 357s Unpacking uuid-dev:amd64 (2.41.2-4ubuntu2) ... 357s Selecting previously unselected package libblkid-dev:amd64. 357s Preparing to unpack .../33-libblkid-dev_2.41.2-4ubuntu2_amd64.deb ... 357s Unpacking libblkid-dev:amd64 (2.41.2-4ubuntu2) ... 357s Selecting previously unselected package libsepol-dev:amd64. 357s Preparing to unpack .../34-libsepol-dev_3.9-2_amd64.deb ... 357s Unpacking libsepol-dev:amd64 (3.9-2) ... 357s Selecting previously unselected package libpcre2-16-0:amd64. 357s Preparing to unpack .../35-libpcre2-16-0_10.46-1_amd64.deb ... 357s Unpacking libpcre2-16-0:amd64 (10.46-1) ... 357s Selecting previously unselected package libpcre2-32-0:amd64. 357s Preparing to unpack .../36-libpcre2-32-0_10.46-1_amd64.deb ... 357s Unpacking libpcre2-32-0:amd64 (10.46-1) ... 357s Selecting previously unselected package libpcre2-posix3:amd64. 357s Preparing to unpack .../37-libpcre2-posix3_10.46-1_amd64.deb ... 357s Unpacking libpcre2-posix3:amd64 (10.46-1) ... 357s Selecting previously unselected package libpcre2-dev:amd64. 357s Preparing to unpack .../38-libpcre2-dev_10.46-1_amd64.deb ... 357s Unpacking libpcre2-dev:amd64 (10.46-1) ... 357s Selecting previously unselected package libselinux-dev:amd64. 357s Preparing to unpack .../39-libselinux-dev_3.9-4_amd64.deb ... 357s Unpacking libselinux-dev:amd64 (3.9-4) ... 357s Selecting previously unselected package libmount-dev:amd64. 357s Preparing to unpack .../40-libmount-dev_2.41.2-4ubuntu2_amd64.deb ... 357s Unpacking libmount-dev:amd64 (2.41.2-4ubuntu2) ... 357s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 357s Preparing to unpack .../41-libsysprof-capture-4-dev_49.0-5_amd64.deb ... 357s Unpacking libsysprof-capture-4-dev:amd64 (49.0-5) ... 357s Selecting previously unselected package libpkgconf3:amd64. 357s Preparing to unpack .../42-libpkgconf3_1.8.1-4build1_amd64.deb ... 357s Unpacking libpkgconf3:amd64 (1.8.1-4build1) ... 357s Selecting previously unselected package pkgconf-bin. 357s Preparing to unpack .../43-pkgconf-bin_1.8.1-4build1_amd64.deb ... 357s Unpacking pkgconf-bin (1.8.1-4build1) ... 357s Selecting previously unselected package pkgconf:amd64. 357s Preparing to unpack .../44-pkgconf_1.8.1-4build1_amd64.deb ... 357s Unpacking pkgconf:amd64 (1.8.1-4build1) ... 357s Selecting previously unselected package zlib1g-dev:amd64. 357s Preparing to unpack .../45-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_amd64.deb ... 357s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 357s Selecting previously unselected package libgio-2.0-dev:amd64. 357s Preparing to unpack .../46-libgio-2.0-dev_2.87.2-2_amd64.deb ... 357s Unpacking libgio-2.0-dev:amd64 (2.87.2-2) ... 357s Setting up linux-libc-dev:amd64 (6.19.0-3.3) ... 357s Setting up libgomp1:amd64 (15.2.0-12ubuntu1) ... 357s Setting up libffi-dev:amd64 (3.5.2-3) ... 357s Setting up libpcre2-16-0:amd64 (10.46-1) ... 357s Setting up libsysprof-capture-4-dev:amd64 (49.0-5) ... 357s Setting up libpcre2-32-0:amd64 (10.46-1) ... 357s Setting up libpkgconf3:amd64 (1.8.1-4build1) ... 357s Setting up rpcsvc-proto (1.4.3-1build1) ... 357s Setting up libquadmath0:amd64 (15.2.0-12ubuntu1) ... 357s Setting up libmpc3:amd64 (1.3.1-2) ... 357s Setting up libsepol-dev:amd64 (3.9-2) ... 357s Setting up pkgconf-bin (1.8.1-4build1) ... 357s Setting up libubsan1:amd64 (15.2.0-12ubuntu1) ... 357s Setting up libpcre2-posix3:amd64 (10.46-1) ... 357s Setting up libhwasan0:amd64 (15.2.0-12ubuntu1) ... 357s Setting up libcrypt-dev:amd64 (1:4.5.1-1) ... 357s Setting up libasan8:amd64 (15.2.0-12ubuntu1) ... 357s Setting up libtsan2:amd64 (15.2.0-12ubuntu1) ... 357s Setting up libisl23:amd64 (0.27-1build1) ... 357s Setting up libc-dev-bin (2.42-2ubuntu4) ... 357s Setting up libcc1-0:amd64 (15.2.0-12ubuntu1) ... 357s Setting up liblsan0:amd64 (15.2.0-12ubuntu1) ... 357s Setting up libitm1:amd64 (15.2.0-12ubuntu1) ... 357s Setting up libgcc-15-dev:amd64 (15.2.0-12ubuntu1) ... 357s Setting up cpp-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ... 357s Setting up pkgconf:amd64 (1.8.1-4build1) ... 357s Setting up gcc-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ... 357s Setting up cpp-15 (15.2.0-12ubuntu1) ... 357s Setting up libc6-dev:amd64 (2.42-2ubuntu4) ... 357s Setting up cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 357s Setting up libpcre2-dev:amd64 (10.46-1) ... 357s Setting up gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 357s Setting up gcc-15 (15.2.0-12ubuntu1) ... 357s Setting up libstdc++-15-dev:amd64 (15.2.0-12ubuntu1) ... 357s Setting up uuid-dev:amd64 (2.41.2-4ubuntu2) ... 357s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 357s Setting up cpp (4:15.2.0-4ubuntu1) ... 357s Setting up libselinux-dev:amd64 (3.9-4) ... 357s Setting up libblkid-dev:amd64 (2.41.2-4ubuntu2) ... 357s Setting up g++-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ... 357s Setting up gcc (4:15.2.0-4ubuntu1) ... 357s Setting up g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 357s Setting up g++-15 (15.2.0-12ubuntu1) ... 357s Setting up libmount-dev:amd64 (2.41.2-4ubuntu2) ... 357s Setting up libgio-2.0-dev:amd64 (2.87.2-2) ... 357s Setting up g++ (4:15.2.0-4ubuntu1) ... 357s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 357s Setting up build-essential (12.12ubuntu2) ... 357s Processing triggers for libc-bin (2.42-2ubuntu4) ... 358s Processing triggers for man-db (2.13.1-1build1) ... 358s Processing triggers for libglib2.0-0t64:amd64 (2.87.2-2) ... 358s No schema files found: doing nothing. 358s Processing triggers for install-info (7.2-5) ... 359s autopkgtest [16:01:54]: test build: [----------------------- 359s + mode=dynamic 359s + getopt -o --long static -n debian/tests/build -- 359s + getopt_temp= -- 359s + eval set -- -- 359s + set -- -- 359s + true 359s + shift 359s + break 359s + mktemp -d 359s + WORKDIR=/tmp/tmp.21MNrBUAfw 359s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 359s + cd /tmp/tmp.21MNrBUAfw 359s + [ -n ] 359s + CROSS_COMPILE= 359s + cat 359s + cat 359s + cat 359s + cat 359s + cat 359s + cat 359s + cflags= 359s + pcflags= 359s + packages=glib-2.0 359s + pkg-config --cflags --libs glib-2.0 359s + 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 359s build (glib, dynamic): OK 359s + echo build (glib, dynamic): OK 359s + [ -x glib-dynamic ] 359s + foo=bar ./glib-dynamic 359s run (glib, dynamic): OK 359s + echo run (glib, dynamic): OK 359s + cflags= 359s + pcflags= 359s + packages=gobject-2.0 359s + pkg-config --cflags --libs gobject-2.0 359s + 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 359s build (gobject, dynamic): OK 359s run (gobject, dynamic): OK 359s + echo build (gobject, dynamic): OK 359s + [ -x gobject-dynamic ] 359s + foo=bar ./gobject-dynamic 359s + echo run (gobject, dynamic): OK 359s + cflags= 359s + pcflags= 359s + packages=gio-2.0 359s + pkg-config --cflags --libs gio-2.0 359s + 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/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 359s build (gio, dynamic): OK 359s + echo build (gio, dynamic): OK 359s + [ -x gio-dynamic ] 359s + foo=bar ./gio-dynamic 359s + echo run (gio, dynamic): OK 359s + cflags= 359s + pcflags= 359s + packages=gio-unix-2.0 359s + pkg-config --cflags --libs gio-unix-2.0 359s run (gio, dynamic): OK 359s + 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/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 359s + echo build (gio-unix, dynamic): OK 359s + [ -x gio-unix-dynamic ] 359s + foo=bar ./gio-unix-dynamic 359s build (gio-unix, dynamic): OK 359s run (gio-unix, dynamic): OK 359s + echo run (gio-unix, dynamic): OK 359s + cflags= 359s + pcflags= 359s + packages=gmodule-2.0 359s + pkg-config --cflags --libs gmodule-2.0 359s + 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 -lglib-2.0 359s + echo build (gmodule, dynamic): OK 359s + [ -x gmodule-dynamic ] 359s + foo=bar ./gmodule-dynamic 359s build (gmodule, dynamic): OK 359s run (gmodule, dynamic): OK 359s + echo run (gmodule, dynamic): OK 359s + cflags= 359s + pcflags= 359s + packages=gthread-2.0 359s + pkg-config --cflags --libs gthread-2.0 359s + 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 359s build (gthread, dynamic): OK 359s + echo build (gthread, dynamic): OK 359s + [ -x gthread-dynamic ] 359s + foo=bar ./gthread-dynamic 359s run (gthread, dynamic): OK 359s + echo run (gthread, dynamic): OK 359s + rm -rf /tmp/tmp.21MNrBUAfw 360s autopkgtest [16:01:55]: test build: -----------------------] 360s build PASS (superficial) 360s autopkgtest [16:01:55]: test build: - - - - - - - - - - results - - - - - - - - - - 360s autopkgtest [16:01:55]: test build-static: preparing testbed 361s Reading package lists... 361s Building dependency tree... 361s Reading state information... 361s Solving dependencies... 361s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 361s autopkgtest [16:01:56]: test build-static: [----------------------- 362s + mode=dynamic 362s + getopt -o --long static -n debian/tests/build -- --static 362s + getopt_temp= --static -- 362s + eval set -- --static -- 362s + set -- --static -- 362s + true 362s + mode=static 362s + shift 362s + continue 362s + true 362s + shift 362s + break 362s + mktemp -d 362s + WORKDIR=/tmp/tmp.kffgIOSsaN 362s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 362s + cd /tmp/tmp.kffgIOSsaN 362s + [ -n ] 362s + CROSS_COMPILE= 362s + cat 362s + cat 362s + cat 362s + cat 362s + cat 362s + cat 362s + cflags= 362s + pcflags= 362s + packages=glib-2.0 362s + cflags=-static 362s + pcflags=--static 362s + pkg-config --static --cflags --libs glib-2.0 362s + 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 -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 362s /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': 362s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 362s /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 362s /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 362s build (glib, static): OK 362s + echo build (glib, static): OK 362s + [ -x glib-static ] 362s + foo=bar ./glib-static 362s run (glib, static): OK 362s + echo run (glib, static): OK 362s + cflags= 362s + pcflags= 362s + packages=gobject-2.0 362s + cflags=-static 362s + pcflags=--static 362s + pkg-config --static --cflags --libs gobject-2.0 362s + 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 -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 362s /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': 362s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 362s /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 362s /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 362s build (gobject, static): OK 362s + echo build (gobject, static): OK 362s + [ -x gobject-static ] 362s + foo=bar ./gobject-static 362s + echo run (gobject, static): OK 362s + cflags= 362s + pcflags= 362s + packages=gio-2.0 362s + cflags=-static 362s + pcflags=--static 362s + continue 362s + cflags= 362s + pcflags= 362s + packages=gio-unix-2.0 362s + cflags=-static 362s + pcflags=--static 362s + continue 362s + cflags= 362s + pcflags= 362s + packages=gmodule-2.0 362s + cflags=-static 362s + pcflags=--static 362s run (gobject, static): OK 362s + pkg-config --static --cflags --libs gmodule-2.0 362s + 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 -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 362s /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': 362s (.text+0x5e7): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 362s /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': 362s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 362s /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 362s /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 362s build (gmodule, static): OK 362s + echo build (gmodule, static): OK 362s + [ -x gmodule-static ] 362s + foo=bar ./gmodule-static 362s + echo run (gmodule, static): OK 362s + cflags= 362s + pcflags= 362s + packages=gthread-2.0 362s + cflags=-static 362s + pcflags=--static 362s run (gmodule, static): OK 362s + pkg-config --static --cflags --libs gthread-2.0 362s + 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 -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 362s /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': 362s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 362s /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 362s /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 362s build (gthread, static): OK 362s + echo build (gthread, static): OK 362s + [ -x gthread-static ] 362s + foo=bar ./gthread-static 362s + echo run (gthread, static): OK 362s + rm -rf /tmp/tmp.kffgIOSsaN 362s run (gthread, static): OK 362s autopkgtest [16:01:57]: test build-static: -----------------------] 363s build-static PASS (superficial) 363s autopkgtest [16:01:58]: test build-static: - - - - - - - - - - results - - - - - - - - - - 363s autopkgtest [16:01:58]: test girepository-tools: preparing testbed 382s Creating nova instance adt-resolute-amd64-glib2.0-20260208-155554-juju-7f2275-prod-proposed-migration-environment-15-8a20b40f-8d6f-4a9f-9024-8d72ab1e3145 from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)... 512s autopkgtest [16:04:27]: testbed dpkg architecture: amd64 512s autopkgtest [16:04:27]: testbed apt version: 3.1.14 512s autopkgtest [16:04:27]: @@@@@@@@@@@@@@@@@@@@ test bed setup 513s autopkgtest [16:04:28]: testbed release detected to be: resolute 513s autopkgtest [16:04:28]: updating testbed package index (apt update) 514s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 514s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 514s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 514s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 514s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 514s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 514s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 516s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [263 kB] 516s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [201 kB] 516s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6524 B] 516s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [120 B] 516s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [561 kB] 517s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1458 kB] 519s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [31.2 kB] 519s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [25.2 kB] 519s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4320 B] 519s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [996 B] 519s Fetched 4378 kB in 5s (818 kB/s) 520s Reading package lists... 520s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 521s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 521s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 521s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 521s Reading package lists... 521s Reading package lists... 521s Building dependency tree... 521s Reading state information... 521s Calculating upgrade... 522s The following package was automatically installed and is no longer required: 522s libpython3.13 522s Use 'sudo apt autoremove' to remove it. 522s The following NEW packages will be installed: 522s libpython3.14 libpython3.14-minimal libpython3.14-stdlib 522s linux-headers-6.19.0-3 linux-headers-6.19.0-3-generic 522s linux-image-6.19.0-3-generic linux-modules-6.19.0-3-generic 522s linux-tools-6.19.0-3 linux-tools-6.19.0-3-generic 522s The following packages will be upgraded: 522s 3cpio amd64-microcode apt bpftool busybox-initramfs busybox-static dash 522s debianutils dmsetup dpkg dpkg-dev ethtool findutils gir1.2-girepository-3.0 522s gir1.2-glib-2.0 hwdata less libapt-pkg7.0 libattr1 libbpf1 libbsd0 522s libdevmapper1.02.1 libdpkg-perl libdrm-amdgpu1 libdrm-common libdrm2 522s libevent-core-2.1-7t64 libgdbm-compat4t64 libgdbm6t64 libgirepository-2.0-0 522s libglib2.0-0t64 libglib2.0-data libgpm2 libgudev-1.0-0 libidn2-0 522s libkeyutils1 liblsof0 libmaxminddb0 libnetfilter-conntrack3 libnpth0t64 522s libonig5 libpcap0.8t64 libpci3 libsensors-config libsensors5 libusb-1.0-0 522s libwrap0 libxau6 libxkbcommon0 linux-generic linux-headers-generic 522s linux-headers-virtual linux-image-generic linux-image-virtual linux-perf 522s linux-tools-common linux-virtual lsof man-db mawk patch pciutils pnp.ids 522s pollinate python3-linkify-it python3-markdown-it python3-referencing sed 522s shared-mime-info tar tcpdump ubuntu-kernel-accessories ubuntu-standard 522s 73 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 522s Need to get 236 MB of archives. 522s After this operation, 338 MB of additional disk space will be used. 522s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 debianutils amd64 5.23.2build1 [93.3 kB] 522s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 dash amd64 0.5.12-12ubuntu3 [96.0 kB] 522s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB] 523s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB] 523s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 dpkg amd64 1.23.5ubuntu1 [1288 kB] 525s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB] 525s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB] 525s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB] 525s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libbsd0 amd64 0.12.2-2build2 [42.3 kB] 525s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB] 525s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB] 526s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB] 526s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB] 526s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 ethtool amd64 1:6.15-3build1 [318 kB] 526s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-girepository-3.0 amd64 2.87.2-2 [25.2 kB] 526s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 libgirepository-2.0-0 amd64 2.87.2-2 [76.1 kB] 526s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0 amd64 2.87.2-2 [182 kB] 526s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-0t64 amd64 2.87.2-2 [1613 kB] 528s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB] 528s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libbpf1 amd64 1:1.6.2-1build1 [184 kB] 528s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-data all 2.87.2-2 [58.2 kB] 528s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libidn2-0 amd64 2.3.8-4build1 [67.6 kB] 528s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB] 528s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 528s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB] 528s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 shared-mime-info amd64 2.4-5build3 [476 kB] 528s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB] 530s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B] 530s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB] 530s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm6t64 amd64 1.26-1build1 [36.5 kB] 530s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB] 530s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 lsof amd64 4.99.4+dfsg-2build2 [239 kB] 530s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsof0 amd64 4.99.4+dfsg-2build2 [56.5 kB] 530s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB] 530s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libnetfilter-conntrack3 amd64 1.1.1-1 [47.5 kB] 530s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcap0.8t64 amd64 1.10.5-2ubuntu3 [154 kB] 530s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 pciutils amd64 1:3.14.0-1build2 [95.5 kB] 530s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libpci3 amd64 1:3.14.0-1build2 [38.1 kB] 530s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B] 530s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB] 530s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 libusb-1.0-0 amd64 2:1.0.29-2build1 [56.9 kB] 530s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 libxau6 amd64 1:1.0.11-1build2 [7502 B] 530s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 libxkbcommon0 amd64 1.13.1-1 [159 kB] 530s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 man-db amd64 2.13.1-1build1 [1392 kB] 531s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 tcpdump amd64 4.99.5-2ubuntu3 [477 kB] 531s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-standard amd64 1.564 [13.3 kB] 531s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 3cpio amd64 0.14.0-1ubuntu1 [285 kB] 531s Get:48 http://ftpmaster.internal/ubuntu resolute/main amd64 bpftool amd64 7.7.0+6.19.0-3.3 [1229 kB] 533s Get:49 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB] 533s Get:50 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 dpkg-dev all 1.23.5ubuntu1 [1062 kB] 534s Get:51 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libdpkg-perl all 1.23.5ubuntu1 [289 kB] 534s Get:52 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB] 534s Get:53 http://ftpmaster.internal/ubuntu resolute/main amd64 hwdata all 0.394-1build1 [1566 B] 534s Get:54 http://ftpmaster.internal/ubuntu resolute/main amd64 pnp.ids all 0.394-1build1 [29.6 kB] 534s Get:55 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB] 534s Get:56 http://ftpmaster.internal/ubuntu resolute/main amd64 libevent-core-2.1-7t64 amd64 2.1.12-stable-10build2 [93.1 kB] 534s Get:57 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm-compat4t64 amd64 1.26-1build1 [6796 B] 534s Get:58 http://ftpmaster.internal/ubuntu resolute/main amd64 libgudev-1.0-0 amd64 1:238-7build1 [15.9 kB] 534s Get:59 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B] 534s Get:60 http://ftpmaster.internal/ubuntu resolute/main amd64 libonig5 amd64 6.9.10-1build1 [174 kB] 534s Get:61 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.2-1 [920 kB] 535s Get:62 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.2-1 [2398 kB] 538s Get:63 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14 amd64 3.14.2-1 [2568 kB] 541s Get:64 http://ftpmaster.internal/ubuntu resolute/main amd64 libwrap0 amd64 7.6.q-36build2 [48.5 kB] 541s Get:65 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-modules-6.19.0-3-generic amd64 6.19.0-3.3 [171 MB] 725s Get:66 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-6.19.0-3-generic amd64 6.19.0-3.3+1 [16.8 MB] 741s Get:67 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB] 741s Get:68 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-generic amd64 6.19.0-3.3 [1698 B] 741s Get:69 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-generic amd64 6.19.0-3.3 [12.2 kB] 741s Get:70 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-virtual amd64 6.19.0-3.3 [1700 B] 741s Get:71 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-virtual amd64 6.19.0-3.3 [12.1 kB] 741s Get:72 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-virtual amd64 6.19.0-3.3 [1646 B] 741s Get:73 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3 all 6.19.0-3.3 [14.9 MB] 749s Get:74 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3-generic amd64 6.19.0-3.3 [4330 kB] 751s Get:75 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-generic amd64 6.19.0-3.3 [12.0 kB] 752s Get:76 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-perf amd64 6.19.0-3.3 [4480 kB] 754s Get:77 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-common all 6.19.0-3.3 [345 kB] 754s Get:78 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3 amd64 6.19.0-3.3 [1455 kB] 754s Get:79 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3-generic amd64 6.19.0-3.3 [1612 B] 754s Get:80 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB] 754s Get:81 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 754s Get:82 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-kernel-accessories amd64 1.564 [13.1 kB] 755s dpkg-preconfigure: unable to re-open stdin: No such file or directory 755s Fetched 236 MB in 3min 53s (1011 kB/s) 755s (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 ... 83957 files and directories currently installed.) 755s Preparing to unpack .../debianutils_5.23.2build1_amd64.deb ... 755s Unpacking debianutils (5.23.2build1) over (5.23.2) ... 755s Setting up debianutils (5.23.2build1) ... 755s (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 ... 83957 files and directories currently installed.) 755s Preparing to unpack .../dash_0.5.12-12ubuntu3_amd64.deb ... 755s Unpacking dash (0.5.12-12ubuntu3) over (0.5.12-12ubuntu2) ... 755s Setting up dash (0.5.12-12ubuntu3) ... 755s (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 ... 83957 files and directories currently installed.) 755s Preparing to unpack .../libapt-pkg7.0_3.1.15_amd64.deb ... 755s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ... 755s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ... 755s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ... 755s Setting up tar (1.35+dfsg-3.1build2) ... 755s (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 ... 83957 files and directories currently installed.) 755s Preparing to unpack .../dpkg_1.23.5ubuntu1_amd64.deb ... 755s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 755s Setting up dpkg (1.23.5ubuntu1) ... 756s (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 ... 83958 files and directories currently installed.) 756s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ... 756s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ... 756s Setting up findutils (4.10.0-3build2) ... 756s (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 ... 83958 files and directories currently installed.) 756s Preparing to unpack .../sed_4.9-2build3_amd64.deb ... 756s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 756s Setting up sed (4.9-2build3) ... 756s (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 ... 83958 files and directories currently installed.) 756s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ... 756s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ... 756s Setting up libattr1:amd64 (1:2.5.2-3build2) ... 756s (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 ... 83958 files and directories currently installed.) 756s Preparing to unpack .../00-libbsd0_0.12.2-2build2_amd64.deb ... 756s Unpacking libbsd0:amd64 (0.12.2-2build2) over (0.12.2-2build1) ... 756s Preparing to unpack .../01-mawk_1.3.4.20260129-1_amd64.deb ... 756s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ... 756s Preparing to unpack .../02-apt_3.1.15_amd64.deb ... 756s Unpacking apt (3.1.15) over (3.1.14) ... 756s Preparing to unpack .../03-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ... 756s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 756s Preparing to unpack .../04-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ... 756s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 756s Preparing to unpack .../05-ethtool_1%3a6.15-3build1_amd64.deb ... 756s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 756s Preparing to unpack .../06-gir1.2-girepository-3.0_2.87.2-2_amd64.deb ... 756s Unpacking gir1.2-girepository-3.0:amd64 (2.87.2-2) over (2.86.3-4) ... 756s Preparing to unpack .../07-libgirepository-2.0-0_2.87.2-2_amd64.deb ... 756s Unpacking libgirepository-2.0-0:amd64 (2.87.2-2) over (2.86.3-4) ... 756s Preparing to unpack .../08-gir1.2-glib-2.0_2.87.2-2_amd64.deb ... 756s Unpacking gir1.2-glib-2.0:amd64 (2.87.2-2) over (2.86.3-4) ... 756s Preparing to unpack .../09-libglib2.0-0t64_2.87.2-2_amd64.deb ... 756s Unpacking libglib2.0-0t64:amd64 (2.87.2-2) over (2.86.3-4) ... 756s Preparing to unpack .../10-less_668-1build1_amd64.deb ... 756s Unpacking less (668-1build1) over (668-1) ... 756s Preparing to unpack .../11-libbpf1_1%3a1.6.2-1build1_amd64.deb ... 756s Unpacking libbpf1:amd64 (1:1.6.2-1build1) over (1:1.6.2-1) ... 756s Preparing to unpack .../12-libglib2.0-data_2.87.2-2_all.deb ... 756s Unpacking libglib2.0-data (2.87.2-2) over (2.86.3-4) ... 756s Preparing to unpack .../13-libidn2-0_2.3.8-4build1_amd64.deb ... 756s Unpacking libidn2-0:amd64 (2.3.8-4build1) over (2.3.8-4) ... 756s Preparing to unpack .../14-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ... 756s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ... 756s Preparing to unpack .../15-python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 756s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 756s Preparing to unpack .../16-python3-markdown-it_3.0.0-3build1_all.deb ... 756s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ... 756s Preparing to unpack .../17-shared-mime-info_2.4-5build3_amd64.deb ... 756s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 757s Preparing to unpack .../18-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ... 757s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 757s Preparing to unpack .../19-libdrm-common_2.4.131-1_all.deb ... 757s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ... 757s Preparing to unpack .../20-libdrm2_2.4.131-1_amd64.deb ... 757s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ... 757s Preparing to unpack .../21-libgdbm6t64_1.26-1build1_amd64.deb ... 757s Unpacking libgdbm6t64:amd64 (1.26-1build1) over (1.26-1) ... 757s Preparing to unpack .../22-libgpm2_1.20.7-12build1_amd64.deb ... 757s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ... 757s Preparing to unpack .../23-lsof_4.99.4+dfsg-2build2_amd64.deb ... 757s Unpacking lsof (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 757s Preparing to unpack .../24-liblsof0_4.99.4+dfsg-2build2_amd64.deb ... 757s Unpacking liblsof0 (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 757s Preparing to unpack .../25-libmaxminddb0_1.12.2-1build2_amd64.deb ... 757s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ... 757s Preparing to unpack .../26-libnetfilter-conntrack3_1.1.1-1_amd64.deb ... 757s Unpacking libnetfilter-conntrack3:amd64 (1.1.1-1) over (1.1.0-1build1) ... 757s Preparing to unpack .../27-libpcap0.8t64_1.10.5-2ubuntu3_amd64.deb ... 757s Unpacking libpcap0.8t64:amd64 (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 757s Preparing to unpack .../28-pciutils_1%3a3.14.0-1build2_amd64.deb ... 757s Unpacking pciutils (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 757s Preparing to unpack .../29-libpci3_1%3a3.14.0-1build2_amd64.deb ... 757s Unpacking libpci3:amd64 (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 757s Preparing to unpack .../30-libsensors-config_1%3a3.6.2-2build1_all.deb ... 757s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ... 757s Preparing to unpack .../31-libsensors5_1%3a3.6.2-2build1_amd64.deb ... 757s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ... 757s Preparing to unpack .../32-libusb-1.0-0_2%3a1.0.29-2build1_amd64.deb ... 757s Unpacking libusb-1.0-0:amd64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 757s Preparing to unpack .../33-libxau6_1%3a1.0.11-1build2_amd64.deb ... 757s Unpacking libxau6:amd64 (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 757s Preparing to unpack .../34-libxkbcommon0_1.13.1-1_amd64.deb ... 757s Unpacking libxkbcommon0:amd64 (1.13.1-1) over (1.12.3-1) ... 757s Preparing to unpack .../35-man-db_2.13.1-1build1_amd64.deb ... 757s Unpacking man-db (2.13.1-1build1) over (2.13.1-1) ... 757s Preparing to unpack .../36-tcpdump_4.99.5-2ubuntu3_amd64.deb ... 757s Unpacking tcpdump (4.99.5-2ubuntu3) over (4.99.5-2ubuntu2) ... 757s Preparing to unpack .../37-ubuntu-standard_1.564_amd64.deb ... 757s Unpacking ubuntu-standard (1.564) over (1.563) ... 757s Preparing to unpack .../38-3cpio_0.14.0-1ubuntu1_amd64.deb ... 757s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 757s Preparing to unpack .../39-bpftool_7.7.0+6.19.0-3.3_amd64.deb ... 757s Unpacking bpftool (7.7.0+6.19.0-3.3) over (7.7.0+6.18.0-9.9) ... 757s Preparing to unpack .../40-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ... 757s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 757s Preparing to unpack .../41-dpkg-dev_1.23.5ubuntu1_all.deb ... 757s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 757s Preparing to unpack .../42-libdpkg-perl_1.23.5ubuntu1_all.deb ... 757s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 757s Preparing to unpack .../43-patch_2.8-2build1_amd64.deb ... 757s Unpacking patch (2.8-2build1) over (2.8-2) ... 757s Preparing to unpack .../44-hwdata_0.394-1build1_all.deb ... 757s Unpacking hwdata (0.394-1build1) over (0.394-1) ... 758s Preparing to unpack .../45-pnp.ids_0.394-1build1_all.deb ... 758s Unpacking pnp.ids (0.394-1build1) over (0.394-1) ... 758s Preparing to unpack .../46-libdrm-amdgpu1_2.4.131-1_amd64.deb ... 758s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ... 758s Preparing to unpack .../47-libevent-core-2.1-7t64_2.1.12-stable-10build2_amd64.deb ... 758s Unpacking libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 758s Preparing to unpack .../48-libgdbm-compat4t64_1.26-1build1_amd64.deb ... 758s Unpacking libgdbm-compat4t64:amd64 (1.26-1build1) over (1.26-1) ... 758s Preparing to unpack .../49-libgudev-1.0-0_1%3a238-7build1_amd64.deb ... 758s Unpacking libgudev-1.0-0:amd64 (1:238-7build1) over (1:238-7) ... 758s Preparing to unpack .../50-libnpth0t64_1.8-3build1_amd64.deb ... 758s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ... 758s Preparing to unpack .../51-libonig5_6.9.10-1build1_amd64.deb ... 758s Unpacking libonig5:amd64 (6.9.10-1build1) over (6.9.10-1) ... 758s Selecting previously unselected package libpython3.14-minimal:amd64. 758s Preparing to unpack .../52-libpython3.14-minimal_3.14.2-1_amd64.deb ... 758s Unpacking libpython3.14-minimal:amd64 (3.14.2-1) ... 758s Selecting previously unselected package libpython3.14-stdlib:amd64. 758s Preparing to unpack .../53-libpython3.14-stdlib_3.14.2-1_amd64.deb ... 758s Unpacking libpython3.14-stdlib:amd64 (3.14.2-1) ... 758s Selecting previously unselected package libpython3.14:amd64. 758s Preparing to unpack .../54-libpython3.14_3.14.2-1_amd64.deb ... 758s Unpacking libpython3.14:amd64 (3.14.2-1) ... 758s Preparing to unpack .../55-libwrap0_7.6.q-36build2_amd64.deb ... 758s Unpacking libwrap0:amd64 (7.6.q-36build2) over (7.6.q-36build1) ... 758s Selecting previously unselected package linux-modules-6.19.0-3-generic. 758s Preparing to unpack .../56-linux-modules-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 758s Unpacking linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 759s Selecting previously unselected package linux-image-6.19.0-3-generic. 759s Preparing to unpack .../57-linux-image-6.19.0-3-generic_6.19.0-3.3+1_amd64.deb ... 759s Unpacking linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 759s Preparing to unpack .../58-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ... 759s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ... 759s Preparing to unpack .../59-linux-generic_6.19.0-3.3_amd64.deb ... 759s Unpacking linux-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 759s Preparing to unpack .../60-linux-image-generic_6.19.0-3.3_amd64.deb ... 759s Unpacking linux-image-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 759s Preparing to unpack .../61-linux-virtual_6.19.0-3.3_amd64.deb ... 759s Unpacking linux-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 759s Preparing to unpack .../62-linux-image-virtual_6.19.0-3.3_amd64.deb ... 759s Unpacking linux-image-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 759s Preparing to unpack .../63-linux-headers-virtual_6.19.0-3.3_amd64.deb ... 759s Unpacking linux-headers-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 759s Selecting previously unselected package linux-headers-6.19.0-3. 759s Preparing to unpack .../64-linux-headers-6.19.0-3_6.19.0-3.3_all.deb ... 759s Unpacking linux-headers-6.19.0-3 (6.19.0-3.3) ... 760s Selecting previously unselected package linux-headers-6.19.0-3-generic. 760s Preparing to unpack .../65-linux-headers-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 760s Unpacking linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 761s Preparing to unpack .../66-linux-headers-generic_6.19.0-3.3_amd64.deb ... 761s Unpacking linux-headers-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 761s Preparing to unpack .../67-linux-perf_6.19.0-3.3_amd64.deb ... 761s Unpacking linux-perf (6.19.0-3.3) over (6.18.0-9.9) ... 761s Preparing to unpack .../68-linux-tools-common_6.19.0-3.3_all.deb ... 761s Unpacking linux-tools-common (6.19.0-3.3) over (6.18.0-9.9) ... 761s Selecting previously unselected package linux-tools-6.19.0-3. 761s Preparing to unpack .../69-linux-tools-6.19.0-3_6.19.0-3.3_amd64.deb ... 761s Unpacking linux-tools-6.19.0-3 (6.19.0-3.3) ... 761s Selecting previously unselected package linux-tools-6.19.0-3-generic. 761s Preparing to unpack .../70-linux-tools-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 761s Unpacking linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 761s Preparing to unpack .../71-pollinate_4.33-4ubuntu5_all.deb ... 761s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 761s Preparing to unpack .../72-python3-referencing_0.36.2-1ubuntu2_all.deb ... 761s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 761s Preparing to unpack .../73-ubuntu-kernel-accessories_1.564_amd64.deb ... 761s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 761s Setting up 3cpio (0.14.0-1ubuntu1) ... 761s Setting up libxau6:amd64 (1:1.0.11-1build2) ... 761s Setting up libnpth0t64:amd64 (1.8-3build1) ... 761s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ... 761s Setting up ubuntu-kernel-accessories (1.564) ... 761s Setting up libgpm2:amd64 (1.20.7-12build1) ... 761s Setting up libgdbm6t64:amd64 (1.26-1build1) ... 761s Setting up linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 762s Setting up libgdbm-compat4t64:amd64 (1.26-1build1) ... 762s Setting up bpftool (7.7.0+6.19.0-3.3) ... 762s Setting up liblsof0 (4.99.4+dfsg-2build2) ... 762s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ... 762s Setting up libpython3.14-minimal:amd64 (3.14.2-1) ... 762s Setting up libsensors-config (1:3.6.2-2build1) ... 762s Setting up less (668-1build1) ... 762s Setting up linux-headers-6.19.0-3 (6.19.0-3.3) ... 762s Setting up libidn2-0:amd64 (2.3.8-4build1) ... 762s Setting up amd64-microcode (3.20251202.1ubuntu1) ... 762s amd64-microcode: microcode will be updated at next boot 762s Setting up man-db (2.13.1-1build1) ... 762s Updating database of manual pages ... 764s man-db.service is a disabled or a static unit not running, not starting it. 764s Setting up libglib2.0-0t64:amd64 (2.87.2-2) ... 764s No schema files found: doing nothing. 764s Setting up libglib2.0-data (2.87.2-2) ... 764s Setting up pollinate (4.33-4ubuntu5) ... 774s Setting up busybox-static (1:1.37.0-7ubuntu1) ... 774s Setting up libwrap0:amd64 (7.6.q-36build2) ... 774s Setting up linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 775s I: /boot/vmlinuz is now a symlink to vmlinuz-6.19.0-3-generic 775s I: /boot/initrd.img is now a symlink to initrd.img-6.19.0-3-generic 775s Setting up shared-mime-info (2.4-5build3) ... 776s Setting up patch (2.8-2build1) ... 776s Setting up gir1.2-glib-2.0:amd64 (2.87.2-2) ... 776s Setting up libsensors5:amd64 (1:3.6.2-2build1) ... 776s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ... 776s Setting up libdpkg-perl (1.23.5ubuntu1) ... 776s Setting up lsof (4.99.4+dfsg-2build2) ... 776s Setting up libpci3:amd64 (1:3.14.0-1build2) ... 776s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ... 776s Setting up dmsetup (2:1.02.205-2ubuntu3) ... 776s Setting up libnetfilter-conntrack3:amd64 (1.1.1-1) ... 776s Setting up pnp.ids (0.394-1build1) ... 776s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 776s Setting up libpcap0.8t64:amd64 (1.10.5-2ubuntu3) ... 776s Setting up mawk (1.3.4.20260129-1) ... 776s Setting up libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) ... 776s Setting up libusb-1.0-0:amd64 (2:1.0.29-2build1) ... 776s Setting up libapt-pkg7.0:amd64 (3.1.15) ... 776s Setting up linux-image-virtual (6.19.0-3.3) ... 776s Setting up libbsd0:amd64 (0.12.2-2build2) ... 776s Setting up libdrm-common (2.4.131-1) ... 776s Setting up libonig5:amd64 (6.9.10-1build1) ... 776s Setting up libgudev-1.0-0:amd64 (1:238-7build1) ... 776s Setting up libbpf1:amd64 (1:1.6.2-1build1) ... 776s Setting up ethtool (1:6.15-3build1) ... 776s Setting up python3-referencing (0.36.2-1ubuntu2) ... 776s Setting up libxkbcommon0:amd64 (1.13.1-1) ... 776s Setting up linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 776s Setting up tcpdump (4.99.5-2ubuntu3) ... 777s Setting up linux-image-generic (6.19.0-3.3) ... 777s Setting up apt (3.1.15) ... 777s Setting up libgirepository-2.0-0:amd64 (2.87.2-2) ... 777s Setting up libpython3.14-stdlib:amd64 (3.14.2-1) ... 777s Setting up linux-headers-generic (6.19.0-3.3) ... 777s Setting up gir1.2-girepository-3.0:amd64 (2.87.2-2) ... 777s Setting up dpkg-dev (1.23.5ubuntu1) ... 777s Setting up hwdata (0.394-1build1) ... 777s Setting up pciutils (1:3.14.0-1build2) ... 777s Setting up python3-markdown-it (3.0.0-3build1) ... 777s Setting up libdrm2:amd64 (2.4.131-1) ... 777s Setting up libpython3.14:amd64 (3.14.2-1) ... 777s Setting up linux-tools-common (6.19.0-3.3) ... 777s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ... 777s Setting up linux-headers-virtual (6.19.0-3.3) ... 777s Setting up linux-generic (6.19.0-3.3) ... 777s Setting up linux-tools-6.19.0-3 (6.19.0-3.3) ... 777s Setting up ubuntu-standard (1.564) ... 777s Setting up linux-virtual (6.19.0-3.3) ... 777s Setting up linux-perf (6.19.0-3.3) ... 777s Setting up linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 777s Processing triggers for debianutils (5.23.2build1) ... 777s Processing triggers for install-info (7.2-5) ... 777s Processing triggers for initramfs-tools (0.150ubuntu7) ... 777s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 781s Processing triggers for libc-bin (2.42-2ubuntu4) ... 781s Processing triggers for linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 782s /etc/kernel/postinst.d/initramfs-tools: 782s update-initramfs: Generating /boot/initrd.img-6.19.0-3-generic 785s /etc/kernel/postinst.d/zz-update-grub: 785s Sourcing file `/etc/default/grub' 785s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 785s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 785s Generating grub configuration file ... 785s Found linux image: /boot/vmlinuz-6.19.0-3-generic 785s Found initrd image: /boot/initrd.img-6.19.0-3-generic 785s Found linux image: /boot/vmlinuz-6.18.0-9-generic 785s Found initrd image: /boot/initrd.img-6.18.0-9-generic 786s Warning: os-prober will not be executed to detect other bootable partitions. 786s Systems on them will not be added to the GRUB boot configuration. 786s Check GRUB_DISABLE_OS_PROBER documentation entry. 786s Adding boot menu entry for UEFI Firmware Settings ... 786s done 786s autopkgtest [16:09:01]: upgrading testbed (apt dist-upgrade and autopurge) 786s Reading package lists... 786s Building dependency tree... 786s Reading state information... 787s Calculating upgrade... 787s The following package was automatically installed and is no longer required: 787s libpython3.13 787s Use 'sudo apt autoremove' to remove it. 787s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 787s Reading package lists... 787s Building dependency tree... 787s Reading state information... 787s Solving dependencies... 787s The following packages will be REMOVED: 787s libpython3.13* 787s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 787s After this operation, 7599 kB disk space will be freed. 787s (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 ... 125259 files and directories currently installed.) 787s Removing libpython3.13:amd64 (3.13.11-1) ... 787s Processing triggers for libc-bin (2.42-2ubuntu4) ... 787s autopkgtest [16:09:02]: rebooting testbed after setup commands that affected boot 817s Reading package lists... 817s Building dependency tree... 817s Reading state information... 817s Solving dependencies... 817s The following NEW packages will be installed: 817s gir1.2-glib-2.0-dev girepository-tools native-architecture 818s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 818s Need to get 979 kB of archives. 818s After this operation, 12.3 MB of additional disk space will be used. 818s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0-dev amd64 2.87.2-2 [866 kB] 819s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 native-architecture all 0.2.6build1 [2256 B] 819s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 girepository-tools amd64 2.87.2-2 [111 kB] 819s Fetched 979 kB in 1s (949 kB/s) 819s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 819s (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 ... 125255 files and directories currently installed.) 819s Preparing to unpack .../gir1.2-glib-2.0-dev_2.87.2-2_amd64.deb ... 819s Unpacking gir1.2-glib-2.0-dev:amd64 (2.87.2-2) ... 819s Selecting previously unselected package native-architecture. 819s Preparing to unpack .../native-architecture_0.2.6build1_all.deb ... 819s Unpacking native-architecture (0.2.6build1) ... 819s Selecting previously unselected package girepository-tools:amd64. 819s Preparing to unpack .../girepository-tools_2.87.2-2_amd64.deb ... 819s Unpacking girepository-tools:amd64 (2.87.2-2) ... 819s Setting up native-architecture (0.2.6build1) ... 819s Setting up gir1.2-glib-2.0-dev:amd64 (2.87.2-2) ... 819s Setting up girepository-tools:amd64 (2.87.2-2) ... 819s Processing triggers for man-db (2.13.1-1build1) ... 825s autopkgtest [16:09:40]: test girepository-tools: [----------------------- 825s + cd /tmp/autopkgtest.xqX1sv/autopkgtest_tmp 825s + dpkg-architecture -qDEB_HOST_GNU_TYPE 825s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 825s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 825s + dpkg-architecture -qDEB_HOST_MULTIARCH 825s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 825s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 825s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 825s typelib: GLib-2.0 825s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 825s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 825s autopkgtest [16:09:40]: test girepository-tools: -----------------------] 826s autopkgtest [16:09:41]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 826s girepository-tools PASS (superficial) 826s autopkgtest [16:09:41]: test libgio-2.0-dev-bin: preparing testbed 834s Creating nova instance adt-resolute-amd64-glib2.0-20260208-155554-juju-7f2275-prod-proposed-migration-environment-15-8a20b40f-8d6f-4a9f-9024-8d72ab1e3145 from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)... 953s autopkgtest [16:11:48]: testbed dpkg architecture: amd64 953s autopkgtest [16:11:48]: testbed apt version: 3.1.14 953s autopkgtest [16:11:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 953s autopkgtest [16:11:48]: testbed release detected to be: resolute 954s autopkgtest [16:11:49]: updating testbed package index (apt update) 954s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 954s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 954s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 954s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 954s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 956s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 957s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 957s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [263 kB] 957s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [201 kB] 957s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6524 B] 957s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [120 B] 957s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1458 kB] 959s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [561 kB] 959s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [31.2 kB] 959s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4320 B] 959s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [25.2 kB] 959s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [996 B] 960s Fetched 4378 kB in 5s (836 kB/s) 961s Reading package lists... 961s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 961s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 961s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 961s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 962s Reading package lists... 962s Reading package lists... 962s Building dependency tree... 962s Reading state information... 962s Calculating upgrade... 962s The following package was automatically installed and is no longer required: 962s libpython3.13 962s Use 'sudo apt autoremove' to remove it. 962s The following NEW packages will be installed: 962s libpython3.14 libpython3.14-minimal libpython3.14-stdlib 962s linux-headers-6.19.0-3 linux-headers-6.19.0-3-generic 962s linux-image-6.19.0-3-generic linux-modules-6.19.0-3-generic 962s linux-tools-6.19.0-3 linux-tools-6.19.0-3-generic 962s The following packages will be upgraded: 962s 3cpio amd64-microcode apt bpftool busybox-initramfs busybox-static dash 962s debianutils dmsetup dpkg dpkg-dev ethtool findutils gir1.2-girepository-3.0 962s gir1.2-glib-2.0 hwdata less libapt-pkg7.0 libattr1 libbpf1 libbsd0 962s libdevmapper1.02.1 libdpkg-perl libdrm-amdgpu1 libdrm-common libdrm2 962s libevent-core-2.1-7t64 libgdbm-compat4t64 libgdbm6t64 libgirepository-2.0-0 962s libglib2.0-0t64 libglib2.0-data libgpm2 libgudev-1.0-0 libidn2-0 962s libkeyutils1 liblsof0 libmaxminddb0 libnetfilter-conntrack3 libnpth0t64 962s libonig5 libpcap0.8t64 libpci3 libsensors-config libsensors5 libusb-1.0-0 962s libwrap0 libxau6 libxkbcommon0 linux-generic linux-headers-generic 962s linux-headers-virtual linux-image-generic linux-image-virtual linux-perf 962s linux-tools-common linux-virtual lsof man-db mawk patch pciutils pnp.ids 962s pollinate python3-linkify-it python3-markdown-it python3-referencing sed 962s shared-mime-info tar tcpdump ubuntu-kernel-accessories ubuntu-standard 962s 73 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 962s Need to get 236 MB of archives. 962s After this operation, 338 MB of additional disk space will be used. 962s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 debianutils amd64 5.23.2build1 [93.3 kB] 962s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 dash amd64 0.5.12-12ubuntu3 [96.0 kB] 962s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB] 963s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB] 963s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 dpkg amd64 1.23.5ubuntu1 [1288 kB] 964s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB] 964s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB] 964s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB] 964s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libbsd0 amd64 0.12.2-2build2 [42.3 kB] 964s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB] 964s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB] 965s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB] 965s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB] 965s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 ethtool amd64 1:6.15-3build1 [318 kB] 965s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-girepository-3.0 amd64 2.87.2-2 [25.2 kB] 965s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 libgirepository-2.0-0 amd64 2.87.2-2 [76.1 kB] 965s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0 amd64 2.87.2-2 [182 kB] 965s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-0t64 amd64 2.87.2-2 [1613 kB] 966s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB] 966s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libbpf1 amd64 1:1.6.2-1build1 [184 kB] 966s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-data all 2.87.2-2 [58.2 kB] 966s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libidn2-0 amd64 2.3.8-4build1 [67.6 kB] 966s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB] 966s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 966s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB] 966s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 shared-mime-info amd64 2.4-5build3 [476 kB] 967s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB] 967s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B] 967s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB] 967s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm6t64 amd64 1.26-1build1 [36.5 kB] 967s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB] 967s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 lsof amd64 4.99.4+dfsg-2build2 [239 kB] 967s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsof0 amd64 4.99.4+dfsg-2build2 [56.5 kB] 967s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB] 967s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libnetfilter-conntrack3 amd64 1.1.1-1 [47.5 kB] 967s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcap0.8t64 amd64 1.10.5-2ubuntu3 [154 kB] 967s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 pciutils amd64 1:3.14.0-1build2 [95.5 kB] 967s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libpci3 amd64 1:3.14.0-1build2 [38.1 kB] 967s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B] 967s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB] 967s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 libusb-1.0-0 amd64 2:1.0.29-2build1 [56.9 kB] 967s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 libxau6 amd64 1:1.0.11-1build2 [7502 B] 967s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 libxkbcommon0 amd64 1.13.1-1 [159 kB] 967s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 man-db amd64 2.13.1-1build1 [1392 kB] 969s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 tcpdump amd64 4.99.5-2ubuntu3 [477 kB] 969s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-standard amd64 1.564 [13.3 kB] 969s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 3cpio amd64 0.14.0-1ubuntu1 [285 kB] 969s Get:48 http://ftpmaster.internal/ubuntu resolute/main amd64 bpftool amd64 7.7.0+6.19.0-3.3 [1229 kB] 970s Get:49 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB] 970s Get:50 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 dpkg-dev all 1.23.5ubuntu1 [1062 kB] 971s Get:51 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libdpkg-perl all 1.23.5ubuntu1 [289 kB] 971s Get:52 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB] 971s Get:53 http://ftpmaster.internal/ubuntu resolute/main amd64 hwdata all 0.394-1build1 [1566 B] 971s Get:54 http://ftpmaster.internal/ubuntu resolute/main amd64 pnp.ids all 0.394-1build1 [29.6 kB] 971s Get:55 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB] 971s Get:56 http://ftpmaster.internal/ubuntu resolute/main amd64 libevent-core-2.1-7t64 amd64 2.1.12-stable-10build2 [93.1 kB] 971s Get:57 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm-compat4t64 amd64 1.26-1build1 [6796 B] 971s Get:58 http://ftpmaster.internal/ubuntu resolute/main amd64 libgudev-1.0-0 amd64 1:238-7build1 [15.9 kB] 971s Get:59 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B] 971s Get:60 http://ftpmaster.internal/ubuntu resolute/main amd64 libonig5 amd64 6.9.10-1build1 [174 kB] 971s Get:61 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.2-1 [920 kB] 972s Get:62 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.2-1 [2398 kB] 973s Get:63 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14 amd64 3.14.2-1 [2568 kB] 975s Get:64 http://ftpmaster.internal/ubuntu resolute/main amd64 libwrap0 amd64 7.6.q-36build2 [48.5 kB] 975s Get:65 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-modules-6.19.0-3-generic amd64 6.19.0-3.3 [171 MB] 1127s Get:66 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-6.19.0-3-generic amd64 6.19.0-3.3+1 [16.8 MB] 1144s Get:67 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB] 1144s Get:68 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-generic amd64 6.19.0-3.3 [1698 B] 1144s Get:69 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-generic amd64 6.19.0-3.3 [12.2 kB] 1144s Get:70 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-virtual amd64 6.19.0-3.3 [1700 B] 1144s Get:71 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-virtual amd64 6.19.0-3.3 [12.1 kB] 1144s Get:72 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-virtual amd64 6.19.0-3.3 [1646 B] 1144s Get:73 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3 all 6.19.0-3.3 [14.9 MB] 1161s Get:74 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3-generic amd64 6.19.0-3.3 [4330 kB] 1166s Get:75 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-generic amd64 6.19.0-3.3 [12.0 kB] 1166s Get:76 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-perf amd64 6.19.0-3.3 [4480 kB] 1171s Get:77 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-common all 6.19.0-3.3 [345 kB] 1171s Get:78 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3 amd64 6.19.0-3.3 [1455 kB] 1172s Get:79 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3-generic amd64 6.19.0-3.3 [1612 B] 1172s Get:80 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB] 1172s Get:81 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 1172s Get:82 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-kernel-accessories amd64 1.564 [13.1 kB] 1172s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1172s Fetched 236 MB in 3min 30s (1122 kB/s) 1173s (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 ... 83957 files and directories currently installed.) 1173s Preparing to unpack .../debianutils_5.23.2build1_amd64.deb ... 1173s Unpacking debianutils (5.23.2build1) over (5.23.2) ... 1173s Setting up debianutils (5.23.2build1) ... 1173s (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 ... 83957 files and directories currently installed.) 1173s Preparing to unpack .../dash_0.5.12-12ubuntu3_amd64.deb ... 1173s Unpacking dash (0.5.12-12ubuntu3) over (0.5.12-12ubuntu2) ... 1173s Setting up dash (0.5.12-12ubuntu3) ... 1173s (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 ... 83957 files and directories currently installed.) 1173s Preparing to unpack .../libapt-pkg7.0_3.1.15_amd64.deb ... 1173s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ... 1173s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ... 1173s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ... 1173s Setting up tar (1.35+dfsg-3.1build2) ... 1173s (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 ... 83957 files and directories currently installed.) 1173s Preparing to unpack .../dpkg_1.23.5ubuntu1_amd64.deb ... 1173s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1173s Setting up dpkg (1.23.5ubuntu1) ... 1173s (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 ... 83958 files and directories currently installed.) 1173s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ... 1173s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ... 1173s Setting up findutils (4.10.0-3build2) ... 1173s (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 ... 83958 files and directories currently installed.) 1173s Preparing to unpack .../sed_4.9-2build3_amd64.deb ... 1173s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 1173s Setting up sed (4.9-2build3) ... 1173s (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 ... 83958 files and directories currently installed.) 1173s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ... 1173s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ... 1173s Setting up libattr1:amd64 (1:2.5.2-3build2) ... 1173s (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 ... 83958 files and directories currently installed.) 1173s Preparing to unpack .../00-libbsd0_0.12.2-2build2_amd64.deb ... 1173s Unpacking libbsd0:amd64 (0.12.2-2build2) over (0.12.2-2build1) ... 1174s Preparing to unpack .../01-mawk_1.3.4.20260129-1_amd64.deb ... 1174s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ... 1174s Preparing to unpack .../02-apt_3.1.15_amd64.deb ... 1174s Unpacking apt (3.1.15) over (3.1.14) ... 1174s Preparing to unpack .../03-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ... 1174s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 1174s Preparing to unpack .../04-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ... 1174s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 1174s Preparing to unpack .../05-ethtool_1%3a6.15-3build1_amd64.deb ... 1174s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 1174s Preparing to unpack .../06-gir1.2-girepository-3.0_2.87.2-2_amd64.deb ... 1174s Unpacking gir1.2-girepository-3.0:amd64 (2.87.2-2) over (2.86.3-4) ... 1174s Preparing to unpack .../07-libgirepository-2.0-0_2.87.2-2_amd64.deb ... 1174s Unpacking libgirepository-2.0-0:amd64 (2.87.2-2) over (2.86.3-4) ... 1174s Preparing to unpack .../08-gir1.2-glib-2.0_2.87.2-2_amd64.deb ... 1174s Unpacking gir1.2-glib-2.0:amd64 (2.87.2-2) over (2.86.3-4) ... 1174s Preparing to unpack .../09-libglib2.0-0t64_2.87.2-2_amd64.deb ... 1174s Unpacking libglib2.0-0t64:amd64 (2.87.2-2) over (2.86.3-4) ... 1174s Preparing to unpack .../10-less_668-1build1_amd64.deb ... 1174s Unpacking less (668-1build1) over (668-1) ... 1174s Preparing to unpack .../11-libbpf1_1%3a1.6.2-1build1_amd64.deb ... 1174s Unpacking libbpf1:amd64 (1:1.6.2-1build1) over (1:1.6.2-1) ... 1174s Preparing to unpack .../12-libglib2.0-data_2.87.2-2_all.deb ... 1174s Unpacking libglib2.0-data (2.87.2-2) over (2.86.3-4) ... 1174s Preparing to unpack .../13-libidn2-0_2.3.8-4build1_amd64.deb ... 1174s Unpacking libidn2-0:amd64 (2.3.8-4build1) over (2.3.8-4) ... 1174s Preparing to unpack .../14-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ... 1174s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ... 1174s Preparing to unpack .../15-python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 1174s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 1174s Preparing to unpack .../16-python3-markdown-it_3.0.0-3build1_all.deb ... 1174s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ... 1174s Preparing to unpack .../17-shared-mime-info_2.4-5build3_amd64.deb ... 1174s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 1174s Preparing to unpack .../18-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ... 1174s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 1174s Preparing to unpack .../19-libdrm-common_2.4.131-1_all.deb ... 1174s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ... 1174s Preparing to unpack .../20-libdrm2_2.4.131-1_amd64.deb ... 1174s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ... 1174s Preparing to unpack .../21-libgdbm6t64_1.26-1build1_amd64.deb ... 1174s Unpacking libgdbm6t64:amd64 (1.26-1build1) over (1.26-1) ... 1174s Preparing to unpack .../22-libgpm2_1.20.7-12build1_amd64.deb ... 1174s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ... 1174s Preparing to unpack .../23-lsof_4.99.4+dfsg-2build2_amd64.deb ... 1174s Unpacking lsof (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 1174s Preparing to unpack .../24-liblsof0_4.99.4+dfsg-2build2_amd64.deb ... 1174s Unpacking liblsof0 (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 1174s Preparing to unpack .../25-libmaxminddb0_1.12.2-1build2_amd64.deb ... 1174s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ... 1174s Preparing to unpack .../26-libnetfilter-conntrack3_1.1.1-1_amd64.deb ... 1174s Unpacking libnetfilter-conntrack3:amd64 (1.1.1-1) over (1.1.0-1build1) ... 1174s Preparing to unpack .../27-libpcap0.8t64_1.10.5-2ubuntu3_amd64.deb ... 1174s Unpacking libpcap0.8t64:amd64 (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 1175s Preparing to unpack .../28-pciutils_1%3a3.14.0-1build2_amd64.deb ... 1175s Unpacking pciutils (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 1175s Preparing to unpack .../29-libpci3_1%3a3.14.0-1build2_amd64.deb ... 1175s Unpacking libpci3:amd64 (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 1175s Preparing to unpack .../30-libsensors-config_1%3a3.6.2-2build1_all.deb ... 1175s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ... 1175s Preparing to unpack .../31-libsensors5_1%3a3.6.2-2build1_amd64.deb ... 1175s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ... 1175s Preparing to unpack .../32-libusb-1.0-0_2%3a1.0.29-2build1_amd64.deb ... 1175s Unpacking libusb-1.0-0:amd64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 1175s Preparing to unpack .../33-libxau6_1%3a1.0.11-1build2_amd64.deb ... 1175s Unpacking libxau6:amd64 (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 1175s Preparing to unpack .../34-libxkbcommon0_1.13.1-1_amd64.deb ... 1175s Unpacking libxkbcommon0:amd64 (1.13.1-1) over (1.12.3-1) ... 1175s Preparing to unpack .../35-man-db_2.13.1-1build1_amd64.deb ... 1175s Unpacking man-db (2.13.1-1build1) over (2.13.1-1) ... 1175s Preparing to unpack .../36-tcpdump_4.99.5-2ubuntu3_amd64.deb ... 1175s Unpacking tcpdump (4.99.5-2ubuntu3) over (4.99.5-2ubuntu2) ... 1175s Preparing to unpack .../37-ubuntu-standard_1.564_amd64.deb ... 1175s Unpacking ubuntu-standard (1.564) over (1.563) ... 1175s Preparing to unpack .../38-3cpio_0.14.0-1ubuntu1_amd64.deb ... 1175s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 1175s Preparing to unpack .../39-bpftool_7.7.0+6.19.0-3.3_amd64.deb ... 1175s Unpacking bpftool (7.7.0+6.19.0-3.3) over (7.7.0+6.18.0-9.9) ... 1175s Preparing to unpack .../40-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ... 1175s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 1175s Preparing to unpack .../41-dpkg-dev_1.23.5ubuntu1_all.deb ... 1175s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1175s Preparing to unpack .../42-libdpkg-perl_1.23.5ubuntu1_all.deb ... 1175s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1175s Preparing to unpack .../43-patch_2.8-2build1_amd64.deb ... 1175s Unpacking patch (2.8-2build1) over (2.8-2) ... 1175s Preparing to unpack .../44-hwdata_0.394-1build1_all.deb ... 1175s Unpacking hwdata (0.394-1build1) over (0.394-1) ... 1175s Preparing to unpack .../45-pnp.ids_0.394-1build1_all.deb ... 1175s Unpacking pnp.ids (0.394-1build1) over (0.394-1) ... 1175s Preparing to unpack .../46-libdrm-amdgpu1_2.4.131-1_amd64.deb ... 1175s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ... 1175s Preparing to unpack .../47-libevent-core-2.1-7t64_2.1.12-stable-10build2_amd64.deb ... 1175s Unpacking libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 1175s Preparing to unpack .../48-libgdbm-compat4t64_1.26-1build1_amd64.deb ... 1175s Unpacking libgdbm-compat4t64:amd64 (1.26-1build1) over (1.26-1) ... 1175s Preparing to unpack .../49-libgudev-1.0-0_1%3a238-7build1_amd64.deb ... 1175s Unpacking libgudev-1.0-0:amd64 (1:238-7build1) over (1:238-7) ... 1175s Preparing to unpack .../50-libnpth0t64_1.8-3build1_amd64.deb ... 1175s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ... 1175s Preparing to unpack .../51-libonig5_6.9.10-1build1_amd64.deb ... 1175s Unpacking libonig5:amd64 (6.9.10-1build1) over (6.9.10-1) ... 1175s Selecting previously unselected package libpython3.14-minimal:amd64. 1175s Preparing to unpack .../52-libpython3.14-minimal_3.14.2-1_amd64.deb ... 1175s Unpacking libpython3.14-minimal:amd64 (3.14.2-1) ... 1175s Selecting previously unselected package libpython3.14-stdlib:amd64. 1175s Preparing to unpack .../53-libpython3.14-stdlib_3.14.2-1_amd64.deb ... 1175s Unpacking libpython3.14-stdlib:amd64 (3.14.2-1) ... 1176s Selecting previously unselected package libpython3.14:amd64. 1176s Preparing to unpack .../54-libpython3.14_3.14.2-1_amd64.deb ... 1176s Unpacking libpython3.14:amd64 (3.14.2-1) ... 1176s Preparing to unpack .../55-libwrap0_7.6.q-36build2_amd64.deb ... 1176s Unpacking libwrap0:amd64 (7.6.q-36build2) over (7.6.q-36build1) ... 1176s Selecting previously unselected package linux-modules-6.19.0-3-generic. 1176s Preparing to unpack .../56-linux-modules-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 1176s Unpacking linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 1176s Selecting previously unselected package linux-image-6.19.0-3-generic. 1176s Preparing to unpack .../57-linux-image-6.19.0-3-generic_6.19.0-3.3+1_amd64.deb ... 1176s Unpacking linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 1176s Preparing to unpack .../58-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ... 1176s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ... 1176s Preparing to unpack .../59-linux-generic_6.19.0-3.3_amd64.deb ... 1176s Unpacking linux-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 1176s Preparing to unpack .../60-linux-image-generic_6.19.0-3.3_amd64.deb ... 1176s Unpacking linux-image-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 1177s Preparing to unpack .../61-linux-virtual_6.19.0-3.3_amd64.deb ... 1177s Unpacking linux-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 1177s Preparing to unpack .../62-linux-image-virtual_6.19.0-3.3_amd64.deb ... 1177s Unpacking linux-image-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 1177s Preparing to unpack .../63-linux-headers-virtual_6.19.0-3.3_amd64.deb ... 1177s Unpacking linux-headers-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 1177s Selecting previously unselected package linux-headers-6.19.0-3. 1177s Preparing to unpack .../64-linux-headers-6.19.0-3_6.19.0-3.3_all.deb ... 1177s Unpacking linux-headers-6.19.0-3 (6.19.0-3.3) ... 1178s Selecting previously unselected package linux-headers-6.19.0-3-generic. 1178s Preparing to unpack .../65-linux-headers-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 1178s Unpacking linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 1178s Preparing to unpack .../66-linux-headers-generic_6.19.0-3.3_amd64.deb ... 1178s Unpacking linux-headers-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 1178s Preparing to unpack .../67-linux-perf_6.19.0-3.3_amd64.deb ... 1178s Unpacking linux-perf (6.19.0-3.3) over (6.18.0-9.9) ... 1178s Preparing to unpack .../68-linux-tools-common_6.19.0-3.3_all.deb ... 1178s Unpacking linux-tools-common (6.19.0-3.3) over (6.18.0-9.9) ... 1178s Selecting previously unselected package linux-tools-6.19.0-3. 1178s Preparing to unpack .../69-linux-tools-6.19.0-3_6.19.0-3.3_amd64.deb ... 1178s Unpacking linux-tools-6.19.0-3 (6.19.0-3.3) ... 1178s Selecting previously unselected package linux-tools-6.19.0-3-generic. 1178s Preparing to unpack .../70-linux-tools-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 1178s Unpacking linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 1179s Preparing to unpack .../71-pollinate_4.33-4ubuntu5_all.deb ... 1179s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 1179s Preparing to unpack .../72-python3-referencing_0.36.2-1ubuntu2_all.deb ... 1179s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 1179s Preparing to unpack .../73-ubuntu-kernel-accessories_1.564_amd64.deb ... 1179s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 1179s Setting up 3cpio (0.14.0-1ubuntu1) ... 1179s Setting up libxau6:amd64 (1:1.0.11-1build2) ... 1179s Setting up libnpth0t64:amd64 (1.8-3build1) ... 1179s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ... 1179s Setting up ubuntu-kernel-accessories (1.564) ... 1179s Setting up libgpm2:amd64 (1.20.7-12build1) ... 1179s Setting up libgdbm6t64:amd64 (1.26-1build1) ... 1179s Setting up linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 1180s Setting up libgdbm-compat4t64:amd64 (1.26-1build1) ... 1180s Setting up bpftool (7.7.0+6.19.0-3.3) ... 1180s Setting up liblsof0 (4.99.4+dfsg-2build2) ... 1180s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ... 1180s Setting up libpython3.14-minimal:amd64 (3.14.2-1) ... 1180s Setting up libsensors-config (1:3.6.2-2build1) ... 1180s Setting up less (668-1build1) ... 1180s Setting up linux-headers-6.19.0-3 (6.19.0-3.3) ... 1180s Setting up libidn2-0:amd64 (2.3.8-4build1) ... 1180s Setting up amd64-microcode (3.20251202.1ubuntu1) ... 1180s amd64-microcode: microcode will be updated at next boot 1180s Setting up man-db (2.13.1-1build1) ... 1180s Updating database of manual pages ... 1181s man-db.service is a disabled or a static unit not running, not starting it. 1181s Setting up libglib2.0-0t64:amd64 (2.87.2-2) ... 1181s No schema files found: doing nothing. 1181s Setting up libglib2.0-data (2.87.2-2) ... 1181s Setting up pollinate (4.33-4ubuntu5) ... 1192s Setting up busybox-static (1:1.37.0-7ubuntu1) ... 1192s Setting up libwrap0:amd64 (7.6.q-36build2) ... 1192s Setting up linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 1193s I: /boot/vmlinuz is now a symlink to vmlinuz-6.19.0-3-generic 1193s I: /boot/initrd.img is now a symlink to initrd.img-6.19.0-3-generic 1193s Setting up shared-mime-info (2.4-5build3) ... 1194s Setting up patch (2.8-2build1) ... 1194s Setting up gir1.2-glib-2.0:amd64 (2.87.2-2) ... 1194s Setting up libsensors5:amd64 (1:3.6.2-2build1) ... 1194s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ... 1194s Setting up libdpkg-perl (1.23.5ubuntu1) ... 1194s Setting up lsof (4.99.4+dfsg-2build2) ... 1194s Setting up libpci3:amd64 (1:3.14.0-1build2) ... 1194s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ... 1194s Setting up dmsetup (2:1.02.205-2ubuntu3) ... 1194s Setting up libnetfilter-conntrack3:amd64 (1.1.1-1) ... 1194s Setting up pnp.ids (0.394-1build1) ... 1194s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 1194s Setting up libpcap0.8t64:amd64 (1.10.5-2ubuntu3) ... 1194s Setting up mawk (1.3.4.20260129-1) ... 1194s Setting up libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) ... 1194s Setting up libusb-1.0-0:amd64 (2:1.0.29-2build1) ... 1194s Setting up libapt-pkg7.0:amd64 (3.1.15) ... 1194s Setting up linux-image-virtual (6.19.0-3.3) ... 1194s Setting up libbsd0:amd64 (0.12.2-2build2) ... 1194s Setting up libdrm-common (2.4.131-1) ... 1194s Setting up libonig5:amd64 (6.9.10-1build1) ... 1194s Setting up libgudev-1.0-0:amd64 (1:238-7build1) ... 1194s Setting up libbpf1:amd64 (1:1.6.2-1build1) ... 1194s Setting up ethtool (1:6.15-3build1) ... 1194s Setting up python3-referencing (0.36.2-1ubuntu2) ... 1194s Setting up libxkbcommon0:amd64 (1.13.1-1) ... 1194s Setting up linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 1194s Setting up tcpdump (4.99.5-2ubuntu3) ... 1194s Setting up linux-image-generic (6.19.0-3.3) ... 1194s Setting up apt (3.1.15) ... 1194s Setting up libgirepository-2.0-0:amd64 (2.87.2-2) ... 1194s Setting up libpython3.14-stdlib:amd64 (3.14.2-1) ... 1194s Setting up linux-headers-generic (6.19.0-3.3) ... 1194s Setting up gir1.2-girepository-3.0:amd64 (2.87.2-2) ... 1194s Setting up dpkg-dev (1.23.5ubuntu1) ... 1194s Setting up hwdata (0.394-1build1) ... 1194s Setting up pciutils (1:3.14.0-1build2) ... 1194s Setting up python3-markdown-it (3.0.0-3build1) ... 1195s Setting up libdrm2:amd64 (2.4.131-1) ... 1195s Setting up libpython3.14:amd64 (3.14.2-1) ... 1195s Setting up linux-tools-common (6.19.0-3.3) ... 1195s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ... 1195s Setting up linux-headers-virtual (6.19.0-3.3) ... 1195s Setting up linux-generic (6.19.0-3.3) ... 1195s Setting up linux-tools-6.19.0-3 (6.19.0-3.3) ... 1195s Setting up ubuntu-standard (1.564) ... 1195s Setting up linux-virtual (6.19.0-3.3) ... 1195s Setting up linux-perf (6.19.0-3.3) ... 1195s Setting up linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 1195s Processing triggers for debianutils (5.23.2build1) ... 1195s Processing triggers for install-info (7.2-5) ... 1195s Processing triggers for initramfs-tools (0.150ubuntu7) ... 1195s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 1199s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1199s Processing triggers for linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 1199s /etc/kernel/postinst.d/initramfs-tools: 1199s update-initramfs: Generating /boot/initrd.img-6.19.0-3-generic 1203s /etc/kernel/postinst.d/zz-update-grub: 1203s Sourcing file `/etc/default/grub' 1203s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 1203s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 1203s Generating grub configuration file ... 1203s Found linux image: /boot/vmlinuz-6.19.0-3-generic 1203s Found initrd image: /boot/initrd.img-6.19.0-3-generic 1203s Found linux image: /boot/vmlinuz-6.18.0-9-generic 1203s Found initrd image: /boot/initrd.img-6.18.0-9-generic 1203s Warning: os-prober will not be executed to detect other bootable partitions. 1203s Systems on them will not be added to the GRUB boot configuration. 1203s Check GRUB_DISABLE_OS_PROBER documentation entry. 1203s Adding boot menu entry for UEFI Firmware Settings ... 1203s done 1203s autopkgtest [16:15:58]: upgrading testbed (apt dist-upgrade and autopurge) 1204s Reading package lists... 1204s Building dependency tree... 1204s Reading state information... 1204s Calculating upgrade... 1204s The following package was automatically installed and is no longer required: 1204s libpython3.13 1204s Use 'sudo apt autoremove' to remove it. 1204s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1204s Reading package lists... 1204s Building dependency tree... 1204s Reading state information... 1204s Solving dependencies... 1204s The following packages will be REMOVED: 1204s libpython3.13* 1205s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1205s After this operation, 7599 kB disk space will be freed. 1205s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 125259 files and directories currently installed.) 1205s Removing libpython3.13:amd64 (3.13.11-1) ... 1205s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1205s autopkgtest [16:16:00]: rebooting testbed after setup commands that affected boot 1236s Reading package lists... 1236s Building dependency tree... 1236s Reading state information... 1236s Solving dependencies... 1236s The following NEW packages will be installed: 1236s libgio-2.0-dev-bin 1236s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1236s Need to get 130 kB of archives. 1236s After this operation, 721 kB of additional disk space will be used. 1236s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libgio-2.0-dev-bin amd64 2.87.2-2 [130 kB] 1236s Fetched 130 kB in 0s (8764 kB/s) 1236s Selecting previously unselected package libgio-2.0-dev-bin. 1237s (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 ... 125255 files and directories currently installed.) 1237s Preparing to unpack .../libgio-2.0-dev-bin_2.87.2-2_amd64.deb ... 1237s Unpacking libgio-2.0-dev-bin (2.87.2-2) ... 1237s Setting up libgio-2.0-dev-bin (2.87.2-2) ... 1237s Processing triggers for man-db (2.13.1-1build1) ... 1243s autopkgtest [16:16:38]: test libgio-2.0-dev-bin: [----------------------- 1243s + gdbus-codegen --help 1243s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1243s [--c-namespace NAMESPACE] [--c-generate-object-manager] 1243s [--c-generate-autocleanup {none,objects,all}] 1243s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1243s [--generate-rst OUTFILES] [--pragma-once] 1243s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1243s [--glib-min-required VERSION] 1243s [--glib-max-allowed VERSION] 1243s [--symbol-decorator SYMBOL_DECORATOR] 1243s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1243s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1243s [--extension-path EXTENSION_PATH] 1243s [--generate-c-code OUTFILES | --header | --body | 1243s --interface-info-header | --interface-info-body] 1243s [--output FILE | --output-directory OUTDIR] 1243s FILE [FILE ...] 1243s 1243s D-Bus code and documentation generator 1243s 1243s positional arguments: 1243s FILE D-Bus introspection XML file 1243s 1243s options: 1243s -h, --help show this help message and exit 1243s --interface-prefix PREFIX 1243s String to strip from D-Bus interface names for code 1243s and docs 1243s --c-namespace NAMESPACE 1243s The namespace to use for generated C code 1243s --c-generate-object-manager 1243s Generate a GDBusObjectManagerClient subclass when 1243s generating C code 1243s --c-generate-autocleanup {none,objects,all} 1243s Generate autocleanup support 1243s --generate-docbook OUTFILES 1243s Generate Docbook in OUTFILES-org.Project.IFace.xml 1243s --generate-md OUTFILES 1243s Generate Markdown in OUTFILES-org.Project.IFace.md 1243s --generate-rst OUTFILES 1243s Generate reStructuredText in OUTFILES- 1243s org.Project.IFace.rst 1243s --pragma-once Use "pragma once" as the inclusion guard 1243s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1243s Add annotation (may be used several times) 1243s --glib-min-required VERSION 1243s Minimum version of GLib to be supported by the 1243s outputted code (default: 2.30) 1243s --glib-max-allowed VERSION 1243s Maximum version of GLib to be used by the outputted 1243s code (default: current GLib version) 1243s --symbol-decorator SYMBOL_DECORATOR 1243s Macro used to decorate a symbol in the outputted 1243s header, possibly to export symbols 1243s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1243s Additional header required for decorator specified by 1243s --symbol-decorator 1243s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1243s Additional define required for decorator specified by 1243s --symbol-decorator 1243s --extension-path EXTENSION_PATH 1243s Path to a gdbus-codegen Python extension file 1243s (unstable API) 1243s --generate-c-code OUTFILES 1243s Generate C code in OUTFILES.[ch] 1243s --header Generate C headers 1243s --body Generate C code 1243s --interface-info-header 1243s Generate GDBusInterfaceInfo C header 1243s --interface-info-body 1243s Generate GDBusInterfaceInfo C code 1243s --output FILE Write output into the specified file 1243s --output-directory OUTDIR 1243s Location to output generated files 1243s + glib-compile-resources --version 1243s + glib-genmarshal --version 1243s 2.87.2 1243s glib-genmarshal version 2.87.2 1243s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 1243s You may redistribute copies of glib-genmarshal under the terms of 1243s the GNU General Public License which can be found in the 1243s GLib source package. Sources, examples and contact 1243s information are available at http://www.gtk.org 1243s + glib-gettextize --version 1243s + glib-mkenums --version 1243s /usr/bin/glib-gettextize (GNU glib) 2.87.2 1243s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 1243s This is free software; see the source for copying conditions. There is NO 1243s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 1243s Written by Ulrich Drepper 1243s glib-mkenums version 2.87.2 1243s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 1243s You may redistribute copies of glib-mkenums under the terms of 1243s the GNU General Public License which can be found in the 1243s GLib source package. Sources, examples and contact 1243s information are available at http://www.gtk.org 1243s + gobject-query tree 1243s GObject 1243s gtester version 2.87.2 1243s + gtester --version 1243s + gtester-report --version 1243s gtester-report (GLib utils) version 2.87.2. 1244s autopkgtest [16:16:39]: test libgio-2.0-dev-bin: -----------------------] 1244s autopkgtest [16:16:39]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 1244s libgio-2.0-dev-bin PASS (superficial) 1244s autopkgtest [16:16:39]: test libglib2.0-dev: preparing testbed 1263s Creating nova instance adt-resolute-amd64-glib2.0-20260208-155554-juju-7f2275-prod-proposed-migration-environment-15-8a20b40f-8d6f-4a9f-9024-8d72ab1e3145 from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)... 1343s autopkgtest [16:18:18]: testbed dpkg architecture: amd64 1343s autopkgtest [16:18:18]: testbed apt version: 3.1.14 1344s autopkgtest [16:18:19]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1344s autopkgtest [16:18:19]: testbed release detected to be: resolute 1345s autopkgtest [16:18:20]: updating testbed package index (apt update) 1345s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1345s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1345s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1345s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1345s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 1345s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 1345s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 1345s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [263 kB] 1345s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [201 kB] 1345s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6524 B] 1346s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [120 B] 1346s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [561 kB] 1346s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1458 kB] 1346s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [31.2 kB] 1346s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4320 B] 1346s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [25.2 kB] 1346s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [996 B] 1347s Fetched 4378 kB in 1s (3606 kB/s) 1348s Reading package lists... 1349s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1349s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1349s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1349s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1350s Reading package lists... 1350s Reading package lists... 1350s Building dependency tree... 1350s Reading state information... 1350s Calculating upgrade... 1351s The following package was automatically installed and is no longer required: 1351s libpython3.13 1351s Use 'sudo apt autoremove' to remove it. 1351s The following NEW packages will be installed: 1351s libpython3.14 libpython3.14-minimal libpython3.14-stdlib 1351s linux-headers-6.19.0-3 linux-headers-6.19.0-3-generic 1351s linux-image-6.19.0-3-generic linux-modules-6.19.0-3-generic 1351s linux-tools-6.19.0-3 linux-tools-6.19.0-3-generic 1351s The following packages will be upgraded: 1351s 3cpio amd64-microcode apt bpftool busybox-initramfs busybox-static dash 1351s debianutils dmsetup dpkg dpkg-dev ethtool findutils gir1.2-girepository-3.0 1351s gir1.2-glib-2.0 hwdata less libapt-pkg7.0 libattr1 libbpf1 libbsd0 1351s libdevmapper1.02.1 libdpkg-perl libdrm-amdgpu1 libdrm-common libdrm2 1351s libevent-core-2.1-7t64 libgdbm-compat4t64 libgdbm6t64 libgirepository-2.0-0 1351s libglib2.0-0t64 libglib2.0-data libgpm2 libgudev-1.0-0 libidn2-0 1351s libkeyutils1 liblsof0 libmaxminddb0 libnetfilter-conntrack3 libnpth0t64 1351s libonig5 libpcap0.8t64 libpci3 libsensors-config libsensors5 libusb-1.0-0 1351s libwrap0 libxau6 libxkbcommon0 linux-generic linux-headers-generic 1351s linux-headers-virtual linux-image-generic linux-image-virtual linux-perf 1351s linux-tools-common linux-virtual lsof man-db mawk patch pciutils pnp.ids 1351s pollinate python3-linkify-it python3-markdown-it python3-referencing sed 1351s shared-mime-info tar tcpdump ubuntu-kernel-accessories ubuntu-standard 1351s 73 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 1351s Need to get 236 MB of archives. 1351s After this operation, 338 MB of additional disk space will be used. 1351s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 debianutils amd64 5.23.2build1 [93.3 kB] 1351s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 dash amd64 0.5.12-12ubuntu3 [96.0 kB] 1351s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB] 1351s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB] 1351s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 dpkg amd64 1.23.5ubuntu1 [1288 kB] 1351s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB] 1351s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB] 1351s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB] 1351s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libbsd0 amd64 0.12.2-2build2 [42.3 kB] 1351s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB] 1351s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB] 1352s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB] 1352s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB] 1352s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 ethtool amd64 1:6.15-3build1 [318 kB] 1352s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-girepository-3.0 amd64 2.87.2-2 [25.2 kB] 1352s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 libgirepository-2.0-0 amd64 2.87.2-2 [76.1 kB] 1352s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0 amd64 2.87.2-2 [182 kB] 1352s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-0t64 amd64 2.87.2-2 [1613 kB] 1352s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB] 1352s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libbpf1 amd64 1:1.6.2-1build1 [184 kB] 1352s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-data all 2.87.2-2 [58.2 kB] 1352s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libidn2-0 amd64 2.3.8-4build1 [67.6 kB] 1352s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB] 1352s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 1352s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB] 1352s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 shared-mime-info amd64 2.4-5build3 [476 kB] 1352s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB] 1352s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B] 1352s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB] 1352s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm6t64 amd64 1.26-1build1 [36.5 kB] 1352s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB] 1352s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 lsof amd64 4.99.4+dfsg-2build2 [239 kB] 1352s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsof0 amd64 4.99.4+dfsg-2build2 [56.5 kB] 1352s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB] 1352s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libnetfilter-conntrack3 amd64 1.1.1-1 [47.5 kB] 1352s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcap0.8t64 amd64 1.10.5-2ubuntu3 [154 kB] 1352s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 pciutils amd64 1:3.14.0-1build2 [95.5 kB] 1352s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libpci3 amd64 1:3.14.0-1build2 [38.1 kB] 1352s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B] 1352s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB] 1352s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 libusb-1.0-0 amd64 2:1.0.29-2build1 [56.9 kB] 1352s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 libxau6 amd64 1:1.0.11-1build2 [7502 B] 1352s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 libxkbcommon0 amd64 1.13.1-1 [159 kB] 1352s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 man-db amd64 2.13.1-1build1 [1392 kB] 1352s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 tcpdump amd64 4.99.5-2ubuntu3 [477 kB] 1352s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-standard amd64 1.564 [13.3 kB] 1352s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 3cpio amd64 0.14.0-1ubuntu1 [285 kB] 1352s Get:48 http://ftpmaster.internal/ubuntu resolute/main amd64 bpftool amd64 7.7.0+6.19.0-3.3 [1229 kB] 1353s Get:49 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB] 1353s Get:50 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 dpkg-dev all 1.23.5ubuntu1 [1062 kB] 1353s Get:51 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libdpkg-perl all 1.23.5ubuntu1 [289 kB] 1353s Get:52 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB] 1353s Get:53 http://ftpmaster.internal/ubuntu resolute/main amd64 hwdata all 0.394-1build1 [1566 B] 1353s Get:54 http://ftpmaster.internal/ubuntu resolute/main amd64 pnp.ids all 0.394-1build1 [29.6 kB] 1353s Get:55 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB] 1353s Get:56 http://ftpmaster.internal/ubuntu resolute/main amd64 libevent-core-2.1-7t64 amd64 2.1.12-stable-10build2 [93.1 kB] 1353s Get:57 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm-compat4t64 amd64 1.26-1build1 [6796 B] 1353s Get:58 http://ftpmaster.internal/ubuntu resolute/main amd64 libgudev-1.0-0 amd64 1:238-7build1 [15.9 kB] 1353s Get:59 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B] 1353s Get:60 http://ftpmaster.internal/ubuntu resolute/main amd64 libonig5 amd64 6.9.10-1build1 [174 kB] 1353s Get:61 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.2-1 [920 kB] 1353s Get:62 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.2-1 [2398 kB] 1353s Get:63 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14 amd64 3.14.2-1 [2568 kB] 1354s Get:64 http://ftpmaster.internal/ubuntu resolute/main amd64 libwrap0 amd64 7.6.q-36build2 [48.5 kB] 1354s Get:65 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-modules-6.19.0-3-generic amd64 6.19.0-3.3 [171 MB] 1368s Get:66 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-6.19.0-3-generic amd64 6.19.0-3.3+1 [16.8 MB] 1369s Get:67 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB] 1369s Get:68 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-generic amd64 6.19.0-3.3 [1698 B] 1369s Get:69 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-generic amd64 6.19.0-3.3 [12.2 kB] 1369s Get:70 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-virtual amd64 6.19.0-3.3 [1700 B] 1369s Get:71 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-virtual amd64 6.19.0-3.3 [12.1 kB] 1369s Get:72 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-virtual amd64 6.19.0-3.3 [1646 B] 1369s Get:73 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3 all 6.19.0-3.3 [14.9 MB] 1369s Get:74 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3-generic amd64 6.19.0-3.3 [4330 kB] 1369s Get:75 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-generic amd64 6.19.0-3.3 [12.0 kB] 1369s Get:76 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-perf amd64 6.19.0-3.3 [4480 kB] 1369s Get:77 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-common all 6.19.0-3.3 [345 kB] 1369s Get:78 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3 amd64 6.19.0-3.3 [1455 kB] 1369s Get:79 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3-generic amd64 6.19.0-3.3 [1612 B] 1369s Get:80 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB] 1369s Get:81 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 1369s Get:82 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-kernel-accessories amd64 1.564 [13.1 kB] 1370s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1370s Fetched 236 MB in 19s (12.6 MB/s) 1370s (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 ... 83957 files and directories currently installed.) 1370s Preparing to unpack .../debianutils_5.23.2build1_amd64.deb ... 1370s Unpacking debianutils (5.23.2build1) over (5.23.2) ... 1370s Setting up debianutils (5.23.2build1) ... 1370s (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 ... 83957 files and directories currently installed.) 1370s Preparing to unpack .../dash_0.5.12-12ubuntu3_amd64.deb ... 1370s Unpacking dash (0.5.12-12ubuntu3) over (0.5.12-12ubuntu2) ... 1370s Setting up dash (0.5.12-12ubuntu3) ... 1370s (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 ... 83957 files and directories currently installed.) 1370s Preparing to unpack .../libapt-pkg7.0_3.1.15_amd64.deb ... 1370s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ... 1371s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ... 1371s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ... 1371s Setting up tar (1.35+dfsg-3.1build2) ... 1371s (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 ... 83957 files and directories currently installed.) 1371s Preparing to unpack .../dpkg_1.23.5ubuntu1_amd64.deb ... 1371s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1371s Setting up dpkg (1.23.5ubuntu1) ... 1371s (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 ... 83958 files and directories currently installed.) 1371s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ... 1371s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ... 1371s Setting up findutils (4.10.0-3build2) ... 1371s (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 ... 83958 files and directories currently installed.) 1371s Preparing to unpack .../sed_4.9-2build3_amd64.deb ... 1371s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 1372s Setting up sed (4.9-2build3) ... 1372s (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 ... 83958 files and directories currently installed.) 1372s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ... 1372s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ... 1372s Setting up libattr1:amd64 (1:2.5.2-3build2) ... 1372s (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 ... 83958 files and directories currently installed.) 1372s Preparing to unpack .../00-libbsd0_0.12.2-2build2_amd64.deb ... 1372s Unpacking libbsd0:amd64 (0.12.2-2build2) over (0.12.2-2build1) ... 1372s Preparing to unpack .../01-mawk_1.3.4.20260129-1_amd64.deb ... 1372s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ... 1372s Preparing to unpack .../02-apt_3.1.15_amd64.deb ... 1372s Unpacking apt (3.1.15) over (3.1.14) ... 1372s Preparing to unpack .../03-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ... 1372s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 1372s Preparing to unpack .../04-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ... 1372s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 1372s Preparing to unpack .../05-ethtool_1%3a6.15-3build1_amd64.deb ... 1372s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 1372s Preparing to unpack .../06-gir1.2-girepository-3.0_2.87.2-2_amd64.deb ... 1372s Unpacking gir1.2-girepository-3.0:amd64 (2.87.2-2) over (2.86.3-4) ... 1372s Preparing to unpack .../07-libgirepository-2.0-0_2.87.2-2_amd64.deb ... 1372s Unpacking libgirepository-2.0-0:amd64 (2.87.2-2) over (2.86.3-4) ... 1372s Preparing to unpack .../08-gir1.2-glib-2.0_2.87.2-2_amd64.deb ... 1372s Unpacking gir1.2-glib-2.0:amd64 (2.87.2-2) over (2.86.3-4) ... 1372s Preparing to unpack .../09-libglib2.0-0t64_2.87.2-2_amd64.deb ... 1372s Unpacking libglib2.0-0t64:amd64 (2.87.2-2) over (2.86.3-4) ... 1373s Preparing to unpack .../10-less_668-1build1_amd64.deb ... 1373s Unpacking less (668-1build1) over (668-1) ... 1373s Preparing to unpack .../11-libbpf1_1%3a1.6.2-1build1_amd64.deb ... 1373s Unpacking libbpf1:amd64 (1:1.6.2-1build1) over (1:1.6.2-1) ... 1373s Preparing to unpack .../12-libglib2.0-data_2.87.2-2_all.deb ... 1373s Unpacking libglib2.0-data (2.87.2-2) over (2.86.3-4) ... 1373s Preparing to unpack .../13-libidn2-0_2.3.8-4build1_amd64.deb ... 1373s Unpacking libidn2-0:amd64 (2.3.8-4build1) over (2.3.8-4) ... 1373s Preparing to unpack .../14-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ... 1373s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ... 1373s Preparing to unpack .../15-python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 1373s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 1373s Preparing to unpack .../16-python3-markdown-it_3.0.0-3build1_all.deb ... 1373s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ... 1373s Preparing to unpack .../17-shared-mime-info_2.4-5build3_amd64.deb ... 1373s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 1373s Preparing to unpack .../18-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ... 1373s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 1373s Preparing to unpack .../19-libdrm-common_2.4.131-1_all.deb ... 1373s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ... 1373s Preparing to unpack .../20-libdrm2_2.4.131-1_amd64.deb ... 1373s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ... 1373s Preparing to unpack .../21-libgdbm6t64_1.26-1build1_amd64.deb ... 1373s Unpacking libgdbm6t64:amd64 (1.26-1build1) over (1.26-1) ... 1373s Preparing to unpack .../22-libgpm2_1.20.7-12build1_amd64.deb ... 1373s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ... 1374s Preparing to unpack .../23-lsof_4.99.4+dfsg-2build2_amd64.deb ... 1374s Unpacking lsof (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 1374s Preparing to unpack .../24-liblsof0_4.99.4+dfsg-2build2_amd64.deb ... 1374s Unpacking liblsof0 (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 1374s Preparing to unpack .../25-libmaxminddb0_1.12.2-1build2_amd64.deb ... 1374s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ... 1374s Preparing to unpack .../26-libnetfilter-conntrack3_1.1.1-1_amd64.deb ... 1374s Unpacking libnetfilter-conntrack3:amd64 (1.1.1-1) over (1.1.0-1build1) ... 1374s Preparing to unpack .../27-libpcap0.8t64_1.10.5-2ubuntu3_amd64.deb ... 1374s Unpacking libpcap0.8t64:amd64 (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 1374s Preparing to unpack .../28-pciutils_1%3a3.14.0-1build2_amd64.deb ... 1374s Unpacking pciutils (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 1374s Preparing to unpack .../29-libpci3_1%3a3.14.0-1build2_amd64.deb ... 1374s Unpacking libpci3:amd64 (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 1374s Preparing to unpack .../30-libsensors-config_1%3a3.6.2-2build1_all.deb ... 1374s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ... 1374s Preparing to unpack .../31-libsensors5_1%3a3.6.2-2build1_amd64.deb ... 1374s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ... 1374s Preparing to unpack .../32-libusb-1.0-0_2%3a1.0.29-2build1_amd64.deb ... 1374s Unpacking libusb-1.0-0:amd64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 1374s Preparing to unpack .../33-libxau6_1%3a1.0.11-1build2_amd64.deb ... 1374s Unpacking libxau6:amd64 (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 1374s Preparing to unpack .../34-libxkbcommon0_1.13.1-1_amd64.deb ... 1374s Unpacking libxkbcommon0:amd64 (1.13.1-1) over (1.12.3-1) ... 1374s Preparing to unpack .../35-man-db_2.13.1-1build1_amd64.deb ... 1374s Unpacking man-db (2.13.1-1build1) over (2.13.1-1) ... 1374s Preparing to unpack .../36-tcpdump_4.99.5-2ubuntu3_amd64.deb ... 1374s Unpacking tcpdump (4.99.5-2ubuntu3) over (4.99.5-2ubuntu2) ... 1375s Preparing to unpack .../37-ubuntu-standard_1.564_amd64.deb ... 1375s Unpacking ubuntu-standard (1.564) over (1.563) ... 1375s Preparing to unpack .../38-3cpio_0.14.0-1ubuntu1_amd64.deb ... 1375s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 1375s Preparing to unpack .../39-bpftool_7.7.0+6.19.0-3.3_amd64.deb ... 1375s Unpacking bpftool (7.7.0+6.19.0-3.3) over (7.7.0+6.18.0-9.9) ... 1375s Preparing to unpack .../40-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ... 1375s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 1375s Preparing to unpack .../41-dpkg-dev_1.23.5ubuntu1_all.deb ... 1375s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1375s Preparing to unpack .../42-libdpkg-perl_1.23.5ubuntu1_all.deb ... 1375s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1375s Preparing to unpack .../43-patch_2.8-2build1_amd64.deb ... 1375s Unpacking patch (2.8-2build1) over (2.8-2) ... 1375s Preparing to unpack .../44-hwdata_0.394-1build1_all.deb ... 1375s Unpacking hwdata (0.394-1build1) over (0.394-1) ... 1375s Preparing to unpack .../45-pnp.ids_0.394-1build1_all.deb ... 1375s Unpacking pnp.ids (0.394-1build1) over (0.394-1) ... 1375s Preparing to unpack .../46-libdrm-amdgpu1_2.4.131-1_amd64.deb ... 1375s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ... 1375s Preparing to unpack .../47-libevent-core-2.1-7t64_2.1.12-stable-10build2_amd64.deb ... 1375s Unpacking libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 1375s Preparing to unpack .../48-libgdbm-compat4t64_1.26-1build1_amd64.deb ... 1375s Unpacking libgdbm-compat4t64:amd64 (1.26-1build1) over (1.26-1) ... 1375s Preparing to unpack .../49-libgudev-1.0-0_1%3a238-7build1_amd64.deb ... 1375s Unpacking libgudev-1.0-0:amd64 (1:238-7build1) over (1:238-7) ... 1375s Preparing to unpack .../50-libnpth0t64_1.8-3build1_amd64.deb ... 1375s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ... 1375s Preparing to unpack .../51-libonig5_6.9.10-1build1_amd64.deb ... 1375s Unpacking libonig5:amd64 (6.9.10-1build1) over (6.9.10-1) ... 1375s Selecting previously unselected package libpython3.14-minimal:amd64. 1375s Preparing to unpack .../52-libpython3.14-minimal_3.14.2-1_amd64.deb ... 1375s Unpacking libpython3.14-minimal:amd64 (3.14.2-1) ... 1376s Selecting previously unselected package libpython3.14-stdlib:amd64. 1376s Preparing to unpack .../53-libpython3.14-stdlib_3.14.2-1_amd64.deb ... 1376s Unpacking libpython3.14-stdlib:amd64 (3.14.2-1) ... 1376s Selecting previously unselected package libpython3.14:amd64. 1376s Preparing to unpack .../54-libpython3.14_3.14.2-1_amd64.deb ... 1376s Unpacking libpython3.14:amd64 (3.14.2-1) ... 1376s Preparing to unpack .../55-libwrap0_7.6.q-36build2_amd64.deb ... 1376s Unpacking libwrap0:amd64 (7.6.q-36build2) over (7.6.q-36build1) ... 1376s Selecting previously unselected package linux-modules-6.19.0-3-generic. 1376s Preparing to unpack .../56-linux-modules-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 1376s Unpacking linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 1377s Selecting previously unselected package linux-image-6.19.0-3-generic. 1377s Preparing to unpack .../57-linux-image-6.19.0-3-generic_6.19.0-3.3+1_amd64.deb ... 1377s Unpacking linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 1378s Preparing to unpack .../58-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ... 1378s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ... 1378s Preparing to unpack .../59-linux-generic_6.19.0-3.3_amd64.deb ... 1378s Unpacking linux-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 1378s Preparing to unpack .../60-linux-image-generic_6.19.0-3.3_amd64.deb ... 1378s Unpacking linux-image-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 1378s Preparing to unpack .../61-linux-virtual_6.19.0-3.3_amd64.deb ... 1378s Unpacking linux-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 1378s Preparing to unpack .../62-linux-image-virtual_6.19.0-3.3_amd64.deb ... 1378s Unpacking linux-image-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 1378s Preparing to unpack .../63-linux-headers-virtual_6.19.0-3.3_amd64.deb ... 1378s Unpacking linux-headers-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 1378s Selecting previously unselected package linux-headers-6.19.0-3. 1378s Preparing to unpack .../64-linux-headers-6.19.0-3_6.19.0-3.3_all.deb ... 1378s Unpacking linux-headers-6.19.0-3 (6.19.0-3.3) ... 1380s Selecting previously unselected package linux-headers-6.19.0-3-generic. 1380s Preparing to unpack .../65-linux-headers-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 1380s Unpacking linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 1381s Preparing to unpack .../66-linux-headers-generic_6.19.0-3.3_amd64.deb ... 1381s Unpacking linux-headers-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 1381s Preparing to unpack .../67-linux-perf_6.19.0-3.3_amd64.deb ... 1381s Unpacking linux-perf (6.19.0-3.3) over (6.18.0-9.9) ... 1381s Preparing to unpack .../68-linux-tools-common_6.19.0-3.3_all.deb ... 1381s Unpacking linux-tools-common (6.19.0-3.3) over (6.18.0-9.9) ... 1381s Selecting previously unselected package linux-tools-6.19.0-3. 1381s Preparing to unpack .../69-linux-tools-6.19.0-3_6.19.0-3.3_amd64.deb ... 1381s Unpacking linux-tools-6.19.0-3 (6.19.0-3.3) ... 1381s Selecting previously unselected package linux-tools-6.19.0-3-generic. 1381s Preparing to unpack .../70-linux-tools-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 1381s Unpacking linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 1381s Preparing to unpack .../71-pollinate_4.33-4ubuntu5_all.deb ... 1381s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 1382s Preparing to unpack .../72-python3-referencing_0.36.2-1ubuntu2_all.deb ... 1382s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 1382s Preparing to unpack .../73-ubuntu-kernel-accessories_1.564_amd64.deb ... 1382s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 1382s Setting up 3cpio (0.14.0-1ubuntu1) ... 1382s Setting up libxau6:amd64 (1:1.0.11-1build2) ... 1382s Setting up libnpth0t64:amd64 (1.8-3build1) ... 1382s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ... 1382s Setting up ubuntu-kernel-accessories (1.564) ... 1382s Setting up libgpm2:amd64 (1.20.7-12build1) ... 1382s Setting up libgdbm6t64:amd64 (1.26-1build1) ... 1382s Setting up linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 1384s Setting up libgdbm-compat4t64:amd64 (1.26-1build1) ... 1384s Setting up bpftool (7.7.0+6.19.0-3.3) ... 1384s Setting up liblsof0 (4.99.4+dfsg-2build2) ... 1384s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ... 1384s Setting up libpython3.14-minimal:amd64 (3.14.2-1) ... 1384s Setting up libsensors-config (1:3.6.2-2build1) ... 1384s Setting up less (668-1build1) ... 1384s Setting up linux-headers-6.19.0-3 (6.19.0-3.3) ... 1384s Setting up libidn2-0:amd64 (2.3.8-4build1) ... 1384s Setting up amd64-microcode (3.20251202.1ubuntu1) ... 1384s amd64-microcode: microcode will be updated at next boot 1384s Setting up man-db (2.13.1-1build1) ... 1384s Updating database of manual pages ... 1387s man-db.service is a disabled or a static unit not running, not starting it. 1387s Setting up libglib2.0-0t64:amd64 (2.87.2-2) ... 1387s No schema files found: doing nothing. 1387s Setting up libglib2.0-data (2.87.2-2) ... 1387s Setting up pollinate (4.33-4ubuntu5) ... 1398s Setting up busybox-static (1:1.37.0-7ubuntu1) ... 1398s Setting up libwrap0:amd64 (7.6.q-36build2) ... 1398s Setting up linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 1400s I: /boot/vmlinuz is now a symlink to vmlinuz-6.19.0-3-generic 1400s I: /boot/initrd.img is now a symlink to initrd.img-6.19.0-3-generic 1400s Setting up shared-mime-info (2.4-5build3) ... 1401s Setting up patch (2.8-2build1) ... 1401s Setting up gir1.2-glib-2.0:amd64 (2.87.2-2) ... 1401s Setting up libsensors5:amd64 (1:3.6.2-2build1) ... 1401s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ... 1401s Setting up libdpkg-perl (1.23.5ubuntu1) ... 1401s Setting up lsof (4.99.4+dfsg-2build2) ... 1401s Setting up libpci3:amd64 (1:3.14.0-1build2) ... 1402s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ... 1402s Setting up dmsetup (2:1.02.205-2ubuntu3) ... 1402s Setting up libnetfilter-conntrack3:amd64 (1.1.1-1) ... 1402s Setting up pnp.ids (0.394-1build1) ... 1402s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 1402s Setting up libpcap0.8t64:amd64 (1.10.5-2ubuntu3) ... 1402s Setting up mawk (1.3.4.20260129-1) ... 1402s Setting up libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) ... 1402s Setting up libusb-1.0-0:amd64 (2:1.0.29-2build1) ... 1402s Setting up libapt-pkg7.0:amd64 (3.1.15) ... 1402s Setting up linux-image-virtual (6.19.0-3.3) ... 1402s Setting up libbsd0:amd64 (0.12.2-2build2) ... 1402s Setting up libdrm-common (2.4.131-1) ... 1402s Setting up libonig5:amd64 (6.9.10-1build1) ... 1402s Setting up libgudev-1.0-0:amd64 (1:238-7build1) ... 1402s Setting up libbpf1:amd64 (1:1.6.2-1build1) ... 1402s Setting up ethtool (1:6.15-3build1) ... 1402s Setting up python3-referencing (0.36.2-1ubuntu2) ... 1402s Setting up libxkbcommon0:amd64 (1.13.1-1) ... 1402s Setting up linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 1402s Setting up tcpdump (4.99.5-2ubuntu3) ... 1402s Setting up linux-image-generic (6.19.0-3.3) ... 1402s Setting up apt (3.1.15) ... 1403s Setting up libgirepository-2.0-0:amd64 (2.87.2-2) ... 1403s Setting up libpython3.14-stdlib:amd64 (3.14.2-1) ... 1403s Setting up linux-headers-generic (6.19.0-3.3) ... 1403s Setting up gir1.2-girepository-3.0:amd64 (2.87.2-2) ... 1403s Setting up dpkg-dev (1.23.5ubuntu1) ... 1403s Setting up hwdata (0.394-1build1) ... 1403s Setting up pciutils (1:3.14.0-1build2) ... 1403s Setting up python3-markdown-it (3.0.0-3build1) ... 1403s Setting up libdrm2:amd64 (2.4.131-1) ... 1403s Setting up libpython3.14:amd64 (3.14.2-1) ... 1403s Setting up linux-tools-common (6.19.0-3.3) ... 1403s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ... 1403s Setting up linux-headers-virtual (6.19.0-3.3) ... 1403s Setting up linux-generic (6.19.0-3.3) ... 1403s Setting up linux-tools-6.19.0-3 (6.19.0-3.3) ... 1403s Setting up ubuntu-standard (1.564) ... 1403s Setting up linux-virtual (6.19.0-3.3) ... 1403s Setting up linux-perf (6.19.0-3.3) ... 1403s Setting up linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 1403s Processing triggers for debianutils (5.23.2build1) ... 1403s Processing triggers for install-info (7.2-5) ... 1403s Processing triggers for initramfs-tools (0.150ubuntu7) ... 1403s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 1411s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1411s Processing triggers for linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 1411s /etc/kernel/postinst.d/initramfs-tools: 1411s update-initramfs: Generating /boot/initrd.img-6.19.0-3-generic 1419s /etc/kernel/postinst.d/zz-update-grub: 1419s Sourcing file `/etc/default/grub' 1419s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 1419s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 1419s Generating grub configuration file ... 1419s Found linux image: /boot/vmlinuz-6.19.0-3-generic 1419s Found initrd image: /boot/initrd.img-6.19.0-3-generic 1419s Found linux image: /boot/vmlinuz-6.18.0-9-generic 1419s Found initrd image: /boot/initrd.img-6.18.0-9-generic 1419s Warning: os-prober will not be executed to detect other bootable partitions. 1419s Systems on them will not be added to the GRUB boot configuration. 1419s Check GRUB_DISABLE_OS_PROBER documentation entry. 1419s Adding boot menu entry for UEFI Firmware Settings ... 1419s done 1420s autopkgtest [16:19:35]: upgrading testbed (apt dist-upgrade and autopurge) 1421s Reading package lists... 1421s Building dependency tree... 1421s Reading state information... 1421s Calculating upgrade... 1421s The following package was automatically installed and is no longer required: 1421s libpython3.13 1421s Use 'sudo apt autoremove' to remove it. 1421s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1422s Reading package lists... 1422s Building dependency tree... 1422s Reading state information... 1422s Solving dependencies... 1422s The following packages will be REMOVED: 1422s libpython3.13* 1422s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1422s After this operation, 7599 kB disk space will be freed. 1422s (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 ... 125259 files and directories currently installed.) 1422s Removing libpython3.13:amd64 (3.13.11-1) ... 1423s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1423s autopkgtest [16:19:38]: rebooting testbed after setup commands that affected boot 1459s Reading package lists... 1460s Building dependency tree... 1460s Reading state information... 1460s Solving dependencies... 1460s The following NEW packages will be installed: 1460s build-essential cpp cpp-15 cpp-15-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 1460s g++-15 g++-15-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-15 1460s gcc-15-x86-64-linux-gnu gcc-x86-64-linux-gnu gir1.2-glib-2.0-dev 1460s girepository-tools libasan8 libblkid-dev libc-dev-bin libc6-dev libcc1-0 1460s libcrypt-dev libffi-dev libgcc-15-dev libgio-2.0-dev libgio-2.0-dev-bin 1460s libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0 1460s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 1460s libpcre2-dev libpcre2-posix3 libpkgconf3 libquadmath0 libselinux-dev 1460s libsepol-dev libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 1460s linux-libc-dev native-architecture pkgconf pkgconf-bin rpcsvc-proto uuid-dev 1460s zlib1g-dev 1460s 0 upgraded, 54 newly installed, 0 to remove and 0 not upgraded. 1460s Need to get 80.6 MB of archives. 1460s After this operation, 295 MB of additional disk space will be used. 1460s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libc-dev-bin amd64 2.42-2ubuntu4 [23.3 kB] 1460s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-libc-dev amd64 6.19.0-3.3 [1846 kB] 1461s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libcrypt-dev amd64 1:4.5.1-1 [122 kB] 1461s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 rpcsvc-proto amd64 1.4.3-1build1 [68.3 kB] 1461s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 libc6-dev amd64 2.42-2ubuntu4 [2207 kB] 1461s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libisl23 amd64 0.27-1build1 [691 kB] 1461s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libmpc3 amd64 1.3.1-2 [54.8 kB] 1461s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15-x86-64-linux-gnu amd64 15.2.0-12ubuntu1 [12.9 MB] 1462s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15 amd64 15.2.0-12ubuntu1 [1034 B] 1462s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [5746 B] 1462s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp amd64 4:15.2.0-4ubuntu1 [22.4 kB] 1462s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libcc1-0 amd64 15.2.0-12ubuntu1 [47.4 kB] 1462s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 libgomp1 amd64 15.2.0-12ubuntu1 [151 kB] 1462s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libitm1 amd64 15.2.0-12ubuntu1 [29.5 kB] 1462s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 libasan8 amd64 15.2.0-12ubuntu1 [3070 kB] 1462s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsan0 amd64 15.2.0-12ubuntu1 [1360 kB] 1462s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 libtsan2 amd64 15.2.0-12ubuntu1 [2757 kB] 1462s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 libubsan1 amd64 15.2.0-12ubuntu1 [1210 kB] 1462s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libhwasan0 amd64 15.2.0-12ubuntu1 [1685 kB] 1462s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libquadmath0 amd64 15.2.0-12ubuntu1 [153 kB] 1462s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libgcc-15-dev amd64 15.2.0-12ubuntu1 [2866 kB] 1463s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15-x86-64-linux-gnu amd64 15.2.0-12ubuntu1 [25.4 MB] 1464s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15 amd64 15.2.0-12ubuntu1 [530 kB] 1464s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [1208 B] 1464s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc amd64 4:15.2.0-4ubuntu1 [5024 B] 1464s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 libstdc++-15-dev amd64 15.2.0-12ubuntu1 [2553 kB] 1464s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15-x86-64-linux-gnu amd64 15.2.0-12ubuntu1 [14.4 MB] 1465s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15 amd64 15.2.0-12ubuntu1 [25.3 kB] 1465s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [966 B] 1465s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 g++ amd64 4:15.2.0-4ubuntu1 [1100 B] 1465s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 build-essential amd64 12.12ubuntu2 [5256 B] 1465s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0-dev amd64 2.87.2-2 [866 kB] 1465s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 native-architecture all 0.2.6build1 [2256 B] 1465s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 girepository-tools amd64 2.87.2-2 [111 kB] 1465s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libffi-dev amd64 3.5.2-3 [66.5 kB] 1465s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 uuid-dev amd64 2.41.2-4ubuntu2 [56.8 kB] 1465s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 libblkid-dev amd64 2.41.2-4ubuntu2 [234 kB] 1465s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libsepol-dev amd64 3.9-2 [409 kB] 1465s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-16-0 amd64 10.46-1 [243 kB] 1465s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-32-0 amd64 10.46-1 [230 kB] 1465s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-posix3 amd64 10.46-1 [7354 B] 1465s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-dev amd64 10.46-1 [832 kB] 1465s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 libselinux-dev amd64 3.9-4 [176 kB] 1465s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 libmount-dev amd64 2.41.2-4ubuntu2 [37.6 kB] 1465s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 libsysprof-capture-4-dev amd64 49.0-5 [53.6 kB] 1465s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 libpkgconf3 amd64 1.8.1-4build1 [32.8 kB] 1465s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 pkgconf-bin amd64 1.8.1-4build1 [21.7 kB] 1465s Get:48 http://ftpmaster.internal/ubuntu resolute/main amd64 pkgconf amd64 1.8.1-4build1 [16.8 kB] 1465s Get:49 http://ftpmaster.internal/ubuntu resolute/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu2 [898 kB] 1465s Get:50 http://ftpmaster.internal/ubuntu resolute/main amd64 libgio-2.0-dev amd64 2.87.2-2 [1822 kB] 1465s Get:51 http://ftpmaster.internal/ubuntu resolute/main amd64 libgio-2.0-dev-bin amd64 2.87.2-2 [130 kB] 1465s Get:52 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-bin amd64 2.87.2-2 [99.6 kB] 1465s Get:53 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-dev-bin amd64 2.87.2-2 [18.1 kB] 1465s Get:54 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-dev amd64 2.87.2-2 [18.8 kB] 1465s Fetched 80.6 MB in 5s (16.7 MB/s) 1465s Selecting previously unselected package libc-dev-bin. 1466s (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 ... 125255 files and directories currently installed.) 1466s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu4_amd64.deb ... 1466s Unpacking libc-dev-bin (2.42-2ubuntu4) ... 1466s Selecting previously unselected package linux-libc-dev:amd64. 1466s Preparing to unpack .../01-linux-libc-dev_6.19.0-3.3_amd64.deb ... 1466s Unpacking linux-libc-dev:amd64 (6.19.0-3.3) ... 1466s Selecting previously unselected package libcrypt-dev:amd64. 1466s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_amd64.deb ... 1466s Unpacking libcrypt-dev:amd64 (1:4.5.1-1) ... 1466s Selecting previously unselected package rpcsvc-proto. 1466s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_amd64.deb ... 1466s Unpacking rpcsvc-proto (1.4.3-1build1) ... 1466s Selecting previously unselected package libc6-dev:amd64. 1466s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu4_amd64.deb ... 1466s Unpacking libc6-dev:amd64 (2.42-2ubuntu4) ... 1466s Selecting previously unselected package libisl23:amd64. 1466s Preparing to unpack .../05-libisl23_0.27-1build1_amd64.deb ... 1466s Unpacking libisl23:amd64 (0.27-1build1) ... 1466s Selecting previously unselected package libmpc3:amd64. 1466s Preparing to unpack .../06-libmpc3_1.3.1-2_amd64.deb ... 1466s Unpacking libmpc3:amd64 (1.3.1-2) ... 1466s Selecting previously unselected package cpp-15-x86-64-linux-gnu. 1466s Preparing to unpack .../07-cpp-15-x86-64-linux-gnu_15.2.0-12ubuntu1_amd64.deb ... 1466s Unpacking cpp-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ... 1466s Selecting previously unselected package cpp-15. 1466s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_amd64.deb ... 1466s Unpacking cpp-15 (15.2.0-12ubuntu1) ... 1466s Selecting previously unselected package cpp-x86-64-linux-gnu. 1466s Preparing to unpack .../09-cpp-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 1466s Unpacking cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 1466s Selecting previously unselected package cpp. 1466s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_amd64.deb ... 1466s Unpacking cpp (4:15.2.0-4ubuntu1) ... 1466s Selecting previously unselected package libcc1-0:amd64. 1466s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_amd64.deb ... 1466s Unpacking libcc1-0:amd64 (15.2.0-12ubuntu1) ... 1466s Selecting previously unselected package libgomp1:amd64. 1467s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_amd64.deb ... 1467s Unpacking libgomp1:amd64 (15.2.0-12ubuntu1) ... 1467s Selecting previously unselected package libitm1:amd64. 1467s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_amd64.deb ... 1467s Unpacking libitm1:amd64 (15.2.0-12ubuntu1) ... 1467s Selecting previously unselected package libasan8:amd64. 1467s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_amd64.deb ... 1467s Unpacking libasan8:amd64 (15.2.0-12ubuntu1) ... 1467s Selecting previously unselected package liblsan0:amd64. 1467s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_amd64.deb ... 1467s Unpacking liblsan0:amd64 (15.2.0-12ubuntu1) ... 1467s Selecting previously unselected package libtsan2:amd64. 1467s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_amd64.deb ... 1467s Unpacking libtsan2:amd64 (15.2.0-12ubuntu1) ... 1467s Selecting previously unselected package libubsan1:amd64. 1467s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_amd64.deb ... 1467s Unpacking libubsan1:amd64 (15.2.0-12ubuntu1) ... 1467s Selecting previously unselected package libhwasan0:amd64. 1467s Preparing to unpack .../18-libhwasan0_15.2.0-12ubuntu1_amd64.deb ... 1467s Unpacking libhwasan0:amd64 (15.2.0-12ubuntu1) ... 1467s Selecting previously unselected package libquadmath0:amd64. 1467s Preparing to unpack .../19-libquadmath0_15.2.0-12ubuntu1_amd64.deb ... 1467s Unpacking libquadmath0:amd64 (15.2.0-12ubuntu1) ... 1467s Selecting previously unselected package libgcc-15-dev:amd64. 1467s Preparing to unpack .../20-libgcc-15-dev_15.2.0-12ubuntu1_amd64.deb ... 1467s Unpacking libgcc-15-dev:amd64 (15.2.0-12ubuntu1) ... 1467s Selecting previously unselected package gcc-15-x86-64-linux-gnu. 1467s Preparing to unpack .../21-gcc-15-x86-64-linux-gnu_15.2.0-12ubuntu1_amd64.deb ... 1467s Unpacking gcc-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ... 1467s Selecting previously unselected package gcc-15. 1467s Preparing to unpack .../22-gcc-15_15.2.0-12ubuntu1_amd64.deb ... 1467s Unpacking gcc-15 (15.2.0-12ubuntu1) ... 1467s Selecting previously unselected package gcc-x86-64-linux-gnu. 1467s Preparing to unpack .../23-gcc-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 1467s Unpacking gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 1467s Selecting previously unselected package gcc. 1467s Preparing to unpack .../24-gcc_4%3a15.2.0-4ubuntu1_amd64.deb ... 1467s Unpacking gcc (4:15.2.0-4ubuntu1) ... 1468s Selecting previously unselected package libstdc++-15-dev:amd64. 1468s Preparing to unpack .../25-libstdc++-15-dev_15.2.0-12ubuntu1_amd64.deb ... 1468s Unpacking libstdc++-15-dev:amd64 (15.2.0-12ubuntu1) ... 1468s Selecting previously unselected package g++-15-x86-64-linux-gnu. 1468s Preparing to unpack .../26-g++-15-x86-64-linux-gnu_15.2.0-12ubuntu1_amd64.deb ... 1468s Unpacking g++-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ... 1468s Selecting previously unselected package g++-15. 1468s Preparing to unpack .../27-g++-15_15.2.0-12ubuntu1_amd64.deb ... 1468s Unpacking g++-15 (15.2.0-12ubuntu1) ... 1468s Selecting previously unselected package g++-x86-64-linux-gnu. 1468s Preparing to unpack .../28-g++-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 1468s Unpacking g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 1468s Selecting previously unselected package g++. 1468s Preparing to unpack .../29-g++_4%3a15.2.0-4ubuntu1_amd64.deb ... 1468s Unpacking g++ (4:15.2.0-4ubuntu1) ... 1468s Selecting previously unselected package build-essential. 1468s Preparing to unpack .../30-build-essential_12.12ubuntu2_amd64.deb ... 1468s Unpacking build-essential (12.12ubuntu2) ... 1468s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 1468s Preparing to unpack .../31-gir1.2-glib-2.0-dev_2.87.2-2_amd64.deb ... 1468s Unpacking gir1.2-glib-2.0-dev:amd64 (2.87.2-2) ... 1468s Selecting previously unselected package native-architecture. 1468s Preparing to unpack .../32-native-architecture_0.2.6build1_all.deb ... 1468s Unpacking native-architecture (0.2.6build1) ... 1468s Selecting previously unselected package girepository-tools:amd64. 1468s Preparing to unpack .../33-girepository-tools_2.87.2-2_amd64.deb ... 1468s Unpacking girepository-tools:amd64 (2.87.2-2) ... 1468s Selecting previously unselected package libffi-dev:amd64. 1468s Preparing to unpack .../34-libffi-dev_3.5.2-3_amd64.deb ... 1468s Unpacking libffi-dev:amd64 (3.5.2-3) ... 1468s Selecting previously unselected package uuid-dev:amd64. 1468s Preparing to unpack .../35-uuid-dev_2.41.2-4ubuntu2_amd64.deb ... 1468s Unpacking uuid-dev:amd64 (2.41.2-4ubuntu2) ... 1468s Selecting previously unselected package libblkid-dev:amd64. 1468s Preparing to unpack .../36-libblkid-dev_2.41.2-4ubuntu2_amd64.deb ... 1468s Unpacking libblkid-dev:amd64 (2.41.2-4ubuntu2) ... 1468s Selecting previously unselected package libsepol-dev:amd64. 1468s Preparing to unpack .../37-libsepol-dev_3.9-2_amd64.deb ... 1468s Unpacking libsepol-dev:amd64 (3.9-2) ... 1468s Selecting previously unselected package libpcre2-16-0:amd64. 1468s Preparing to unpack .../38-libpcre2-16-0_10.46-1_amd64.deb ... 1468s Unpacking libpcre2-16-0:amd64 (10.46-1) ... 1468s Selecting previously unselected package libpcre2-32-0:amd64. 1468s Preparing to unpack .../39-libpcre2-32-0_10.46-1_amd64.deb ... 1468s Unpacking libpcre2-32-0:amd64 (10.46-1) ... 1468s Selecting previously unselected package libpcre2-posix3:amd64. 1468s Preparing to unpack .../40-libpcre2-posix3_10.46-1_amd64.deb ... 1468s Unpacking libpcre2-posix3:amd64 (10.46-1) ... 1468s Selecting previously unselected package libpcre2-dev:amd64. 1468s Preparing to unpack .../41-libpcre2-dev_10.46-1_amd64.deb ... 1468s Unpacking libpcre2-dev:amd64 (10.46-1) ... 1468s Selecting previously unselected package libselinux-dev:amd64. 1468s Preparing to unpack .../42-libselinux-dev_3.9-4_amd64.deb ... 1468s Unpacking libselinux-dev:amd64 (3.9-4) ... 1468s Selecting previously unselected package libmount-dev:amd64. 1468s Preparing to unpack .../43-libmount-dev_2.41.2-4ubuntu2_amd64.deb ... 1468s Unpacking libmount-dev:amd64 (2.41.2-4ubuntu2) ... 1468s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 1468s Preparing to unpack .../44-libsysprof-capture-4-dev_49.0-5_amd64.deb ... 1468s Unpacking libsysprof-capture-4-dev:amd64 (49.0-5) ... 1468s Selecting previously unselected package libpkgconf3:amd64. 1468s Preparing to unpack .../45-libpkgconf3_1.8.1-4build1_amd64.deb ... 1468s Unpacking libpkgconf3:amd64 (1.8.1-4build1) ... 1469s Selecting previously unselected package pkgconf-bin. 1469s Preparing to unpack .../46-pkgconf-bin_1.8.1-4build1_amd64.deb ... 1469s Unpacking pkgconf-bin (1.8.1-4build1) ... 1469s Selecting previously unselected package pkgconf:amd64. 1469s Preparing to unpack .../47-pkgconf_1.8.1-4build1_amd64.deb ... 1469s Unpacking pkgconf:amd64 (1.8.1-4build1) ... 1469s Selecting previously unselected package zlib1g-dev:amd64. 1469s Preparing to unpack .../48-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_amd64.deb ... 1469s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 1469s Selecting previously unselected package libgio-2.0-dev:amd64. 1469s Preparing to unpack .../49-libgio-2.0-dev_2.87.2-2_amd64.deb ... 1469s Unpacking libgio-2.0-dev:amd64 (2.87.2-2) ... 1469s Selecting previously unselected package libgio-2.0-dev-bin. 1469s Preparing to unpack .../50-libgio-2.0-dev-bin_2.87.2-2_amd64.deb ... 1469s Unpacking libgio-2.0-dev-bin (2.87.2-2) ... 1469s Selecting previously unselected package libglib2.0-bin. 1469s Preparing to unpack .../51-libglib2.0-bin_2.87.2-2_amd64.deb ... 1469s Unpacking libglib2.0-bin (2.87.2-2) ... 1469s Selecting previously unselected package libglib2.0-dev-bin. 1469s Preparing to unpack .../52-libglib2.0-dev-bin_2.87.2-2_amd64.deb ... 1469s Unpacking libglib2.0-dev-bin (2.87.2-2) ... 1469s Selecting previously unselected package libglib2.0-dev:amd64. 1469s Preparing to unpack .../53-libglib2.0-dev_2.87.2-2_amd64.deb ... 1469s Unpacking libglib2.0-dev:amd64 (2.87.2-2) ... 1469s Setting up libgio-2.0-dev-bin (2.87.2-2) ... 1469s Setting up native-architecture (0.2.6build1) ... 1469s Setting up linux-libc-dev:amd64 (6.19.0-3.3) ... 1469s Setting up libglib2.0-bin (2.87.2-2) ... 1469s Setting up libgomp1:amd64 (15.2.0-12ubuntu1) ... 1469s Setting up libffi-dev:amd64 (3.5.2-3) ... 1469s Setting up libpcre2-16-0:amd64 (10.46-1) ... 1469s Setting up libsysprof-capture-4-dev:amd64 (49.0-5) ... 1469s Setting up libpcre2-32-0:amd64 (10.46-1) ... 1469s Setting up libpkgconf3:amd64 (1.8.1-4build1) ... 1469s Setting up rpcsvc-proto (1.4.3-1build1) ... 1469s Setting up libquadmath0:amd64 (15.2.0-12ubuntu1) ... 1469s Setting up libmpc3:amd64 (1.3.1-2) ... 1469s Setting up libsepol-dev:amd64 (3.9-2) ... 1469s Setting up pkgconf-bin (1.8.1-4build1) ... 1469s Setting up libubsan1:amd64 (15.2.0-12ubuntu1) ... 1469s Setting up libpcre2-posix3:amd64 (10.46-1) ... 1469s Setting up gir1.2-glib-2.0-dev:amd64 (2.87.2-2) ... 1469s Setting up libhwasan0:amd64 (15.2.0-12ubuntu1) ... 1469s Setting up libcrypt-dev:amd64 (1:4.5.1-1) ... 1469s Setting up libasan8:amd64 (15.2.0-12ubuntu1) ... 1469s Setting up libtsan2:amd64 (15.2.0-12ubuntu1) ... 1469s Setting up libisl23:amd64 (0.27-1build1) ... 1469s Setting up libc-dev-bin (2.42-2ubuntu4) ... 1469s Setting up libcc1-0:amd64 (15.2.0-12ubuntu1) ... 1469s Setting up liblsan0:amd64 (15.2.0-12ubuntu1) ... 1469s Setting up libitm1:amd64 (15.2.0-12ubuntu1) ... 1469s Setting up girepository-tools:amd64 (2.87.2-2) ... 1469s Setting up libgcc-15-dev:amd64 (15.2.0-12ubuntu1) ... 1469s Setting up cpp-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ... 1469s Setting up pkgconf:amd64 (1.8.1-4build1) ... 1469s Setting up gcc-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ... 1469s Setting up cpp-15 (15.2.0-12ubuntu1) ... 1469s Setting up libc6-dev:amd64 (2.42-2ubuntu4) ... 1469s Setting up cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 1469s Setting up libglib2.0-dev-bin (2.87.2-2) ... 1469s Setting up libpcre2-dev:amd64 (10.46-1) ... 1469s Setting up gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 1469s Setting up gcc-15 (15.2.0-12ubuntu1) ... 1469s Setting up libstdc++-15-dev:amd64 (15.2.0-12ubuntu1) ... 1469s Setting up uuid-dev:amd64 (2.41.2-4ubuntu2) ... 1469s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 1469s Setting up cpp (4:15.2.0-4ubuntu1) ... 1469s Setting up libselinux-dev:amd64 (3.9-4) ... 1469s Setting up libblkid-dev:amd64 (2.41.2-4ubuntu2) ... 1469s Setting up g++-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ... 1469s Setting up gcc (4:15.2.0-4ubuntu1) ... 1469s Setting up g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 1469s Setting up g++-15 (15.2.0-12ubuntu1) ... 1469s Setting up libmount-dev:amd64 (2.41.2-4ubuntu2) ... 1469s Setting up libgio-2.0-dev:amd64 (2.87.2-2) ... 1469s Setting up g++ (4:15.2.0-4ubuntu1) ... 1469s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 1469s Setting up build-essential (12.12ubuntu2) ... 1469s Processing triggers for install-info (7.2-5) ... 1469s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1469s Processing triggers for man-db (2.13.1-1build1) ... 1471s Processing triggers for libglib2.0-0t64:amd64 (2.87.2-2) ... 1471s No schema files found: doing nothing. 1471s Setting up libglib2.0-dev:amd64 (2.87.2-2) ... 1481s autopkgtest [16:20:36]: test libglib2.0-dev: [----------------------- 1482s + debian/tests/build 1482s + mode=dynamic 1482s + getopt -o --long static -n debian/tests/build -- 1482s + getopt_temp= -- 1482s + eval set -- -- 1482s + set -- -- 1482s + true 1482s + shift 1482s + break 1482s + mktemp -d 1482s + WORKDIR=/tmp/tmp.NL2Rk41p1w 1482s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1482s + cd /tmp/tmp.NL2Rk41p1w 1482s + [ -n ] 1482s + CROSS_COMPILE= 1482s + cat 1482s + cat 1482s + cat 1482s + cat 1482s + cat 1482s + cat 1482s + cflags= 1482s + pcflags= 1482s + packages=glib-2.0 1482s + pkg-config --cflags --libs glib-2.0 1482s + 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 1482s + echo build (glib, dynamic): OK 1482s + [ -x glib-dynamic ] 1482s + foo=bar ./glib-dynamic 1482s build (glib, dynamic): OK 1482s run (glib, dynamic): OK 1482s + echo run (glib, dynamic): OK 1482s + cflags= 1482s + pcflags= 1482s + packages=gobject-2.0 1482s + pkg-config --cflags --libs gobject-2.0 1482s + 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 1482s + echo build (gobject, dynamic): OK 1482s + [ -x gobject-dynamic ] 1482s + foo=bar ./gobject-dynamic 1482s + echo run (gobject, dynamic): OK 1482s + cflags= 1482s + pcflags= 1482s + packages=gio-2.0 1482s + pkg-config --cflags --libs gio-2.0 1482s + 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/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 1482s build (gobject, dynamic): OK 1482s run (gobject, dynamic): OK 1482s + echo build (gio, dynamic): OK 1482s + [ -x gio-dynamic ] 1482s + foo=bar ./gio-dynamic 1482s build (gio, dynamic): OK 1482s + echo run (gio, dynamic): OK 1482s + cflags= 1482s + pcflags= 1482s + packages=gio-unix-2.0 1482s run (gio, dynamic): OK 1482s + pkg-config --cflags --libs gio-unix-2.0 1482s + 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/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 1482s + echo build (gio-unix, dynamic): OK 1482s + [ -x gio-unix-dynamic ] 1482s + foo=bar ./gio-unix-dynamic 1482s + echo run (gio-unix, dynamic): OK 1482s + cflags= 1482s + pcflags= 1482s + packages=gmodule-2.0 1482s + pkg-config --cflags --libs gmodule-2.0 1482s + 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 -lglib-2.0 1482s build (gio-unix, dynamic): OK 1482s run (gio-unix, dynamic): OK 1482s + echo build (gmodule, dynamic): OK 1482s + [ -x gmodule-dynamic ] 1482s + foo=bar ./gmodule-dynamic 1482s build (gmodule, dynamic): OK 1482s + echo run (gmodule, dynamic): OK 1482s + cflags= 1482s + pcflags= 1482s + packages=gthread-2.0 1482s run (gmodule, dynamic): OK 1482s + pkg-config --cflags --libs gthread-2.0 1482s + 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 1482s + echo build (gthread, dynamic): OK 1482s + [ -x gthread-dynamic ] 1482s + foo=bar ./gthread-dynamic 1482s build (gthread, dynamic): OK 1482s + echo run (gthread, dynamic): OK 1482s + rm -rf /tmp/tmp.NL2Rk41p1w 1482s run (gthread, dynamic): OK 1482s + debian/tests/build-static 1482s + mode=dynamic 1482s + getopt -o --long static -n debian/tests/build -- --static 1482s + getopt_temp= --static -- 1482s + eval set -- --static -- 1482s + set -- --static -- 1482s + true 1482s + mode=static 1482s + shift 1482s + continue 1482s + true 1482s + shift 1482s + break 1482s + mktemp -d 1482s + WORKDIR=/tmp/tmp.iBBATiWTF6 1482s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1482s + cd /tmp/tmp.iBBATiWTF6 1482s + [ -n ] 1482s + CROSS_COMPILE= 1482s + cat 1482s + cat 1482s + cat 1482s + cat 1482s + cat 1482s + cat 1482s + cflags= 1482s + pcflags= 1482s + packages=glib-2.0 1482s + cflags=-static 1482s + pcflags=--static 1482s + pkg-config --static --cflags --libs glib-2.0 1482s + 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 -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 1482s /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': 1482s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1482s /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 1482s /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 1483s + echo build (glib, static): OK 1483s + [ -x glib-static ] 1483s + foo=bar ./glib-static 1483s build (glib, static): OK 1483s + echo run (glib, static): OK 1483s + cflags= 1483s + pcflags= 1483s + packages=gobject-2.0 1483s + cflags=-static 1483s + pcflags=--static 1483s run (glib, static): OK 1483s + pkg-config --static --cflags --libs gobject-2.0 1483s + 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 -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 1483s /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': 1483s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1483s /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 1483s /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 1483s build (gobject, static): OK 1483s + echo build (gobject, static): OK 1483s + [ -x gobject-static ] 1483s + foo=bar ./gobject-static 1483s + echo run (gobject, static): OK 1483s + cflags= 1483s + run (gobject, static): OK 1483s pcflags= 1483s + packages=gio-2.0 1483s + cflags=-static 1483s + pcflags=--static 1483s + continue 1483s + cflags= 1483s + pcflags= 1483s + packages=gio-unix-2.0 1483s + cflags=-static 1483s + pcflags=--static 1483s + continue 1483s + cflags= 1483s + pcflags= 1483s + packages=gmodule-2.0 1483s + cflags=-static 1483s + pcflags=--static 1483s + pkg-config --static --cflags --libs gmodule-2.0 1483s + 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 -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 1483s /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': 1483s (.text+0x5e7): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1483s /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': 1483s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1483s /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 1483s /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 1483s + echo build (gmodule, static): OK 1483s + [ -x gmodule-static ] 1483s + foo=bar ./gmodule-static 1483s build (gmodule, static): OK 1483s + echo run (gmodule, static): OK 1483s + cflags= 1483s + pcflags= 1483s + packages=gthread-2.0 1483s + cflags=-static 1483s + pcflags=--static 1483s run (gmodule, static): OK 1483s + pkg-config --static --cflags --libs gthread-2.0 1483s + 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 -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 1483s /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': 1483s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1483s /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 1483s /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 1483s + echo build (gthread, static): OK 1483s + [ -x gthread-static ] 1483s + foo=bar ./gthread-static 1483s build (gthread, static): OK 1483s + echo run (gthread, static): OK 1483s + rm -rf /tmp/tmp.iBBATiWTF6 1483s run (gthread, static): OK 1483s + debian/tests/girepository-tools 1483s + cd /tmp/autopkgtest.xqX1sv/autopkgtest_tmp 1483s + dpkg-architecture -qDEB_HOST_GNU_TYPE 1483s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 1483s + dpkg-architecture -qDEB_HOST_MULTIARCH 1483s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 1483s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 1483s typelib: GLib-2.0 1483s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 1483s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 1483s + debian/tests/libgio-2.0-dev-bin 1483s + gdbus-codegen --help 1483s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1483s [--c-namespace NAMESPACE] [--c-generate-object-manager] 1483s [--c-generate-autocleanup {none,objects,all}] 1483s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1483s [--generate-rst OUTFILES] [--pragma-once] 1483s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1483s [--glib-min-required VERSION] 1483s [--glib-max-allowed VERSION] 1483s [--symbol-decorator SYMBOL_DECORATOR] 1483s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1483s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1483s [--extension-path EXTENSION_PATH] 1483s [--generate-c-code OUTFILES | --header | --body | 1483s --interface-info-header | --interface-info-body] 1483s [--output FILE | --output-directory OUTDIR] 1483s FILE [FILE ...] 1483s 1483s D-Bus code and documentation generator 1483s 1483s positional arguments: 1483s FILE D-Bus introspection XML file 1483s 1483s options: 1483s -h, --help show this help message and exit 1483s --interface-prefix PREFIX 1483s String to strip from D-Bus interface names for code 1483s and docs 1483s --c-namespace NAMESPACE 1483s The namespace to use for generated C code 1483s --c-generate-object-manager 1483s Generate a GDBusObjectManagerClient subclass when 1483s generating C code 1483s --c-generate-autocleanup {none,objects,all} 1483s Generate autocleanup support 1483s --generate-docbook OUTFILES 1483s Generate Docbook in OUTFILES-org.Project.IFace.xml 1483s --generate-md OUTFILES 1483s Generate Markdown in OUTFILES-org.Project.IFace.md 1483s --generate-rst OUTFILES 1483s Generate reStructuredText in OUTFILES- 1483s org.Project.IFace.rst 1483s --pragma-once Use "pragma once" as the inclusion guard 1483s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1483s Add annotation (may be used several times) 1483s --glib-min-required VERSION 1483s Minimum version of GLib to be supported by the 1483s outputted code (default: 2.30) 1483s --glib-max-allowed VERSION 1483s Maximum version of GLib to be used by the outputted 1483s code (default: current GLib version) 1483s --symbol-decorator SYMBOL_DECORATOR 1483s Macro used to decorate a symbol in the outputted 1483s header, possibly to export symbols 1483s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1483s Additional header required for decorator specified by 1483s --symbol-decorator 1483s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1483s Additional define required for decorator specified by 1483s --symbol-decorator 1483s --extension-path EXTENSION_PATH 1483s Path to a gdbus-codegen Python extension file 1483s (unstable API) 1483s --generate-c-code OUTFILES 1483s Generate C code in OUTFILES.[ch] 1483s --header Generate C headers 1483s --body Generate C code 1483s --interface-info-header 1483s Generate GDBusInterfaceInfo C header 1483s --interface-info-body 1483s Generate GDBusInterfaceInfo C code 1483s --output FILE Write output into the specified file 1483s --output-directory OUTDIR 1483s Location to output generated files 1483s + glib-compile-resources --version 1483s 2.87.2 1483s + glib-genmarshal --version 1483s glib-genmarshal version 2.87.2 1483s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 1483s You may redistribute copies of glib-genmarshal under the terms of 1483s the GNU General Public License which can be found in the 1483s GLib source package. Sources, examples and contact 1483s information are available at http://www.gtk.org 1483s + glib-gettextize --version 1483s + glib-mkenums --version 1483s /usr/bin/glib-gettextize (GNU glib) 2.87.2 1483s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 1483s This is free software; see the source for copying conditions. There is NO 1483s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 1483s Written by Ulrich Drepper 1483s glib-mkenums version 2.87.2 1483s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 1483s You may redistribute copies of glib-mkenums under the terms of 1483s the GNU General Public License which can be found in the 1483s GLib source package. Sources, examples and contact 1483s information are available at http://www.gtk.org 1483s + gobject-query tree 1483s + gtester --version 1483s GObject 1483s + gtester-report --version 1483s gtester version 2.87.2 1483s gtester-report (GLib utils) version 2.87.2. 1484s + cd /tmp/autopkgtest.xqX1sv/autopkgtest_tmp 1484s + dpkg-architecture -qDEB_HOST_MULTIARCH 1484s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 1484s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 1484s + gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 1484s typelib: GLib-2.0 1484s + gi-decompile-typelib -o GLib.gir GLib.typelib 1484s autopkgtest [16:20:39]: test libglib2.0-dev: -----------------------] 1485s autopkgtest [16:20:40]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 1485s libglib2.0-dev PASS (superficial) 1485s autopkgtest [16:20:40]: test installed-tests: preparing testbed 1505s Creating nova instance adt-resolute-amd64-glib2.0-20260208-155554-juju-7f2275-prod-proposed-migration-environment-15-8a20b40f-8d6f-4a9f-9024-8d72ab1e3145 from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)... 1577s autopkgtest [16:22:12]: testbed dpkg architecture: amd64 1577s autopkgtest [16:22:12]: testbed apt version: 3.1.14 1578s autopkgtest [16:22:13]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1578s autopkgtest [16:22:13]: testbed release detected to be: resolute 1578s autopkgtest [16:22:13]: updating testbed package index (apt update) 1578s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1578s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1578s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1578s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1579s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 1579s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 1579s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 1579s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [201 kB] 1579s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [263 kB] 1579s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6524 B] 1579s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [120 B] 1579s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [561 kB] 1579s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1458 kB] 1579s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [31.2 kB] 1579s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [25.2 kB] 1579s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4320 B] 1579s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [996 B] 1580s Fetched 4378 kB in 1s (5982 kB/s) 1580s Reading package lists... 1581s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1581s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1581s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1581s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1581s Reading package lists... 1581s Reading package lists... 1581s Building dependency tree... 1581s Reading state information... 1582s Calculating upgrade... 1582s The following package was automatically installed and is no longer required: 1582s libpython3.13 1582s Use 'sudo apt autoremove' to remove it. 1582s The following NEW packages will be installed: 1582s libpython3.14 libpython3.14-minimal libpython3.14-stdlib 1582s linux-headers-6.19.0-3 linux-headers-6.19.0-3-generic 1582s linux-image-6.19.0-3-generic linux-modules-6.19.0-3-generic 1582s linux-tools-6.19.0-3 linux-tools-6.19.0-3-generic 1582s The following packages will be upgraded: 1582s 3cpio amd64-microcode apt bpftool busybox-initramfs busybox-static dash 1582s debianutils dmsetup dpkg dpkg-dev ethtool findutils gir1.2-girepository-3.0 1582s gir1.2-glib-2.0 hwdata less libapt-pkg7.0 libattr1 libbpf1 libbsd0 1582s libdevmapper1.02.1 libdpkg-perl libdrm-amdgpu1 libdrm-common libdrm2 1582s libevent-core-2.1-7t64 libgdbm-compat4t64 libgdbm6t64 libgirepository-2.0-0 1582s libglib2.0-0t64 libglib2.0-data libgpm2 libgudev-1.0-0 libidn2-0 1582s libkeyutils1 liblsof0 libmaxminddb0 libnetfilter-conntrack3 libnpth0t64 1582s libonig5 libpcap0.8t64 libpci3 libsensors-config libsensors5 libusb-1.0-0 1582s libwrap0 libxau6 libxkbcommon0 linux-generic linux-headers-generic 1582s linux-headers-virtual linux-image-generic linux-image-virtual linux-perf 1582s linux-tools-common linux-virtual lsof man-db mawk patch pciutils pnp.ids 1582s pollinate python3-linkify-it python3-markdown-it python3-referencing sed 1582s shared-mime-info tar tcpdump ubuntu-kernel-accessories ubuntu-standard 1582s 73 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 1582s Need to get 236 MB of archives. 1582s After this operation, 338 MB of additional disk space will be used. 1582s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 debianutils amd64 5.23.2build1 [93.3 kB] 1582s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 dash amd64 0.5.12-12ubuntu3 [96.0 kB] 1582s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB] 1582s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB] 1582s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 dpkg amd64 1.23.5ubuntu1 [1288 kB] 1582s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB] 1582s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB] 1582s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB] 1582s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libbsd0 amd64 0.12.2-2build2 [42.3 kB] 1582s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB] 1582s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB] 1582s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB] 1582s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB] 1582s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 ethtool amd64 1:6.15-3build1 [318 kB] 1582s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-girepository-3.0 amd64 2.87.2-2 [25.2 kB] 1582s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 libgirepository-2.0-0 amd64 2.87.2-2 [76.1 kB] 1582s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0 amd64 2.87.2-2 [182 kB] 1582s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-0t64 amd64 2.87.2-2 [1613 kB] 1582s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB] 1582s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libbpf1 amd64 1:1.6.2-1build1 [184 kB] 1582s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-data all 2.87.2-2 [58.2 kB] 1582s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libidn2-0 amd64 2.3.8-4build1 [67.6 kB] 1582s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB] 1582s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 1582s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB] 1582s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 shared-mime-info amd64 2.4-5build3 [476 kB] 1582s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB] 1582s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B] 1582s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB] 1582s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm6t64 amd64 1.26-1build1 [36.5 kB] 1582s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB] 1582s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 lsof amd64 4.99.4+dfsg-2build2 [239 kB] 1582s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsof0 amd64 4.99.4+dfsg-2build2 [56.5 kB] 1582s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB] 1582s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libnetfilter-conntrack3 amd64 1.1.1-1 [47.5 kB] 1582s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcap0.8t64 amd64 1.10.5-2ubuntu3 [154 kB] 1582s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 pciutils amd64 1:3.14.0-1build2 [95.5 kB] 1582s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libpci3 amd64 1:3.14.0-1build2 [38.1 kB] 1582s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B] 1582s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB] 1582s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 libusb-1.0-0 amd64 2:1.0.29-2build1 [56.9 kB] 1582s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 libxau6 amd64 1:1.0.11-1build2 [7502 B] 1582s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 libxkbcommon0 amd64 1.13.1-1 [159 kB] 1582s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 man-db amd64 2.13.1-1build1 [1392 kB] 1582s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 tcpdump amd64 4.99.5-2ubuntu3 [477 kB] 1582s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-standard amd64 1.564 [13.3 kB] 1582s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 3cpio amd64 0.14.0-1ubuntu1 [285 kB] 1583s Get:48 http://ftpmaster.internal/ubuntu resolute/main amd64 bpftool amd64 7.7.0+6.19.0-3.3 [1229 kB] 1583s Get:49 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB] 1583s Get:50 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 dpkg-dev all 1.23.5ubuntu1 [1062 kB] 1583s Get:51 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libdpkg-perl all 1.23.5ubuntu1 [289 kB] 1583s Get:52 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB] 1583s Get:53 http://ftpmaster.internal/ubuntu resolute/main amd64 hwdata all 0.394-1build1 [1566 B] 1583s Get:54 http://ftpmaster.internal/ubuntu resolute/main amd64 pnp.ids all 0.394-1build1 [29.6 kB] 1583s Get:55 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB] 1583s Get:56 http://ftpmaster.internal/ubuntu resolute/main amd64 libevent-core-2.1-7t64 amd64 2.1.12-stable-10build2 [93.1 kB] 1583s Get:57 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm-compat4t64 amd64 1.26-1build1 [6796 B] 1583s Get:58 http://ftpmaster.internal/ubuntu resolute/main amd64 libgudev-1.0-0 amd64 1:238-7build1 [15.9 kB] 1583s Get:59 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B] 1583s Get:60 http://ftpmaster.internal/ubuntu resolute/main amd64 libonig5 amd64 6.9.10-1build1 [174 kB] 1583s Get:61 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.2-1 [920 kB] 1583s Get:62 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.2-1 [2398 kB] 1583s Get:63 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14 amd64 3.14.2-1 [2568 kB] 1583s Get:64 http://ftpmaster.internal/ubuntu resolute/main amd64 libwrap0 amd64 7.6.q-36build2 [48.5 kB] 1583s Get:65 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-modules-6.19.0-3-generic amd64 6.19.0-3.3 [171 MB] 1585s Get:66 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-6.19.0-3-generic amd64 6.19.0-3.3+1 [16.8 MB] 1585s Get:67 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB] 1585s Get:68 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-generic amd64 6.19.0-3.3 [1698 B] 1585s Get:69 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-generic amd64 6.19.0-3.3 [12.2 kB] 1585s Get:70 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-virtual amd64 6.19.0-3.3 [1700 B] 1585s Get:71 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-virtual amd64 6.19.0-3.3 [12.1 kB] 1585s Get:72 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-virtual amd64 6.19.0-3.3 [1646 B] 1585s Get:73 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3 all 6.19.0-3.3 [14.9 MB] 1586s Get:74 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3-generic amd64 6.19.0-3.3 [4330 kB] 1586s Get:75 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-generic amd64 6.19.0-3.3 [12.0 kB] 1586s Get:76 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-perf amd64 6.19.0-3.3 [4480 kB] 1586s Get:77 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-common all 6.19.0-3.3 [345 kB] 1586s Get:78 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3 amd64 6.19.0-3.3 [1455 kB] 1586s Get:79 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3-generic amd64 6.19.0-3.3 [1612 B] 1586s Get:80 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB] 1586s Get:81 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 1586s Get:82 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-kernel-accessories amd64 1.564 [13.1 kB] 1586s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1586s Fetched 236 MB in 4s (58.7 MB/s) 1586s (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 ... 83957 files and directories currently installed.) 1586s Preparing to unpack .../debianutils_5.23.2build1_amd64.deb ... 1586s Unpacking debianutils (5.23.2build1) over (5.23.2) ... 1586s Setting up debianutils (5.23.2build1) ... 1586s (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 ... 83957 files and directories currently installed.) 1586s Preparing to unpack .../dash_0.5.12-12ubuntu3_amd64.deb ... 1586s Unpacking dash (0.5.12-12ubuntu3) over (0.5.12-12ubuntu2) ... 1586s Setting up dash (0.5.12-12ubuntu3) ... 1586s (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 ... 83957 files and directories currently installed.) 1586s Preparing to unpack .../libapt-pkg7.0_3.1.15_amd64.deb ... 1586s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ... 1586s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ... 1586s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ... 1586s Setting up tar (1.35+dfsg-3.1build2) ... 1586s (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 ... 83957 files and directories currently installed.) 1586s Preparing to unpack .../dpkg_1.23.5ubuntu1_amd64.deb ... 1587s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1587s Setting up dpkg (1.23.5ubuntu1) ... 1587s (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 ... 83958 files and directories currently installed.) 1587s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ... 1587s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ... 1587s Setting up findutils (4.10.0-3build2) ... 1587s (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 ... 83958 files and directories currently installed.) 1587s Preparing to unpack .../sed_4.9-2build3_amd64.deb ... 1587s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 1587s Setting up sed (4.9-2build3) ... 1587s (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 ... 83958 files and directories currently installed.) 1587s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ... 1587s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ... 1587s Setting up libattr1:amd64 (1:2.5.2-3build2) ... 1587s (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 ... 83958 files and directories currently installed.) 1587s Preparing to unpack .../00-libbsd0_0.12.2-2build2_amd64.deb ... 1587s Unpacking libbsd0:amd64 (0.12.2-2build2) over (0.12.2-2build1) ... 1587s Preparing to unpack .../01-mawk_1.3.4.20260129-1_amd64.deb ... 1587s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ... 1587s Preparing to unpack .../02-apt_3.1.15_amd64.deb ... 1587s Unpacking apt (3.1.15) over (3.1.14) ... 1587s Preparing to unpack .../03-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ... 1587s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 1587s Preparing to unpack .../04-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ... 1587s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 1587s Preparing to unpack .../05-ethtool_1%3a6.15-3build1_amd64.deb ... 1587s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 1587s Preparing to unpack .../06-gir1.2-girepository-3.0_2.87.2-2_amd64.deb ... 1587s Unpacking gir1.2-girepository-3.0:amd64 (2.87.2-2) over (2.86.3-4) ... 1587s Preparing to unpack .../07-libgirepository-2.0-0_2.87.2-2_amd64.deb ... 1587s Unpacking libgirepository-2.0-0:amd64 (2.87.2-2) over (2.86.3-4) ... 1588s Preparing to unpack .../08-gir1.2-glib-2.0_2.87.2-2_amd64.deb ... 1588s Unpacking gir1.2-glib-2.0:amd64 (2.87.2-2) over (2.86.3-4) ... 1588s Preparing to unpack .../09-libglib2.0-0t64_2.87.2-2_amd64.deb ... 1588s Unpacking libglib2.0-0t64:amd64 (2.87.2-2) over (2.86.3-4) ... 1588s Preparing to unpack .../10-less_668-1build1_amd64.deb ... 1588s Unpacking less (668-1build1) over (668-1) ... 1588s Preparing to unpack .../11-libbpf1_1%3a1.6.2-1build1_amd64.deb ... 1588s Unpacking libbpf1:amd64 (1:1.6.2-1build1) over (1:1.6.2-1) ... 1588s Preparing to unpack .../12-libglib2.0-data_2.87.2-2_all.deb ... 1588s Unpacking libglib2.0-data (2.87.2-2) over (2.86.3-4) ... 1588s Preparing to unpack .../13-libidn2-0_2.3.8-4build1_amd64.deb ... 1588s Unpacking libidn2-0:amd64 (2.3.8-4build1) over (2.3.8-4) ... 1588s Preparing to unpack .../14-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ... 1588s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ... 1588s Preparing to unpack .../15-python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 1588s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 1588s Preparing to unpack .../16-python3-markdown-it_3.0.0-3build1_all.deb ... 1588s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ... 1588s Preparing to unpack .../17-shared-mime-info_2.4-5build3_amd64.deb ... 1588s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 1588s Preparing to unpack .../18-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ... 1588s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 1588s Preparing to unpack .../19-libdrm-common_2.4.131-1_all.deb ... 1588s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ... 1588s Preparing to unpack .../20-libdrm2_2.4.131-1_amd64.deb ... 1588s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ... 1588s Preparing to unpack .../21-libgdbm6t64_1.26-1build1_amd64.deb ... 1588s Unpacking libgdbm6t64:amd64 (1.26-1build1) over (1.26-1) ... 1588s Preparing to unpack .../22-libgpm2_1.20.7-12build1_amd64.deb ... 1588s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ... 1588s Preparing to unpack .../23-lsof_4.99.4+dfsg-2build2_amd64.deb ... 1588s Unpacking lsof (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 1588s Preparing to unpack .../24-liblsof0_4.99.4+dfsg-2build2_amd64.deb ... 1588s Unpacking liblsof0 (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 1588s Preparing to unpack .../25-libmaxminddb0_1.12.2-1build2_amd64.deb ... 1588s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ... 1588s Preparing to unpack .../26-libnetfilter-conntrack3_1.1.1-1_amd64.deb ... 1588s Unpacking libnetfilter-conntrack3:amd64 (1.1.1-1) over (1.1.0-1build1) ... 1588s Preparing to unpack .../27-libpcap0.8t64_1.10.5-2ubuntu3_amd64.deb ... 1588s Unpacking libpcap0.8t64:amd64 (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 1588s Preparing to unpack .../28-pciutils_1%3a3.14.0-1build2_amd64.deb ... 1588s Unpacking pciutils (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 1588s Preparing to unpack .../29-libpci3_1%3a3.14.0-1build2_amd64.deb ... 1588s Unpacking libpci3:amd64 (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 1588s Preparing to unpack .../30-libsensors-config_1%3a3.6.2-2build1_all.deb ... 1588s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ... 1588s Preparing to unpack .../31-libsensors5_1%3a3.6.2-2build1_amd64.deb ... 1588s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ... 1588s Preparing to unpack .../32-libusb-1.0-0_2%3a1.0.29-2build1_amd64.deb ... 1588s Unpacking libusb-1.0-0:amd64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 1588s Preparing to unpack .../33-libxau6_1%3a1.0.11-1build2_amd64.deb ... 1588s Unpacking libxau6:amd64 (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 1588s Preparing to unpack .../34-libxkbcommon0_1.13.1-1_amd64.deb ... 1588s Unpacking libxkbcommon0:amd64 (1.13.1-1) over (1.12.3-1) ... 1589s Preparing to unpack .../35-man-db_2.13.1-1build1_amd64.deb ... 1589s Unpacking man-db (2.13.1-1build1) over (2.13.1-1) ... 1589s Preparing to unpack .../36-tcpdump_4.99.5-2ubuntu3_amd64.deb ... 1589s Unpacking tcpdump (4.99.5-2ubuntu3) over (4.99.5-2ubuntu2) ... 1589s Preparing to unpack .../37-ubuntu-standard_1.564_amd64.deb ... 1589s Unpacking ubuntu-standard (1.564) over (1.563) ... 1589s Preparing to unpack .../38-3cpio_0.14.0-1ubuntu1_amd64.deb ... 1589s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 1589s Preparing to unpack .../39-bpftool_7.7.0+6.19.0-3.3_amd64.deb ... 1589s Unpacking bpftool (7.7.0+6.19.0-3.3) over (7.7.0+6.18.0-9.9) ... 1589s Preparing to unpack .../40-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ... 1589s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 1589s Preparing to unpack .../41-dpkg-dev_1.23.5ubuntu1_all.deb ... 1589s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1589s Preparing to unpack .../42-libdpkg-perl_1.23.5ubuntu1_all.deb ... 1589s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1589s Preparing to unpack .../43-patch_2.8-2build1_amd64.deb ... 1589s Unpacking patch (2.8-2build1) over (2.8-2) ... 1589s Preparing to unpack .../44-hwdata_0.394-1build1_all.deb ... 1589s Unpacking hwdata (0.394-1build1) over (0.394-1) ... 1589s Preparing to unpack .../45-pnp.ids_0.394-1build1_all.deb ... 1589s Unpacking pnp.ids (0.394-1build1) over (0.394-1) ... 1589s Preparing to unpack .../46-libdrm-amdgpu1_2.4.131-1_amd64.deb ... 1589s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ... 1589s Preparing to unpack .../47-libevent-core-2.1-7t64_2.1.12-stable-10build2_amd64.deb ... 1589s Unpacking libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 1589s Preparing to unpack .../48-libgdbm-compat4t64_1.26-1build1_amd64.deb ... 1589s Unpacking libgdbm-compat4t64:amd64 (1.26-1build1) over (1.26-1) ... 1589s Preparing to unpack .../49-libgudev-1.0-0_1%3a238-7build1_amd64.deb ... 1589s Unpacking libgudev-1.0-0:amd64 (1:238-7build1) over (1:238-7) ... 1589s Preparing to unpack .../50-libnpth0t64_1.8-3build1_amd64.deb ... 1589s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ... 1589s Preparing to unpack .../51-libonig5_6.9.10-1build1_amd64.deb ... 1589s Unpacking libonig5:amd64 (6.9.10-1build1) over (6.9.10-1) ... 1589s Selecting previously unselected package libpython3.14-minimal:amd64. 1589s Preparing to unpack .../52-libpython3.14-minimal_3.14.2-1_amd64.deb ... 1589s Unpacking libpython3.14-minimal:amd64 (3.14.2-1) ... 1589s Selecting previously unselected package libpython3.14-stdlib:amd64. 1589s Preparing to unpack .../53-libpython3.14-stdlib_3.14.2-1_amd64.deb ... 1589s Unpacking libpython3.14-stdlib:amd64 (3.14.2-1) ... 1589s Selecting previously unselected package libpython3.14:amd64. 1589s Preparing to unpack .../54-libpython3.14_3.14.2-1_amd64.deb ... 1589s Unpacking libpython3.14:amd64 (3.14.2-1) ... 1589s Preparing to unpack .../55-libwrap0_7.6.q-36build2_amd64.deb ... 1589s Unpacking libwrap0:amd64 (7.6.q-36build2) over (7.6.q-36build1) ... 1589s Selecting previously unselected package linux-modules-6.19.0-3-generic. 1589s Preparing to unpack .../56-linux-modules-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 1589s Unpacking linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 1590s Selecting previously unselected package linux-image-6.19.0-3-generic. 1590s Preparing to unpack .../57-linux-image-6.19.0-3-generic_6.19.0-3.3+1_amd64.deb ... 1590s Unpacking linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 1590s Preparing to unpack .../58-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ... 1590s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ... 1590s Preparing to unpack .../59-linux-generic_6.19.0-3.3_amd64.deb ... 1590s Unpacking linux-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 1590s Preparing to unpack .../60-linux-image-generic_6.19.0-3.3_amd64.deb ... 1590s Unpacking linux-image-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 1590s Preparing to unpack .../61-linux-virtual_6.19.0-3.3_amd64.deb ... 1590s Unpacking linux-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 1590s Preparing to unpack .../62-linux-image-virtual_6.19.0-3.3_amd64.deb ... 1590s Unpacking linux-image-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 1590s Preparing to unpack .../63-linux-headers-virtual_6.19.0-3.3_amd64.deb ... 1590s Unpacking linux-headers-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 1590s Selecting previously unselected package linux-headers-6.19.0-3. 1590s Preparing to unpack .../64-linux-headers-6.19.0-3_6.19.0-3.3_all.deb ... 1590s Unpacking linux-headers-6.19.0-3 (6.19.0-3.3) ... 1592s Selecting previously unselected package linux-headers-6.19.0-3-generic. 1592s Preparing to unpack .../65-linux-headers-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 1592s Unpacking linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 1592s Preparing to unpack .../66-linux-headers-generic_6.19.0-3.3_amd64.deb ... 1592s Unpacking linux-headers-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 1592s Preparing to unpack .../67-linux-perf_6.19.0-3.3_amd64.deb ... 1592s Unpacking linux-perf (6.19.0-3.3) over (6.18.0-9.9) ... 1592s Preparing to unpack .../68-linux-tools-common_6.19.0-3.3_all.deb ... 1592s Unpacking linux-tools-common (6.19.0-3.3) over (6.18.0-9.9) ... 1592s Selecting previously unselected package linux-tools-6.19.0-3. 1592s Preparing to unpack .../69-linux-tools-6.19.0-3_6.19.0-3.3_amd64.deb ... 1592s Unpacking linux-tools-6.19.0-3 (6.19.0-3.3) ... 1592s Selecting previously unselected package linux-tools-6.19.0-3-generic. 1592s Preparing to unpack .../70-linux-tools-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 1592s Unpacking linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 1592s Preparing to unpack .../71-pollinate_4.33-4ubuntu5_all.deb ... 1592s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 1592s Preparing to unpack .../72-python3-referencing_0.36.2-1ubuntu2_all.deb ... 1592s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 1592s Preparing to unpack .../73-ubuntu-kernel-accessories_1.564_amd64.deb ... 1592s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 1592s Setting up 3cpio (0.14.0-1ubuntu1) ... 1592s Setting up libxau6:amd64 (1:1.0.11-1build2) ... 1592s Setting up libnpth0t64:amd64 (1.8-3build1) ... 1592s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ... 1592s Setting up ubuntu-kernel-accessories (1.564) ... 1592s Setting up libgpm2:amd64 (1.20.7-12build1) ... 1592s Setting up libgdbm6t64:amd64 (1.26-1build1) ... 1592s Setting up linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 1594s Setting up libgdbm-compat4t64:amd64 (1.26-1build1) ... 1594s Setting up bpftool (7.7.0+6.19.0-3.3) ... 1594s Setting up liblsof0 (4.99.4+dfsg-2build2) ... 1594s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ... 1594s Setting up libpython3.14-minimal:amd64 (3.14.2-1) ... 1594s Setting up libsensors-config (1:3.6.2-2build1) ... 1594s Setting up less (668-1build1) ... 1594s Setting up linux-headers-6.19.0-3 (6.19.0-3.3) ... 1594s Setting up libidn2-0:amd64 (2.3.8-4build1) ... 1594s Setting up amd64-microcode (3.20251202.1ubuntu1) ... 1594s amd64-microcode: microcode will be updated at next boot 1594s Setting up man-db (2.13.1-1build1) ... 1594s Updating database of manual pages ... 1595s man-db.service is a disabled or a static unit not running, not starting it. 1595s Setting up libglib2.0-0t64:amd64 (2.87.2-2) ... 1595s No schema files found: doing nothing. 1595s Setting up libglib2.0-data (2.87.2-2) ... 1595s Setting up pollinate (4.33-4ubuntu5) ... 1606s Setting up busybox-static (1:1.37.0-7ubuntu1) ... 1606s Setting up libwrap0:amd64 (7.6.q-36build2) ... 1606s Setting up linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 1607s I: /boot/vmlinuz is now a symlink to vmlinuz-6.19.0-3-generic 1607s I: /boot/initrd.img is now a symlink to initrd.img-6.19.0-3-generic 1607s Setting up shared-mime-info (2.4-5build3) ... 1608s Setting up patch (2.8-2build1) ... 1608s Setting up gir1.2-glib-2.0:amd64 (2.87.2-2) ... 1608s Setting up libsensors5:amd64 (1:3.6.2-2build1) ... 1608s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ... 1608s Setting up libdpkg-perl (1.23.5ubuntu1) ... 1608s Setting up lsof (4.99.4+dfsg-2build2) ... 1608s Setting up libpci3:amd64 (1:3.14.0-1build2) ... 1608s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ... 1608s Setting up dmsetup (2:1.02.205-2ubuntu3) ... 1608s Setting up libnetfilter-conntrack3:amd64 (1.1.1-1) ... 1608s Setting up pnp.ids (0.394-1build1) ... 1608s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 1608s Setting up libpcap0.8t64:amd64 (1.10.5-2ubuntu3) ... 1608s Setting up mawk (1.3.4.20260129-1) ... 1608s Setting up libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) ... 1608s Setting up libusb-1.0-0:amd64 (2:1.0.29-2build1) ... 1608s Setting up libapt-pkg7.0:amd64 (3.1.15) ... 1608s Setting up linux-image-virtual (6.19.0-3.3) ... 1608s Setting up libbsd0:amd64 (0.12.2-2build2) ... 1608s Setting up libdrm-common (2.4.131-1) ... 1608s Setting up libonig5:amd64 (6.9.10-1build1) ... 1608s Setting up libgudev-1.0-0:amd64 (1:238-7build1) ... 1608s Setting up libbpf1:amd64 (1:1.6.2-1build1) ... 1608s Setting up ethtool (1:6.15-3build1) ... 1608s Setting up python3-referencing (0.36.2-1ubuntu2) ... 1608s Setting up libxkbcommon0:amd64 (1.13.1-1) ... 1608s Setting up linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 1608s Setting up tcpdump (4.99.5-2ubuntu3) ... 1608s Setting up linux-image-generic (6.19.0-3.3) ... 1608s Setting up apt (3.1.15) ... 1608s Setting up libgirepository-2.0-0:amd64 (2.87.2-2) ... 1608s Setting up libpython3.14-stdlib:amd64 (3.14.2-1) ... 1608s Setting up linux-headers-generic (6.19.0-3.3) ... 1608s Setting up gir1.2-girepository-3.0:amd64 (2.87.2-2) ... 1608s Setting up dpkg-dev (1.23.5ubuntu1) ... 1608s Setting up hwdata (0.394-1build1) ... 1608s Setting up pciutils (1:3.14.0-1build2) ... 1608s Setting up python3-markdown-it (3.0.0-3build1) ... 1608s Setting up libdrm2:amd64 (2.4.131-1) ... 1608s Setting up libpython3.14:amd64 (3.14.2-1) ... 1608s Setting up linux-tools-common (6.19.0-3.3) ... 1608s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ... 1608s Setting up linux-headers-virtual (6.19.0-3.3) ... 1608s Setting up linux-generic (6.19.0-3.3) ... 1608s Setting up linux-tools-6.19.0-3 (6.19.0-3.3) ... 1608s Setting up ubuntu-standard (1.564) ... 1608s Setting up linux-virtual (6.19.0-3.3) ... 1608s Setting up linux-perf (6.19.0-3.3) ... 1608s Setting up linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 1608s Processing triggers for debianutils (5.23.2build1) ... 1608s Processing triggers for install-info (7.2-5) ... 1609s Processing triggers for initramfs-tools (0.150ubuntu7) ... 1609s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 1613s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1613s Processing triggers for linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 1613s /etc/kernel/postinst.d/initramfs-tools: 1613s update-initramfs: Generating /boot/initrd.img-6.19.0-3-generic 1616s /etc/kernel/postinst.d/zz-update-grub: 1616s Sourcing file `/etc/default/grub' 1616s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 1616s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 1616s Generating grub configuration file ... 1617s Found linux image: /boot/vmlinuz-6.19.0-3-generic 1617s Found initrd image: /boot/initrd.img-6.19.0-3-generic 1617s Found linux image: /boot/vmlinuz-6.18.0-9-generic 1617s Found initrd image: /boot/initrd.img-6.18.0-9-generic 1617s Warning: os-prober will not be executed to detect other bootable partitions. 1617s Systems on them will not be added to the GRUB boot configuration. 1617s Check GRUB_DISABLE_OS_PROBER documentation entry. 1617s Adding boot menu entry for UEFI Firmware Settings ... 1617s done 1617s autopkgtest [16:22:52]: upgrading testbed (apt dist-upgrade and autopurge) 1618s Reading package lists... 1618s Building dependency tree... 1618s Reading state information... 1618s Calculating upgrade... 1618s The following package was automatically installed and is no longer required: 1618s libpython3.13 1618s Use 'sudo apt autoremove' to remove it. 1618s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1618s Reading package lists... 1618s Building dependency tree... 1618s Reading state information... 1618s Solving dependencies... 1618s The following packages will be REMOVED: 1618s libpython3.13* 1618s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1618s After this operation, 7599 kB disk space will be freed. 1618s (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 ... 125259 files and directories currently installed.) 1618s Removing libpython3.13:amd64 (3.13.11-1) ... 1618s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1619s autopkgtest [16:22:54]: rebooting testbed after setup commands that affected boot 1649s Reading package lists... 1649s Building dependency tree... 1649s Reading state information... 1649s Solving dependencies... 1649s The following NEW packages will be installed: 1649s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 1649s gnome-desktop-testing libdrm-intel1 libfontenc1 libgbm1 libgio-2.0-dev-bin 1649s libgl1 libgl1-mesa-dri libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests 1649s libglvnd0 libglx-mesa0 libglx0 libice6 libpciaccess0 libpixman-1-0 libsm6 1649s libvulkan1 libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 1649s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 1649s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 1649s mesa-libgallium native-architecture python3-dbusmock python3.14 1649s python3.14-minimal tzdata-legacy x11-common x11-xkb-utils xserver-common 1649s xvfb 1649s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 1649s Need to get 21.2 MB of archives. 1649s After this operation, 94.7 MB of additional disk space will be used. 1649s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.14-minimal amd64 3.14.2-1 [2563 kB] 1650s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-x11 amd64 1.16.2-2ubuntu2 [23.3 kB] 1650s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 desktop-file-utils amd64 0.28-1build1 [54.3 kB] 1650s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0-dev amd64 2.87.2-2 [866 kB] 1650s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 native-architecture all 0.2.6build1 [2256 B] 1650s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 girepository-tools amd64 2.87.2-2 [111 kB] 1650s Get:7 http://ftpmaster.internal/ubuntu resolute/universe amd64 gnome-desktop-testing amd64 2021.1-5 [16.8 kB] 1650s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libpciaccess0 amd64 0.18.1-1ubuntu3 [19.0 kB] 1650s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-intel1 amd64 2.4.131-1 [66.7 kB] 1650s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 libfontenc1 amd64 1:1.1.8-1build2 [14.1 kB] 1650s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libx11-xcb1 amd64 2:1.8.12-1build1 [8044 B] 1650s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-dri3-0 amd64 1.17.0-2ubuntu1 [7540 B] 1650s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-present0 amd64 1.17.0-2ubuntu1 [6112 B] 1650s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-randr0 amd64 1.17.0-2ubuntu1 [17.9 kB] 1650s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-sync1 amd64 1.17.0-2ubuntu1 [9348 B] 1650s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-xfixes0 amd64 1.17.0-2ubuntu1 [10.2 kB] 1650s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 libxshmfence1 amd64 1.3.3-1build1 [5284 B] 1650s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 mesa-libgallium amd64 25.3.3-1ubuntu1 [11.1 MB] 1650s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libgbm1 amd64 25.3.3-1ubuntu1 [34.0 kB] 1650s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libgio-2.0-dev-bin amd64 2.87.2-2 [130 kB] 1650s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libvulkan1 amd64 1.4.335.0-1 [158 kB] 1650s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libgl1-mesa-dri amd64 25.3.3-1ubuntu1 [37.5 kB] 1650s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-bin amd64 2.87.2-2 [99.6 kB] 1650s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-dev-bin amd64 2.87.2-2 [18.1 kB] 1650s Get:25 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-dbusmock all 0.38.1-1 [92.0 kB] 1650s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 tzdata-legacy all 2025c-3ubuntu3 [99.3 kB] 1650s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.14 amd64 3.14.2-1 [816 kB] 1650s Get:28 http://ftpmaster.internal/ubuntu resolute/universe amd64 libglib2.0-tests amd64 2.87.2-2 [2374 kB] 1650s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-glx0 amd64 1.17.0-2ubuntu1 [24.7 kB] 1650s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-shm0 amd64 1.17.0-2ubuntu1 [5808 B] 1650s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 libxxf86vm1 amd64 1:1.1.4-2 [10.6 kB] 1650s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 libglx-mesa0 amd64 25.3.3-1ubuntu1 [110 kB] 1650s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 x11-common all 1:7.7+24ubuntu1 [22.4 kB] 1650s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libice6 amd64 2:1.1.1-1build1 [44.0 kB] 1650s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libpixman-1-0 amd64 0.46.4-1 [287 kB] 1650s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 libsm6 amd64 2:1.2.6-1build1 [16.9 kB] 1650s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 libxt6t64 amd64 1:1.2.1-1.3 [173 kB] 1650s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libxmu6 amd64 2:1.1.3-4 [48.9 kB] 1650s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libxpm4 amd64 1:3.5.17-1build3 [37.3 kB] 1650s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libxaw7 amd64 2:1.0.16-1build1 [190 kB] 1650s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 libxfont2 amd64 1:2.0.6-2 [95.6 kB] 1651s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 libxkbfile1 amd64 1:1.1.0-1build5 [70.1 kB] 1651s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 libxrender1 amd64 1:0.9.12-1 [19.8 kB] 1651s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 libxrandr2 amd64 2:1.5.4-1build1 [19.6 kB] 1651s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 x11-xkb-utils amd64 7.7+9build1 [170 kB] 1651s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 xserver-common all 2:21.1.21-1ubuntu1 [34.8 kB] 1651s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 libglvnd0 amd64 1.7.0-3 [64.1 kB] 1651s Get:48 http://ftpmaster.internal/ubuntu resolute/main amd64 libglx0 amd64 1.7.0-3 [38.9 kB] 1651s Get:49 http://ftpmaster.internal/ubuntu resolute/main amd64 libgl1 amd64 1.7.0-3 [98.3 kB] 1651s Get:50 http://ftpmaster.internal/ubuntu resolute/universe amd64 xvfb amd64 2:21.1.21-1ubuntu1 [902 kB] 1651s Fetched 21.2 MB in 2s (14.0 MB/s) 1651s Selecting previously unselected package python3.14-minimal. 1651s (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 ... 125255 files and directories currently installed.) 1651s Preparing to unpack .../00-python3.14-minimal_3.14.2-1_amd64.deb ... 1651s Unpacking python3.14-minimal (3.14.2-1) ... 1651s Selecting previously unselected package dbus-x11. 1651s Preparing to unpack .../01-dbus-x11_1.16.2-2ubuntu2_amd64.deb ... 1651s Unpacking dbus-x11 (1.16.2-2ubuntu2) ... 1651s Selecting previously unselected package desktop-file-utils. 1651s Preparing to unpack .../02-desktop-file-utils_0.28-1build1_amd64.deb ... 1651s Unpacking desktop-file-utils (0.28-1build1) ... 1651s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 1651s Preparing to unpack .../03-gir1.2-glib-2.0-dev_2.87.2-2_amd64.deb ... 1651s Unpacking gir1.2-glib-2.0-dev:amd64 (2.87.2-2) ... 1651s Selecting previously unselected package native-architecture. 1651s Preparing to unpack .../04-native-architecture_0.2.6build1_all.deb ... 1651s Unpacking native-architecture (0.2.6build1) ... 1651s Selecting previously unselected package girepository-tools:amd64. 1651s Preparing to unpack .../05-girepository-tools_2.87.2-2_amd64.deb ... 1651s Unpacking girepository-tools:amd64 (2.87.2-2) ... 1651s Selecting previously unselected package gnome-desktop-testing. 1651s Preparing to unpack .../06-gnome-desktop-testing_2021.1-5_amd64.deb ... 1651s Unpacking gnome-desktop-testing (2021.1-5) ... 1651s Selecting previously unselected package libpciaccess0:amd64. 1651s Preparing to unpack .../07-libpciaccess0_0.18.1-1ubuntu3_amd64.deb ... 1651s Unpacking libpciaccess0:amd64 (0.18.1-1ubuntu3) ... 1651s Selecting previously unselected package libdrm-intel1:amd64. 1651s Preparing to unpack .../08-libdrm-intel1_2.4.131-1_amd64.deb ... 1651s Unpacking libdrm-intel1:amd64 (2.4.131-1) ... 1651s Selecting previously unselected package libfontenc1:amd64. 1651s Preparing to unpack .../09-libfontenc1_1%3a1.1.8-1build2_amd64.deb ... 1651s Unpacking libfontenc1:amd64 (1:1.1.8-1build2) ... 1651s Selecting previously unselected package libx11-xcb1:amd64. 1651s Preparing to unpack .../10-libx11-xcb1_2%3a1.8.12-1build1_amd64.deb ... 1651s Unpacking libx11-xcb1:amd64 (2:1.8.12-1build1) ... 1651s Selecting previously unselected package libxcb-dri3-0:amd64. 1651s Preparing to unpack .../11-libxcb-dri3-0_1.17.0-2ubuntu1_amd64.deb ... 1651s Unpacking libxcb-dri3-0:amd64 (1.17.0-2ubuntu1) ... 1651s Selecting previously unselected package libxcb-present0:amd64. 1651s Preparing to unpack .../12-libxcb-present0_1.17.0-2ubuntu1_amd64.deb ... 1651s Unpacking libxcb-present0:amd64 (1.17.0-2ubuntu1) ... 1651s Selecting previously unselected package libxcb-randr0:amd64. 1651s Preparing to unpack .../13-libxcb-randr0_1.17.0-2ubuntu1_amd64.deb ... 1651s Unpacking libxcb-randr0:amd64 (1.17.0-2ubuntu1) ... 1651s Selecting previously unselected package libxcb-sync1:amd64. 1651s Preparing to unpack .../14-libxcb-sync1_1.17.0-2ubuntu1_amd64.deb ... 1651s Unpacking libxcb-sync1:amd64 (1.17.0-2ubuntu1) ... 1651s Selecting previously unselected package libxcb-xfixes0:amd64. 1651s Preparing to unpack .../15-libxcb-xfixes0_1.17.0-2ubuntu1_amd64.deb ... 1651s Unpacking libxcb-xfixes0:amd64 (1.17.0-2ubuntu1) ... 1651s Selecting previously unselected package libxshmfence1:amd64. 1651s Preparing to unpack .../16-libxshmfence1_1.3.3-1build1_amd64.deb ... 1651s Unpacking libxshmfence1:amd64 (1.3.3-1build1) ... 1651s Selecting previously unselected package mesa-libgallium:amd64. 1651s Preparing to unpack .../17-mesa-libgallium_25.3.3-1ubuntu1_amd64.deb ... 1651s Unpacking mesa-libgallium:amd64 (25.3.3-1ubuntu1) ... 1651s Selecting previously unselected package libgbm1:amd64. 1651s Preparing to unpack .../18-libgbm1_25.3.3-1ubuntu1_amd64.deb ... 1651s Unpacking libgbm1:amd64 (25.3.3-1ubuntu1) ... 1651s Selecting previously unselected package libgio-2.0-dev-bin. 1651s Preparing to unpack .../19-libgio-2.0-dev-bin_2.87.2-2_amd64.deb ... 1651s Unpacking libgio-2.0-dev-bin (2.87.2-2) ... 1651s Selecting previously unselected package libvulkan1:amd64. 1651s Preparing to unpack .../20-libvulkan1_1.4.335.0-1_amd64.deb ... 1651s Unpacking libvulkan1:amd64 (1.4.335.0-1) ... 1652s Selecting previously unselected package libgl1-mesa-dri:amd64. 1652s Preparing to unpack .../21-libgl1-mesa-dri_25.3.3-1ubuntu1_amd64.deb ... 1652s Unpacking libgl1-mesa-dri:amd64 (25.3.3-1ubuntu1) ... 1652s Selecting previously unselected package libglib2.0-bin. 1652s Preparing to unpack .../22-libglib2.0-bin_2.87.2-2_amd64.deb ... 1652s Unpacking libglib2.0-bin (2.87.2-2) ... 1652s Selecting previously unselected package libglib2.0-dev-bin. 1652s Preparing to unpack .../23-libglib2.0-dev-bin_2.87.2-2_amd64.deb ... 1652s Unpacking libglib2.0-dev-bin (2.87.2-2) ... 1652s Selecting previously unselected package python3-dbusmock. 1652s Preparing to unpack .../24-python3-dbusmock_0.38.1-1_all.deb ... 1652s Unpacking python3-dbusmock (0.38.1-1) ... 1652s Selecting previously unselected package tzdata-legacy. 1652s Preparing to unpack .../25-tzdata-legacy_2025c-3ubuntu3_all.deb ... 1652s Unpacking tzdata-legacy (2025c-3ubuntu3) ... 1652s Selecting previously unselected package python3.14. 1652s Preparing to unpack .../26-python3.14_3.14.2-1_amd64.deb ... 1652s Unpacking python3.14 (3.14.2-1) ... 1652s Selecting previously unselected package libglib2.0-tests. 1652s Preparing to unpack .../27-libglib2.0-tests_2.87.2-2_amd64.deb ... 1652s Unpacking libglib2.0-tests (2.87.2-2) ... 1652s Selecting previously unselected package libxcb-glx0:amd64. 1652s Preparing to unpack .../28-libxcb-glx0_1.17.0-2ubuntu1_amd64.deb ... 1652s Unpacking libxcb-glx0:amd64 (1.17.0-2ubuntu1) ... 1652s Selecting previously unselected package libxcb-shm0:amd64. 1652s Preparing to unpack .../29-libxcb-shm0_1.17.0-2ubuntu1_amd64.deb ... 1652s Unpacking libxcb-shm0:amd64 (1.17.0-2ubuntu1) ... 1652s Selecting previously unselected package libxxf86vm1:amd64. 1652s Preparing to unpack .../30-libxxf86vm1_1%3a1.1.4-2_amd64.deb ... 1652s Unpacking libxxf86vm1:amd64 (1:1.1.4-2) ... 1652s Selecting previously unselected package libglx-mesa0:amd64. 1652s Preparing to unpack .../31-libglx-mesa0_25.3.3-1ubuntu1_amd64.deb ... 1652s Unpacking libglx-mesa0:amd64 (25.3.3-1ubuntu1) ... 1652s Selecting previously unselected package x11-common. 1652s Preparing to unpack .../32-x11-common_1%3a7.7+24ubuntu1_all.deb ... 1652s Unpacking x11-common (1:7.7+24ubuntu1) ... 1652s Selecting previously unselected package libice6:amd64. 1652s Preparing to unpack .../33-libice6_2%3a1.1.1-1build1_amd64.deb ... 1652s Unpacking libice6:amd64 (2:1.1.1-1build1) ... 1652s Selecting previously unselected package libpixman-1-0:amd64. 1652s Preparing to unpack .../34-libpixman-1-0_0.46.4-1_amd64.deb ... 1652s Unpacking libpixman-1-0:amd64 (0.46.4-1) ... 1652s Selecting previously unselected package libsm6:amd64. 1652s Preparing to unpack .../35-libsm6_2%3a1.2.6-1build1_amd64.deb ... 1652s Unpacking libsm6:amd64 (2:1.2.6-1build1) ... 1652s Selecting previously unselected package libxt6t64:amd64. 1652s Preparing to unpack .../36-libxt6t64_1%3a1.2.1-1.3_amd64.deb ... 1652s Unpacking libxt6t64:amd64 (1:1.2.1-1.3) ... 1652s Selecting previously unselected package libxmu6:amd64. 1652s Preparing to unpack .../37-libxmu6_2%3a1.1.3-4_amd64.deb ... 1652s Unpacking libxmu6:amd64 (2:1.1.3-4) ... 1652s Selecting previously unselected package libxpm4:amd64. 1652s Preparing to unpack .../38-libxpm4_1%3a3.5.17-1build3_amd64.deb ... 1652s Unpacking libxpm4:amd64 (1:3.5.17-1build3) ... 1652s Selecting previously unselected package libxaw7:amd64. 1652s Preparing to unpack .../39-libxaw7_2%3a1.0.16-1build1_amd64.deb ... 1652s Unpacking libxaw7:amd64 (2:1.0.16-1build1) ... 1652s Selecting previously unselected package libxfont2:amd64. 1652s Preparing to unpack .../40-libxfont2_1%3a2.0.6-2_amd64.deb ... 1652s Unpacking libxfont2:amd64 (1:2.0.6-2) ... 1652s Selecting previously unselected package libxkbfile1:amd64. 1652s Preparing to unpack .../41-libxkbfile1_1%3a1.1.0-1build5_amd64.deb ... 1652s Unpacking libxkbfile1:amd64 (1:1.1.0-1build5) ... 1652s Selecting previously unselected package libxrender1:amd64. 1652s Preparing to unpack .../42-libxrender1_1%3a0.9.12-1_amd64.deb ... 1652s Unpacking libxrender1:amd64 (1:0.9.12-1) ... 1652s Selecting previously unselected package libxrandr2:amd64. 1652s Preparing to unpack .../43-libxrandr2_2%3a1.5.4-1build1_amd64.deb ... 1652s Unpacking libxrandr2:amd64 (2:1.5.4-1build1) ... 1652s Selecting previously unselected package x11-xkb-utils. 1652s Preparing to unpack .../44-x11-xkb-utils_7.7+9build1_amd64.deb ... 1652s Unpacking x11-xkb-utils (7.7+9build1) ... 1652s Selecting previously unselected package xserver-common. 1652s Preparing to unpack .../45-xserver-common_2%3a21.1.21-1ubuntu1_all.deb ... 1652s Unpacking xserver-common (2:21.1.21-1ubuntu1) ... 1652s Selecting previously unselected package libglvnd0:amd64. 1652s Preparing to unpack .../46-libglvnd0_1.7.0-3_amd64.deb ... 1652s Unpacking libglvnd0:amd64 (1.7.0-3) ... 1652s Selecting previously unselected package libglx0:amd64. 1652s Preparing to unpack .../47-libglx0_1.7.0-3_amd64.deb ... 1652s Unpacking libglx0:amd64 (1.7.0-3) ... 1652s Selecting previously unselected package libgl1:amd64. 1652s Preparing to unpack .../48-libgl1_1.7.0-3_amd64.deb ... 1652s Unpacking libgl1:amd64 (1.7.0-3) ... 1652s Selecting previously unselected package xvfb. 1652s Preparing to unpack .../49-xvfb_2%3a21.1.21-1ubuntu1_amd64.deb ... 1652s Unpacking xvfb (2:21.1.21-1ubuntu1) ... 1652s Setting up gnome-desktop-testing (2021.1-5) ... 1652s Setting up libxcb-dri3-0:amd64 (1.17.0-2ubuntu1) ... 1652s Setting up libpixman-1-0:amd64 (0.46.4-1) ... 1652s Setting up libx11-xcb1:amd64 (2:1.8.12-1build1) ... 1652s Setting up libpciaccess0:amd64 (0.18.1-1ubuntu3) ... 1652s Setting up libgio-2.0-dev-bin (2.87.2-2) ... 1652s Setting up native-architecture (0.2.6build1) ... 1652s Setting up libxcb-xfixes0:amd64 (1.17.0-2ubuntu1) ... 1652s Setting up desktop-file-utils (0.28-1build1) ... 1652s Setting up libxpm4:amd64 (1:3.5.17-1build3) ... 1652s Setting up libxrender1:amd64 (1:0.9.12-1) ... 1652s Setting up libglvnd0:amd64 (1.7.0-3) ... 1652s Setting up libxcb-glx0:amd64 (1.17.0-2ubuntu1) ... 1652s Setting up libdrm-intel1:amd64 (2.4.131-1) ... 1652s Setting up x11-common (1:7.7+24ubuntu1) ... 1652s Setting up libglib2.0-bin (2.87.2-2) ... 1652s Setting up libxcb-shm0:amd64 (1.17.0-2ubuntu1) ... 1652s Setting up python3-dbusmock (0.38.1-1) ... 1653s Setting up tzdata-legacy (2025c-3ubuntu3) ... 1653s Setting up libxxf86vm1:amd64 (1:1.1.4-2) ... 1653s Setting up libxcb-present0:amd64 (1.17.0-2ubuntu1) ... 1653s Setting up libfontenc1:amd64 (1:1.1.8-1build2) ... 1653s Setting up libxcb-sync1:amd64 (1.17.0-2ubuntu1) ... 1653s Setting up libxrandr2:amd64 (2:1.5.4-1build1) ... 1653s Setting up libvulkan1:amd64 (1.4.335.0-1) ... 1653s Setting up gir1.2-glib-2.0-dev:amd64 (2.87.2-2) ... 1653s Setting up libxshmfence1:amd64 (1.3.3-1build1) ... 1653s Setting up dbus-x11 (1.16.2-2ubuntu2) ... 1653s Setting up libxcb-randr0:amd64 (1.17.0-2ubuntu1) ... 1653s Setting up libxkbfile1:amd64 (1:1.1.0-1build5) ... 1653s Setting up libxfont2:amd64 (1:2.0.6-2) ... 1653s Setting up python3.14-minimal (3.14.2-1) ... 1653s Setting up libice6:amd64 (2:1.1.1-1build1) ... 1653s Setting up mesa-libgallium:amd64 (25.3.3-1ubuntu1) ... 1653s Setting up girepository-tools:amd64 (2.87.2-2) ... 1653s Setting up libgbm1:amd64 (25.3.3-1ubuntu1) ... 1653s Setting up libgl1-mesa-dri:amd64 (25.3.3-1ubuntu1) ... 1653s Setting up python3.14 (3.14.2-1) ... 1654s Setting up libsm6:amd64 (2:1.2.6-1build1) ... 1654s Setting up libglib2.0-dev-bin (2.87.2-2) ... 1654s Setting up libglx-mesa0:amd64 (25.3.3-1ubuntu1) ... 1654s Setting up libglx0:amd64 (1.7.0-3) ... 1654s Setting up libgl1:amd64 (1.7.0-3) ... 1654s Setting up libxt6t64:amd64 (1:1.2.1-1.3) ... 1654s Setting up libglib2.0-tests (2.87.2-2) ... 1654s Setting up libxmu6:amd64 (2:1.1.3-4) ... 1654s Setting up libxaw7:amd64 (2:1.0.16-1build1) ... 1654s Setting up x11-xkb-utils (7.7+9build1) ... 1654s Setting up xserver-common (2:21.1.21-1ubuntu1) ... 1654s Setting up xvfb (2:21.1.21-1ubuntu1) ... 1654s Processing triggers for systemd (259-1ubuntu3) ... 1654s Processing triggers for man-db (2.13.1-1build1) ... 1654s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1661s autopkgtest [16:23:36]: test installed-tests: [----------------------- 1661s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 1661s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1661s group entry: ubuntu:x:1000: 1661s Environment: 1661s ADTTMP=/tmp/autopkgtest.xqX1sv/autopkgtest_tmp 1661s ADT_ARTIFACTS=/tmp/autopkgtest.xqX1sv/installed-tests-artifacts 1661s ADT_TEST_TRIGGERS=dpkg/1.23.5ubuntu1 1661s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.xqX1sv/installed-tests-artifacts 1661s AUTOPKGTEST_TESTBED_ARCH=amd64 1661s AUTOPKGTEST_TEST_ARCH=amd64 1661s AUTOPKGTEST_TMP=/tmp/autopkgtest.xqX1sv/autopkgtest_tmp 1661s DEBIAN_FRONTEND=noninteractive 1661s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 1661s DEB_BUILD_OPTIONS=parallel=2 1661s GIO_USE_VFS=local 1661s GIO_USE_VOLUME_MONITOR=unix 1661s HOME=/home/ubuntu 1661s LANG=C.UTF-8 1661s LOGNAME=ubuntu 1661s MAIL=/var/mail/ubuntu 1661s OLDPWD=/home/ubuntu 1661s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1661s PWD=/tmp/autopkgtest.xqX1sv/build.k9e/src 1661s SHELL=/bin/bash 1661s SHLVL=1 1661s SUDO_COMMAND=/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.xqX1sv/wrapper.sh --artifacts=/tmp/autopkgtest.xqX1sv/installed-tests-artifacts --chdir=/tmp/autopkgtest.xqX1sv/build.k9e/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.xqX1sv/installed-tests-stderr --stdout=/tmp/autopkgtest.xqX1sv/installed-tests-stdout --tmp=/tmp/autopkgtest.xqX1sv/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=dpkg/1.23.5ubuntu1 --make-executable=/tmp/autopkgtest.xqX1sv/build.k9e/src/debian/tests/installed-tests -- /tmp/autopkgtest.xqX1sv/build.k9e/src/debian/tests/installed-tests 1661s SUDO_GID=1000 1661s SUDO_HOME=/home/ubuntu 1661s SUDO_UID=1000 1661s SUDO_USER=ubuntu 1661s TERM=linux 1661s USER=ubuntu 1661s XDG_RUNTIME_DIR=/tmp/autopkgtest.xqX1sv/autopkgtest_tmp 1661s http_proxy=http://egress.ps7.internal:3128/ 1661s https_proxy=http://egress.ps7.internal:3128/ 1661s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain 1661s run-with-locales: de_DE=ISO-8859-1... 1661s Character set: ISO-8859-1 1661s Source file: de_DE 1661s Output: /tmp/tmp.dZnrC1uNdL/de_DE 1661s run-with-locales: de_DE.utf8... 1661s Character set: UTF-8 1661s Source file: de_DE 1661s Output: /tmp/tmp.dZnrC1uNdL/de_DE.utf8 1662s run-with-locales: de_DE@euro.utf8... 1662s Character set: UTF-8 1662s Source file: de_DE@euro 1662s Output: /tmp/tmp.dZnrC1uNdL/de_DE@euro.utf8 1663s run-with-locales: el_GR.utf8... 1663s Character set: UTF-8 1663s Source file: el_GR 1663s Output: /tmp/tmp.dZnrC1uNdL/el_GR.utf8 1664s run-with-locales: en_GB=ISO-8859-1... 1664s Character set: ISO-8859-1 1664s Source file: en_GB 1664s Output: /tmp/tmp.dZnrC1uNdL/en_GB 1664s run-with-locales: en_GB.utf8... 1664s Character set: UTF-8 1664s Source file: en_GB 1664s Output: /tmp/tmp.dZnrC1uNdL/en_GB.utf8 1665s run-with-locales: en_US=ISO-8859-1... 1665s Character set: ISO-8859-1 1665s Source file: en_US 1665s Output: /tmp/tmp.dZnrC1uNdL/en_US 1665s run-with-locales: en_US.utf8... 1665s Character set: UTF-8 1665s Source file: en_US 1665s Output: /tmp/tmp.dZnrC1uNdL/en_US.utf8 1666s run-with-locales: es_ES.utf8... 1666s Character set: UTF-8 1666s Source file: es_ES 1666s Output: /tmp/tmp.dZnrC1uNdL/es_ES.utf8 1667s run-with-locales: fa_IR=UTF-8... 1667s Character set: UTF-8 1667s Source file: fa_IR 1667s Output: /tmp/tmp.dZnrC1uNdL/fa_IR 1668s run-with-locales: fa_IR.utf8... 1668s Character set: UTF-8 1668s Source file: fa_IR 1668s Output: /tmp/tmp.dZnrC1uNdL/fa_IR.utf8 1669s run-with-locales: fr_FR.utf8... 1669s Character set: UTF-8 1669s Source file: fr_FR 1669s Output: /tmp/tmp.dZnrC1uNdL/fr_FR.utf8 1670s run-with-locales: hr_HR.utf8... 1670s Character set: UTF-8 1670s Source file: hr_HR 1670s Output: /tmp/tmp.dZnrC1uNdL/hr_HR.utf8 1671s run-with-locales: ja_JP.utf8... 1671s Character set: UTF-8 1671s Source file: ja_JP 1671s Output: /tmp/tmp.dZnrC1uNdL/ja_JP.utf8 1671s run-with-locales: ja_JP.EUC-JP... 1671s Character set: EUC-JP 1671s Source file: ja_JP 1671s Output: /tmp/tmp.dZnrC1uNdL/ja_JP.eucjp 1672s run-with-locales: lt_LT.utf8... 1672s Character set: UTF-8 1672s Source file: lt_LT 1672s Output: /tmp/tmp.dZnrC1uNdL/lt_LT.utf8 1673s run-with-locales: pl_PL=ISO-8859-2... 1673s Character set: ISO-8859-2 1673s Source file: pl_PL 1673s Output: /tmp/tmp.dZnrC1uNdL/pl_PL 1673s run-with-locales: pl_PL.ISO-8859-2... 1673s Character set: ISO-8859-2 1673s Source file: pl_PL 1673s Output: /tmp/tmp.dZnrC1uNdL/pl_PL.iso88592 1673s run-with-locales: pl_PL.utf8... 1673s Character set: UTF-8 1673s Source file: pl_PL 1673s Output: /tmp/tmp.dZnrC1uNdL/pl_PL.utf8 1674s run-with-locales: ru_RU=ISO-8859-5... 1674s Character set: ISO-8859-5 1674s Source file: ru_RU 1674s Output: /tmp/tmp.dZnrC1uNdL/ru_RU 1674s run-with-locales: ru_RU.utf8... 1674s Character set: UTF-8 1674s Source file: ru_RU 1674s Output: /tmp/tmp.dZnrC1uNdL/ru_RU.utf8 1675s run-with-locales: sr_RS=UTF-8... 1675s Character set: UTF-8 1675s Source file: sr_RS 1675s Output: /tmp/tmp.dZnrC1uNdL/sr_RS 1676s run-with-locales: sr_RS@latin=UTF-8... 1676s Character set: UTF-8 1676s Source file: sr_RS@latin 1676s Output: /tmp/tmp.dZnrC1uNdL/sr_RS@latin 1677s run-with-locales: sv_SE=ISO-8859-1... 1677s Character set: ISO-8859-1 1677s Source file: sv_SE 1677s Output: /tmp/tmp.dZnrC1uNdL/sv_SE 1677s run-with-locales: sv_SE.utf8... 1677s Character set: UTF-8 1677s Source file: sv_SE 1677s Output: /tmp/tmp.dZnrC1uNdL/sv_SE.utf8 1678s run-with-locales: tr_TR=ISO-8859-9... 1678s Character set: ISO-8859-9 1678s Source file: tr_TR 1678s Output: /tmp/tmp.dZnrC1uNdL/tr_TR 1678s run-with-locales: tr_TR.utf8... 1678s Character set: UTF-8 1678s Source file: tr_TR 1678s Output: /tmp/tmp.dZnrC1uNdL/tr_TR.utf8 1679s run-with-locales: tt_RU=UTF-8... 1679s Character set: UTF-8 1679s Source file: tt_RU 1679s Output: /tmp/tmp.dZnrC1uNdL/tt_RU 1680s run-with-locales: tt_RU.utf8... 1680s Character set: UTF-8 1680s Source file: tt_RU 1680s Output: /tmp/tmp.dZnrC1uNdL/tt_RU.utf8 1681s run-with-locales: tt_RU@iqtelif=UTF-8... 1681s Character set: UTF-8 1681s Source file: tt_RU@iqtelif 1681s Output: /tmp/tmp.dZnrC1uNdL/tt_RU@iqtelif 1682s /tmp/tmp.dZnrC1uNdL 1682s /tmp/tmp.dZnrC1uNdL/ru_RU 1682s /tmp/tmp.dZnrC1uNdL/ru_RU/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/ru_RU/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/ru_RU/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/ru_RU/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/ru_RU/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/ru_RU/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/ru_RU/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/ru_RU/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/ru_RU/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/ru_RU/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/ru_RU/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/ru_RU/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.utf8 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.utf8/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/fr_FR.utf8 1682s /tmp/tmp.dZnrC1uNdL/fr_FR.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/fr_FR.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/fr_FR.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/fr_FR.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/fr_FR.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/fr_FR.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/fr_FR.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/fr_FR.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/fr_FR.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/fr_FR.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/fr_FR.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/fr_FR.utf8/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/en_GB.utf8 1682s /tmp/tmp.dZnrC1uNdL/en_GB.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/en_GB.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/en_GB.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/en_GB.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/en_GB.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/en_GB.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/en_GB.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/en_GB.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/en_GB.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/en_GB.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/en_GB.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/en_GB.utf8/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/tr_TR 1682s /tmp/tmp.dZnrC1uNdL/tr_TR/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/tr_TR/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/tr_TR/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/tr_TR/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/tr_TR/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/tr_TR/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/tr_TR/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/tr_TR/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/tr_TR/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/tr_TR/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/tr_TR/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/tr_TR/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/tt_RU@iqtelif 1682s /tmp/tmp.dZnrC1uNdL/tt_RU@iqtelif/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/tt_RU@iqtelif/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/tt_RU@iqtelif/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/tt_RU@iqtelif/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/tt_RU@iqtelif/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/tt_RU@iqtelif/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/tt_RU@iqtelif/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/tt_RU@iqtelif/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/tt_RU@iqtelif/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/tt_RU@iqtelif/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/tt_RU@iqtelif/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/tt_RU@iqtelif/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/el_GR.utf8 1682s /tmp/tmp.dZnrC1uNdL/el_GR.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/el_GR.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/el_GR.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/el_GR.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/el_GR.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/el_GR.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/el_GR.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/el_GR.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/el_GR.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/el_GR.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/el_GR.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/el_GR.utf8/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.utf8 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.utf8/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/ru_RU.utf8 1682s /tmp/tmp.dZnrC1uNdL/ru_RU.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/ru_RU.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/ru_RU.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/ru_RU.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/ru_RU.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/ru_RU.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/ru_RU.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/ru_RU.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/ru_RU.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/ru_RU.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/ru_RU.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/ru_RU.utf8/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/tt_RU.utf8 1682s /tmp/tmp.dZnrC1uNdL/tt_RU.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/tt_RU.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/tt_RU.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/tt_RU.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/tt_RU.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/tt_RU.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/tt_RU.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/tt_RU.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/tt_RU.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/tt_RU.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/tt_RU.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/tt_RU.utf8/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/fa_IR.utf8 1682s /tmp/tmp.dZnrC1uNdL/fa_IR.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/fa_IR.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/fa_IR.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/fa_IR.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/fa_IR.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/fa_IR.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/fa_IR.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/fa_IR.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/fa_IR.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/fa_IR.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/fa_IR.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/fa_IR.utf8/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/sr_RS@latin 1682s /tmp/tmp.dZnrC1uNdL/sr_RS@latin/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/sr_RS@latin/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/sr_RS@latin/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/sr_RS@latin/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/sr_RS@latin/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/sr_RS@latin/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/sr_RS@latin/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/sr_RS@latin/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/sr_RS@latin/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/sr_RS@latin/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/sr_RS@latin/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/sr_RS@latin/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.iso88592 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.iso88592/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.iso88592/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.iso88592/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.iso88592/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.iso88592/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.iso88592/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.iso88592/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.iso88592/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.iso88592/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.iso88592/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.iso88592/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/pl_PL.iso88592/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/lt_LT.utf8 1682s /tmp/tmp.dZnrC1uNdL/lt_LT.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/lt_LT.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/lt_LT.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/lt_LT.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/lt_LT.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/lt_LT.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/lt_LT.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/lt_LT.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/lt_LT.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/lt_LT.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/lt_LT.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/lt_LT.utf8/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/en_US 1682s /tmp/tmp.dZnrC1uNdL/en_US/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/en_US/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/en_US/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/en_US/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/en_US/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/en_US/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/en_US/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/en_US/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/en_US/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/en_US/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/en_US/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/en_US/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/en_GB 1682s /tmp/tmp.dZnrC1uNdL/en_GB/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/en_GB/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/en_GB/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/en_GB/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/en_GB/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/en_GB/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/en_GB/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/en_GB/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/en_GB/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/en_GB/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/en_GB/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/en_GB/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/de_DE.utf8 1682s /tmp/tmp.dZnrC1uNdL/de_DE.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/de_DE.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/de_DE.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/de_DE.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/de_DE.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/de_DE.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/de_DE.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/de_DE.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/de_DE.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/de_DE.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/de_DE.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/de_DE.utf8/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/hr_HR.utf8 1682s /tmp/tmp.dZnrC1uNdL/hr_HR.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/hr_HR.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/hr_HR.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/hr_HR.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/hr_HR.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/hr_HR.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/hr_HR.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/hr_HR.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/hr_HR.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/hr_HR.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/hr_HR.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/hr_HR.utf8/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/sr_RS 1682s /tmp/tmp.dZnrC1uNdL/sr_RS/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/sr_RS/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/sr_RS/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/sr_RS/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/sr_RS/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/sr_RS/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/sr_RS/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/sr_RS/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/sr_RS/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/sr_RS/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/sr_RS/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/sr_RS/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/fa_IR 1682s /tmp/tmp.dZnrC1uNdL/fa_IR/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/fa_IR/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/fa_IR/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/fa_IR/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/fa_IR/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/fa_IR/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/fa_IR/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/fa_IR/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/fa_IR/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/fa_IR/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/fa_IR/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/fa_IR/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/tt_RU 1682s /tmp/tmp.dZnrC1uNdL/tt_RU/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/tt_RU/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/tt_RU/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/tt_RU/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/tt_RU/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/tt_RU/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/tt_RU/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/tt_RU/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/tt_RU/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/tt_RU/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/tt_RU/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/tt_RU/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/sv_SE 1682s /tmp/tmp.dZnrC1uNdL/sv_SE/LC_MESSAGES 1682s /tm1..337 1682s # Running test: glib/properties-refcount4.test 1682s ok - glib/properties-refcount4.test 1682s # Running test: glib/properties.test 1682s ok - glib/properties.test 1682s # Running test: glib/scannerapi.test 1682s ok - glib/scannerapi.test 1682s # Running test: glib/singleton.test 1682s ok - glib/singleton.test 1682s # Running test: glib/override.test 1682s ok - glib/override.test 1682s # Running test: glib/relation.test 1682s ok - glib/relation.test 1682s # Running test: glib/environment.test 1682s ok - glib/environment.test 1682s # Running test: glib/memory-input-stream.test 1682s ok - glib/memory-input-stream.test 1682s # Running test: glib/testing.test 1682s ok - glib/testing.test 1682s p/tmp.dZnrC1uNdL/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/sv_SE/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/sv_SE/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/sv_SE/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/sv_SE/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/sv_SE/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/sv_SE/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/sv_SE/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/sv_SE/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/sv_SE/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/sv_SE/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/sv_SE/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/pl_PL 1682s /tmp/tmp.dZnrC1uNdL/pl_PL/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/pl_PL/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/pl_PL/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/pl_PL/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/pl_PL/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/pl_PL/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/pl_PL/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/pl_PL/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/pl_PL/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/pl_PL/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/pl_PL/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/pl_PL/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/es_ES.utf8 1682s /tmp/tmp.dZnrC1uNdL/es_ES.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/es_ES.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/es_ES.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/es_ES.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/es_ES.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/es_ES.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/es_ES.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/es_ES.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/es_ES.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/es_ES.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/es_ES.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/es_ES.utf8/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/de_DE 1682s /tmp/tmp.dZnrC1uNdL/de_DE/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/de_DE/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/de_DE/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/de_DE/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/de_DE/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/de_DE/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/de_DE/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/de_DE/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/de_DE/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/de_DE/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/de_DE/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/de_DE/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/en_US.utf8 1682s /tmp/tmp.dZnrC1uNdL/en_US.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/en_US.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/en_US.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/en_US.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/en_US.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/en_US.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/en_US.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/en_US.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/en_US.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/en_US.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/en_US.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/en_US.utf8/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.eucjp 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.eucjp/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.eucjp/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.eucjp/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.eucjp/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.eucjp/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.eucjp/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.eucjp/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.eucjp/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.eucjp/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.eucjp/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.eucjp/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/ja_JP.eucjp/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/tr_TR.utf8 1682s /tmp/tmp.dZnrC1uNdL/tr_TR.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/tr_TR.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/tr_TR.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/tr_TR.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/tr_TR.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/tr_TR.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/tr_TR.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/tr_TR.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/tr_TR.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/tr_TR.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/tr_TR.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/tr_TR.utf8/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/de_DE@euro.utf8 1682s /tmp/tmp.dZnrC1uNdL/de_DE@euro.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/de_DE@euro.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/de_DE@euro.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/de_DE@euro.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/de_DE@euro.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/de_DE@euro.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/de_DE@euro.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/de_DE@euro.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/de_DE@euro.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/de_DE@euro.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/de_DE@euro.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/de_DE@euro.utf8/LC_ADDRESS 1682s /tmp/tmp.dZnrC1uNdL/sv_SE.utf8 1682s /tmp/tmp.dZnrC1uNdL/sv_SE.utf8/LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1682s /tmp/tmp.dZnrC1uNdL/sv_SE.utf8/LC_MEASUREMENT 1682s /tmp/tmp.dZnrC1uNdL/sv_SE.utf8/LC_CTYPE 1682s /tmp/tmp.dZnrC1uNdL/sv_SE.utf8/LC_IDENTIFICATION 1682s /tmp/tmp.dZnrC1uNdL/sv_SE.utf8/LC_NAME 1682s /tmp/tmp.dZnrC1uNdL/sv_SE.utf8/LC_MONETARY 1682s /tmp/tmp.dZnrC1uNdL/sv_SE.utf8/LC_NUMERIC 1682s /tmp/tmp.dZnrC1uNdL/sv_SE.utf8/LC_PAPER 1682s /tmp/tmp.dZnrC1uNdL/sv_SE.utf8/LC_COLLATE 1682s /tmp/tmp.dZnrC1uNdL/sv_SE.utf8/LC_TIME 1682s /tmp/tmp.dZnrC1uNdL/sv_SE.utf8/LC_TELEPHONE 1682s /tmp/tmp.dZnrC1uNdL/sv_SE.utf8/LC_ADDRESS 1682s TAP version 14 1682s # random seed: R02S9216dbf278a7459483a7fe1a893ffb89 1682s 1..1 1682s # Start of gobject tests 1682s # Start of refcount tests 1682s ok 1 /gobject/refcount/properties-4 1682s # End of refcount tests 1682s # End of gobject tests 1682s TAP version 14 1682s # random seed: R02S3ba90b79484ca4701d0eee45011d0d48 1682s 1..14 1682s # Start of properties tests 1682s ok 1 /properties/install 1682s ok 2 /properties/install-many 1682s ok 3 /properties/notify 1682s ok 4 /properties/notify-queue 1682s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1682s ok 5 /properties/construct 1682s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1682s # Test g_object_get_property with an initialized value 1682s # Test g_object_get_property with an uninitialized value 1682s # Test g_object_get_property with a transformable value 1682s ok 6 /properties/get-property 1682s ok 7 /properties/testv_with_no_properties 1682s ok 8 /properties/testv_with_valid_properties 1682s ok 9 /properties/testv_with_invalid_property_type 1682s ok 10 /properties/testv_with_invalid_property_names 1682s ok 11 /properties/testv_getv 1682s ok 12 /properties/testv_notify_queue 1682s # Start of notify tests 1682s ok 13 /properties/notify/too-many-freezes 1682s # End of notify tests 1682s # Start of set-property tests 1682s # Start of variant tests 1682s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1682s ok 14 /properties/set-property/variant/floating 1682s # End of variant tests 1682s # End of set-property tests 1682s # End of properties tests 1682s TAP version 14 1682s # random seed: R02Sf81ab1c10b7edcd6d72ba92138e67e4c 1682s 1..8 1682s # Start of scanner tests 1682s ok 1 /scanner/warn 1682s ok 2 /scanner/error 1682s ok 3 /scanner/symbols 1682s ok 4 /scanner/tokens 1682s ok 5 /scanner/multiline-comment 1682s ok 6 /scanner/int-to-float 1682s ok 7 /scanner/fd-input 1682s # Start of fd-input tests 1682s ok 8 /scanner/fd-input/rewind 1682s # End of fd-input tests 1682s # End of scanner tests 1682s TAP version 14 1682s # random seed: R02Sefa7f9c78bebba8ac130767217c02788 1682s 1..2 1682s # Start of gobject tests 1682s # Start of singleton tests 1682s ok 1 /gobject/singleton/construction 1682s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1682s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1682s ok 2 /gobject/singleton/construct-property 1682s # End of singleton tests 1682s # End of gobject tests 1682s TAP version 14 1682s # random seed: R02S362927ef4ad8476577f316b38ffa746c 1682s 1..1 1682s # Start of gobject tests 1682s # *** emitting foo on a TestA instance 1682s # Expecting: TestA::foo,TestI::foo 1682s # Got: TestA::foo,TestI::foo 1682s # *** emitting bar on a TestA instance 1682s # Expecting: TestA::bar 1682s # Got: TestA::bar 1682s # *** emitting baz on a TestA instance 1682s # Expecting: TestA::baz 1682s # Got: TestA::baz 1682s # *** emitting foo on a TestB instance 1682s # Expecting: TestB::foo,TestA::foo,TestI::foo 1682s # Got: TestB::foo,TestA::foo,TestI::foo 1682s # *** emitting bar on a TestB instance 1682s # Expecting: TestB::bar,TestA::bar 1682s # Got: TestB::bar,TestA::bar 1682s # *** emitting baz on a TestB instance 1682s # Expecting: TestB::baz,TestA::baz 1682s # Got: TestB::baz,TestA::baz 1682s # *** emitting foo on a TestC instance 1682s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1682s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1682s # *** emitting bar on a TestC instance 1682s # Expecting: TestC::bar,TestB::bar,TestA::bar 1682s # Got: TestC::bar,TestB::bar,TestA::bar 1682s # *** emitting baz on a TestC instance 1682s # Expecting: TestC::baz,TestB::baz,TestA::baz 1682s # Got: TestC::baz,TestB::baz,TestA::baz 1682s ok 1 /gobject/override 1682s # End of gobject tests 1682s TAP version 14 1682s # random seed: R02S15fe4b5f9d1723fff5fd5a2678934f3f 1682s 1..1 1682s # Start of glib tests 1682s ok 1 /glib/relation 1682s # End of glib tests 1682s TAP version 14 1682s # random seed: R02Sbf1599090e5bc4e4533a7a7105630810 1682s 1..7 1682s # Start of environ tests 1682s # /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. 1682s ok 1 /environ/listenv 1682s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1682s ok 2 /environ/getenv 1682s ok 3 /environ/setenv 1682s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1682s ok 4 /environ/array 1682s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1682s ok 5 /environ/null 1682s # /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. 1682s ok 6 /environ/case 1682s # /environ/expansion summary: Test expansion of environment variable references. 1682s ok 7 /environ/expansion # SKIP Environment variable expansion is only supported on Windows 1682s # End of environ tests 1682s TAP version 14 1682s # random seed: R02S31ffefa15a64d7121d4de90a5f9dc691 1682s 1..6 1682s # Start of memory-input-stream tests 1682s ok 1 /memory-input-stream/read-chunks 1682s ok 2 /memory-input-stream/async 1682s ok 3 /memory-input-stream/seek 1682s ok 4 /memory-input-stream/truncate 1682s ok 5 /memory-input-stream/read-bytes 1682s ok 6 /memory-input-stream/from-bytes 1682s # End of memory-input-stream tests 1682s TAP version 14 1682s # random seed: R02S242e02a6b6c9dcbace99b3a0215fb4d6 1682s 1..1 1682s # Start of assert tests 1682s ok 1 /assert/finalize_object 1682s # Start of finalize_object tests 1682s # Start of subprocess tests 1682s # End of subprocess tests 1682s # End of finalize_object tests 1682s # End of assert tests 1682s # Running test: glib/param.test 1682s TAP version 14 1682s # random seed: R02Sca463dba904b0a0eba792bf67fd61501 1682s 1..32 1682s # Start of param tests 1682s ok 1 /param/value 1682s ok 2 /param/strings 1682s ok 3 /param/qdata 1682s ok 4 /param/validate 1682s ok 5 /param/convert 1682s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1682s ok 7 /param/default 1682s ok 8 /param/is-valid-name 1682s # Start of invalid-name tests 1682s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1682s ok 9 /param/invalid-name/colon 1682s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1682s ok 10 /param/invalid-name/first-char 1682s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1682s ok 11 /param/invalid-name/empty 1682s # End of invalid-name tests 1682s # Start of implement tests 1682s # Start of subprocess tests 1682s # End of subprocess tests 1682s # End of implement tests 1682s # End of param tests 1682s # Start of value tests 1682s ok 12 /value/transform 1682s # End of value tests 1682s # Start of paramspec tests 1682s ok 13 /paramspec/char 1682s ok 14 /paramspec/uchar 1682s ok 15 /paramspec/int 1682s ok 16 /paramspec/uint 1682s ok 17 /paramspec/long 1682s ok 18 /paramspec/ulong 1682s ok 19 /paramspec/int64 1682s ok 20 /paramspec/uint64 1682s ok 21 /paramspec/float 1682s ok 22 /paramspec/double 1682s ok 23 /paramspec/unichar 1682s ok 24 /paramspec/param 1682s ok 25 /paramspec/null-param 1682s ok 26 /paramspec/string 1682s ok 27 /paramspec/override 1682s ok 28 /paramspec/gtype 1682s ok 29 /paramspec/variant 1682s ok 30 /paramspec/custom 1682s ok 31 /paramspec/pool 1682s # Start of variant tests 1682s ok 32 /paramspec/variant/cmp 1682s # End of variant tests 1682s # End of paramspec tests 1682s ok - glib/param.test 1682s # Running test: glib/overflow-fallback.test 1682s TAP version 14 1682s # random seed: R02S3fa29b2fbe1bb15372b32b6b03c3f141 1682s 1..6 1682s # Start of glib tests 1682s # Start of checked-math tests 1682s ok 1 /glib/checked-math/guint-add 1682s ok - glib/overflow-fallback.test 1682s ok 2 /glib/checked-math/guint-mul 1682s ok 3 /glib/checked-math/guint64-add 1682s ok 4 /glib/checked-math/guint64-mul 1682s ok 5 /glib/checked-math/gsize-add 1682s ok 6 /glib/checked-math/gsize-mul 1682s # End of checked-math tests 1682s # End of glib tests 1682s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1682s TAP version 14 1682s # random seed: R02Se4979af68c460dc39e11dac9f6416574 1682s 1..8 1682s # Start of gdbus tests 1682s # Start of codegen tests 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/annotations/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/annotations/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/annotations/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/annotations/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/annotations/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/annotations/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/annotations/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/annotations/.dirs/runtime 1682s ok 1 /gdbus/codegen/annotations 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/interface_stability/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/interface_stability/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/interface_stability/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/interface_stability/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/interface_stability/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/interface_stability/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/interface_stability/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/interface_stability/.dirs/runtime 1682s ok 2 /gdbus/codegen/interface_stability 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/object-manager/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/object-manager/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/object-manager/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/object-manager/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/object-manager/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/object-manager/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/object-manager/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/object-manager/.dirs/runtime 1682s ok 3 /gdbus/codegen/object-manager 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/property-naming/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/property-naming/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/property-naming/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/property-naming/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/property-naming/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/property-naming/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/property-naming/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/property-naming/.dirs/runtime 1682s ok 4 /gdbus/codegen/property-naming 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/autocleanups/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/autocleanups/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/autocleanups/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/autocleanups/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/autocleanups/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/autocleanups/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/autocleanups/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/autocleanups/.dirs/runtime 1682s ok 5 /gdbus/codegen/autocleanups 1682s ok - glib/gdbus-test-codegen-min-required-2-64.test 1682s # Running test: glib/testfilemonitor.test 1682s ok - glib/testfilemonitor.test 1682s # Running test: glib/appmonitor.test 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/deprecations/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/deprecations/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/deprecations/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/deprecations/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/deprecations/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/deprecations/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/deprecations/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/deprecations/.dirs/runtime 1682s ok 6 /gdbus/codegen/deprecations 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/standalone-interface-info/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/standalone-interface-info/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/standalone-interface-info/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/standalone-interface-info/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/standalone-interface-info/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1682s ok 7 /gdbus/codegen/standalone-interface-info 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/unix-fd-list/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/unix-fd-list/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/unix-fd-list/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/unix-fd-list/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/unix-fd-list/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KWTPK3/gdbus/codegen/unix-fd-list/.dirs/runtime 1682s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1682s ok 8 /gdbus/codegen/unix-fd-list 1682s # End of codegen tests 1682s # End of gdbus tests 1682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1682s TAP version 14 1682s # random seed: R02S987e686d682576ba0e9eb2dc2d2e293c 1682s 1..8 1682s # Start of monitor tests 1682s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1682s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1682s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1682s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1682s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1682s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1682s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1682s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1682s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1682s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1682s # Start of file tests 1682s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1682s # End of file tests 1682s # End of monitor tests 1682s TAP version 14 1682s # random seed: R02Sce3497d6fe75a4f6e8cc6a53fbfa4ffb 1682s 1..1 1682s # Start of monitor tests 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_PDLOK3/monitor/app/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_PDLOK3/monitor/app/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_PDLOK3/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_PDLOK3/monitor/app/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_PDLOK3/monitor/app/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_PDLOK3/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_PDLOK3/monitor/app/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_PDLOK3/monitor/app/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_PDLOK3/monitor/app/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_PDLOK3/monitor/app/.dirs/runtime 1682s # Using data directory: /tmp/test_appmonitor_PDLOK3/monitor/app/.dirs/data 1682s ok 1 /monitor/app 1682s # End of monitor tests 1682s TAP version 14 1682s # random seed: R02S51c6e711d13a890ca446b5e3b9a0e576 1682s 1..1 1682s # Start of gdbus tests 1682s # Start of sasl tests 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_XR6OK3/gdbus/sasl/server/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_XR6OK3/gdbus/sasl/server/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_XR6OK3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_XR6OK3/gdbus/sasl/server/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_XR6OK3/gdbus/sasl/server/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_XR6OK3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_XR6OK3/gdbus/sasl/server/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_XR6OK3/gdbus/sasl/server/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_XR6OK3/gdbus/sasl/server/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_XR6OK3/gdbus/sasl/server/.dirs/runtime 1682s # New handshake: EXTERNAL with incorrect initial response 1682s # C:“AUTH EXTERNAL 30” 1682s # Expect: /^REJECTED.*$/ 1682s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1682s # New handshake: EXTERNAL without initial response, failing to authenticate 1682s # C:“AUTH EXTERNAL” 1682s # Expect: /^DATA$/ 1682s # S:“DATA” 1682s # C:“DATA 30” 1682s # Expect: /^REJECTED.*$/ 1682s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1682s # New handshake: EXTERNAL with initial response 1682s # C:“AUTH EXTERNAL 31303030” 1682s # Expect: /^OK [0-9a-f]+$/ 1682s # S:“OK 66db15b6afb9544bc188a5a06988b89d” 1682s # New handshake: EXTERNAL without initial response 1682s # C:“AUTH EXTERNAL” 1682s # Expect: /^DATA$/ 1682s # S:“DATA” 1682s # C:“DATA 31303030” 1682s # Expect: /^OK [0-9a-f]+$/ 1682s # S:“OK 66db15b6afb9544bc188a5a06988b89d” 1682s # New handshake: EXTERNAL with empty authorization identity 1682s # C:“AUTH EXTERNAL” 1682s # Expect: /^DATA$/ 1682s # S:“DATA” 1682s # C:“DATA” 1682s # Expect: /^OK [0-9a-f]+$/ 1682s # S:“OK 66db15b6afb9544bc188a5a06988b89d” 1682s # New handshake: EXTERNAL with empty authorization identity and whitespace 1682s # C:“AUTH EXTERNAL” 1682s # Expect: /^DATA$/ 1682s # S:“DATA” 1682s # C:“DATA ” 1682s # Expect: /^OK [0-9a-f]+$/ 1682s # S:“OK 66db15b6afb9544bc188a5a06988b89d” 1682s ok 1 /gdbus/sasl/server 1682s # End of sasl tests 1682s # End of gdbus tests 1682s TAP version 14 1682s # random seed: R02S11b63513feb74bee3d3d27218c65d044 1682s 1..1 1682s # Start of gobject tests 1682s # Start of flags tests 1682s ok 1 /gobject/flags/validate 1682s # End of flags tests 1682s # End of gobject tests 1682s ok - glib/appmonitor.test 1682s # Running test: glib/gdbus-sasl.test 1682s ok - glib/gdbus-sasl.test 1682s # Running test: glib/flags.test 1682s ok - glib/flags.test 1682s # Running test: glib/null-settings-backend.test 1682s TAP version 14 1682s # random seed: R02S1cf890c46157ac46d0dd5e8d21275fa1 1682s 1..1 1682s # Start of null-settings-backend tests 1682s ok 1 /null-settings-backend/extension-point-registered 1682s # End of null-settings-backend tests 1682s ok - glib/null-settings-backend.test 1682s TAP version 14 1682s # random seed: R02Sa599b371fc9380beb6988479944cb865 1682s 1..10 1682s # Start of timer tests 1682s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1682s ok 2 /timer/stop 1682s # Running test: glib/timer.test 1682s ok 3 /timer/continue 1682s ok 4 /timer/reset 1682s ok 5 /timer/is_active 1682s # End of timer tests 1682s # Start of timeval tests 1682s ok 6 /timeval/add 1682s ok 7 /timeval/from-iso8601 1682s ok 8 /timeval/to-iso8601 1682s # Start of to-iso8601 tests 1682s ok 9 /timeval/to-iso8601/overflow 1682s # End of to-iso8601 tests 1682s # End of timeval tests 1682s # Start of usleep tests 1682s ok 10 /usleep/with-zero-wait 1682s # End of usleep tests 1682s ok - glib/timer.test 1682s # Running test: glib/basic-signals.test 1682s TAP version 14 1682s # random seed: R02Sdb2ba69376cadbfe645077e39c95a052 1682s 1..1 1682s # Start of gobject tests 1682s ok 1 /gobject/basic-signals 1682s # End of gobject tests 1682s ok - glib/basic-signals.test 1682s # Running test: glib/contexts.test 1682s TAP version 14 1682s # random seed: R02Sf578165c8c75df56eae5215bf2c67430 1682s 1..5 1682s # Start of gio tests 1682s # Start of contexts tests 1682s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1682s ok 1 /gio/contexts/thread-independence 1682s ok 2 /gio/contexts/context-independence 1682s # Start of context-specific tests 1682s ok 3 /gio/contexts/context-specific/identity 1682s ok - glib/contexts.test 1682s ok 4 /gio/contexts/context-specific/emit 1682s ok 5 /gio/contexts/context-specific/emit-and-unref 1682s # End of context-specific tests 1682s # End of contexts tests 1682s # End of gio tests 1682s # Running test: glib/properties-introspection.test 1682s TAP version 14 1682s # random seed: R02S2f27afeb36e62e108acd9b62a58adb4f 1682s 1..2 1682s # Start of properties tests 1682s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1682s ok 1 /properties/introspection 1682s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1682s ok 2 /properties/collision 1682s # End of properties tests 1682s ok - glib/properties-introspection.test 1682s # Running test: glib/repository.test 1682s TAP version 14 1682s # random seed: R02Sc3b107fdbf856fafda1e4e80f59dea59 1682s 1..24 1682s # Start of repository tests 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/basic/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/basic/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/basic/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/basic/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/basic/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/basic/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/basic/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/basic/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/basic/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/basic/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1682s ok 1 /repository/basic 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/info/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/info/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/info/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/info/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/info/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/info/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/info/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/info/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/info/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/info/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1682s ok 2 /repository/info 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/dependencies/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/dependencies/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/dependencies/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/dependencies/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/dependencies/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/dependencies/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/dependencies/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/dependencies/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1682s ok 3 /repository/dependencies 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/arg-info/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/arg-info/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/arg-info/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/arg-info/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/arg-info/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/arg-info/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/arg-info/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/arg-info/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1682s ok 4 /repository/arg-info 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/callable-info/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/callable-info/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/callable-info/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/callable-info/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/callable-info/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/callable-info/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/callable-info/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/callable-info/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1682s ok 5 /repository/callable-info 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/callback-info/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/callback-info/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/callback-info/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/callback-info/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/callback-info/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/callback-info/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/callback-info/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/callback-info/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1682s ok 6 /repository/callback-info 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/char-types/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/char-types/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/char-types/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/char-types/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/char-types/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/char-types/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/char-types/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/char-types/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/char-types/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/char-types/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1682s ok 7 /repository/char-types 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/constructor-return-type/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/constructor-return-type/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/constructor-return-type/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/constructor-return-type/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/constructor-return-type/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/constructor-return-type/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/constructor-return-type/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/constructor-return-type/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1682s ok 8 /repository/constructor-return-type 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/enum-info-c-identifier/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/enum-info-c-identifier/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/enum-info-c-identifier/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/enum-info-c-identifier/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/enum-info-c-identifier/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/enum-info-c-identifier/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/enum-info-c-identifier/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/enum-info-c-identifier/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1682s ok 9 /repository/enum-info-c-identifier 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/enum-info-static-methods/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/enum-info-static-methods/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/enum-info-static-methods/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/enum-info-static-methods/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/enum-info-static-methods/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/enum-info-static-methods/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/enum-info-static-methods/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/enum-info-static-methods/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/enum-info-static-methods summary: Test an enum with methods 1682s ok 10 /repository/enum-info-static-methods 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/error-quark/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/error-quark/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/error-quark/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/error-quark/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/error-quark/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/error-quark/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/error-quark/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/error-quark/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/error-quark summary: Test finding an error quark by error domain 1682s ok 11 /repository/error-quark 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/flags-info-c-identifier/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/flags-info-c-identifier/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/flags-info-c-identifier/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/flags-info-c-identifier/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/flags-info-c-identifier/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/flags-info-c-identifier/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/flags-info-c-identifier/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/flags-info-c-identifier/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1682s ok 12 /repository/flags-info-c-identifier 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/fundamental-ref-func/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/fundamental-ref-func/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/fundamental-ref-func/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/fundamental-ref-func/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/fundamental-ref-func/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/fundamental-ref-func/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/fundamental-ref-func/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/fundamental-ref-func/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1682s ok 13 /repository/fundamental-ref-func 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/instance-method-ownership-transfer/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/instance-method-ownership-transfer/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/instance-method-ownership-transfer/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/instance-method-ownership-transfer/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/instance-method-ownership-transfer/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/instance-method-ownership-transfer/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/instance-method-ownership-transfer/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/instance-method-ownership-transfer/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1682s ok 14 /repository/instance-method-ownership-transfer 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/object-gtype-interfaces/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/object-gtype-interfaces/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/object-gtype-interfaces/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/object-gtype-interfaces/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/object-gtype-interfaces/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/object-gtype-interfaces/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/object-gtype-interfaces/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/object-gtype-interfaces/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1682s ok 15 /repository/object-gtype-interfaces 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/signal-info-with-array-length-arg/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/signal-info-with-array-length-arg/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/signal-info-with-array-length-arg/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/signal-info-with-array-length-arg/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/signal-info-with-array-length-arg/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/signal-info-with-array-length-arg/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/signal-info-with-array-length-arg/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/signal-info-with-array-length-arg/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1682s ok 16 /repository/signal-info-with-array-length-arg 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/type-info-name/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/type-info-name/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/type-info-name/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/type-info-name/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/type-info-name/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/type-info-name/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/type-info-name/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/type-info-name/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1682s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1682s ok 17 /repository/type-info-name 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-no-invoker/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-no-invoker/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-no-invoker/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-no-invoker/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-no-invoker/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-no-invoker/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1682s ok 18 /repository/vfunc-info-with-no-invoker 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1682s ok 19 /repository/vfunc-info-with-invoker-on-interface 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-object/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-object/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-object/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-object/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1682s ok 20 /repository/vfunc-info-with-invoker-on-object 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/find-by-gtype/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/find-by-gtype/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/find-by-gtype/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/find-by-gtype/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/find-by-gtype/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/find-by-gtype/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/find-by-gtype/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/find-by-gtype/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/find-by-gtype summary: Test finding a GType 1682s ok 21 /repository/find-by-gtype 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/loaded-namespaces/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/loaded-namespaces/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/loaded-namespaces/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/loaded-namespaces/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/loaded-namespaces/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/loaded-namespaces/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/loaded-namespaces/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/loaded-namespaces/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1682s ok 22 /repository/loaded-namespaces 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/dup_default/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/dup_default/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/dup_default/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/dup_default/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/dup_default/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/dup_default/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/dup_default/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/dup_default/.dirs/runtime 1682s ok 23 /repository/dup_default 1682s # Start of base-info tests 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_30Z3J3/repository/base-info/clear/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_30Z3J3/repository/base-info/clear/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_30Z3J3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_30Z3J3/repository/base-info/clear/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_30Z3J3/repository/base-info/clear/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_30Z3J3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_30Z3J3/repository/base-info/clear/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_30Z3J3/repository/base-info/clear/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_30Z3J3/repository/base-info/clear/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_30Z3J3/repository/base-info/clear/.dirs/runtime 1682s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1682s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1682s ok 24 /repository/base-info/clear 1682s # End of base-info tests 1682s # End of repository tests 1682s TAP version 14 1682s # random seed: R02Se1cc551ea787794ef1f4d6c6c55e0826 1682s 1..1 1682s # Start of portal-support tests 1682s # Start of flatpak tests 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_LLW5J3/portal-support/flatpak/full/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_LLW5J3/portal-support/flatpak/full/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_LLW5J3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_LLW5J3/portal-support/flatpak/full/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_LLW5J3/portal-support/flatpak/full/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_LLW5J3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_LLW5J3/portal-support/flatpak/full/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_LLW5J3/portal-support/flatpak/full/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_LLW5J3/portal-support/flatpak/full/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_LLW5J3/portal-support/flatpak/full/.dirs/runtime 1682s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_LLW5J3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1682s ok 1 /portal-support/flatpak/full 1682s # End of flatpak tests 1682s # End of portal-support tests 1682s TAP version 14 1682s # random seed: R02Sf8a7089dfaccb6ac9a0eddecdc8446db 1682s 1..96 1682s # Start of bookmarks tests 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/load-from-data-dirs/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/load-from-data-dirs/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/load-from-data-dirs/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/load-from-data-dirs/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/load-from-data-dirs/.dirs/system-data2 1682s ok - glib/repository.test 1682s # Running test: glib/portal-support-flatpak-full.test 1682s ok - glib/portal-support-flatpak-full.test 1682s # Running test: glib/bookmarkfile.test 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/load-from-data-dirs/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/load-from-data-dirs/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/load-from-data-dirs/.dirs/runtime 1682s ok 1 /bookmarks/load-from-data-dirs 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/to-file/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/to-file/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/to-file/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/to-file/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/to-file/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/to-file/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/to-file/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/to-file/.dirs/runtime 1682s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_I3R5J3/bookmarkfile-test-2CS5J3.xbel 1682s # Roundtrip from a valid bookmark file 1682s ok 2 /bookmarks/to-file 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/move-item/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/move-item/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/move-item/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/move-item/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/move-item/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/move-item/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/move-item/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/move-item/.dirs/runtime 1682s ok 3 /bookmarks/move-item 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/corner-cases/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/corner-cases/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/corner-cases/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/corner-cases/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/corner-cases/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/corner-cases/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/corner-cases/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/corner-cases/.dirs/runtime 1682s ok 4 /bookmarks/corner-cases 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/misc/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/misc/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/misc/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/misc/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/misc/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/misc/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/misc/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/misc/.dirs/runtime 1682s ok 5 /bookmarks/misc 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/deprecated/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/deprecated/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/deprecated/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/deprecated/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/deprecated/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/deprecated/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/deprecated/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/deprecated/.dirs/runtime 1682s ok 6 /bookmarks/deprecated 1682s # Start of parse tests 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-09.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-09.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-09.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-09.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-09.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-09.xbel/.dirs/runtime 1682s ok 7 /bookmarks/parse/fail-09.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-07.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-07.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-07.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-07.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-07.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-07.xbel/.dirs/runtime 1682s ok 8 /bookmarks/parse/fail-07.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-36.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-36.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-36.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-36.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-36.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-36.xbel/.dirs/runtime 1682s ok 9 /bookmarks/parse/fail-36.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-24.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-24.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-24.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-24.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-24.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-24.xbel/.dirs/runtime 1682s ok 10 /bookmarks/parse/fail-24.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-23.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-23.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-23.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-23.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-23.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-23.xbel/.dirs/runtime 1682s ok 11 /bookmarks/parse/fail-23.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-33.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-33.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-33.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-33.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-33.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-33.xbel/.dirs/runtime 1682s ok 12 /bookmarks/parse/fail-33.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-15.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-15.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-15.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-15.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-15.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-15.xbel/.dirs/runtime 1682s ok 13 /bookmarks/parse/fail-15.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-20.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-20.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-20.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-20.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-20.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-20.xbel/.dirs/runtime 1682s ok 14 /bookmarks/parse/fail-20.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-40.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-40.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-40.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-40.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-40.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-40.xbel/.dirs/runtime 1682s ok 15 /bookmarks/parse/fail-40.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-30.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-30.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-30.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-30.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-30.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-30.xbel/.dirs/runtime 1682s ok 16 /bookmarks/parse/fail-30.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-19.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-19.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-19.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-19.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-19.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-19.xbel/.dirs/runtime 1682s ok 17 /bookmarks/parse/fail-19.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-03.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-03.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-03.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-03.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-03.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-03.xbel/.dirs/runtime 1682s ok 18 /bookmarks/parse/valid-03.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-21.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-21.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-21.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-21.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-21.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-21.xbel/.dirs/runtime 1682s ok 19 /bookmarks/parse/fail-21.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-14.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-14.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-14.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-14.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-14.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-14.xbel/.dirs/runtime 1682s ok 20 /bookmarks/parse/fail-14.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-01.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-01.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-01.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-01.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-01.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-01.xbel/.dirs/runtime 1682s ok 21 /bookmarks/parse/valid-01.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-28.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-28.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-28.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-28.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-28.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-28.xbel/.dirs/runtime 1682s ok 22 /bookmarks/parse/fail-28.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-08.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-08.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-08.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-08.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-08.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-08.xbel/.dirs/runtime 1682s ok 23 /bookmarks/parse/fail-08.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-27.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-27.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-27.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-27.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-27.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-27.xbel/.dirs/runtime 1682s ok 24 /bookmarks/parse/fail-27.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-18.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-18.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-18.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-18.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-18.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-18.xbel/.dirs/runtime 1682s ok 25 /bookmarks/parse/fail-18.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-38.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-38.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-38.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-38.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-38.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-38.xbel/.dirs/runtime 1682s ok 26 /bookmarks/parse/fail-38.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-02.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-02.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-02.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-02.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-02.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/valid-02.xbel/.dirs/runtime 1682s ok 27 /bookmarks/parse/valid-02.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-37.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-37.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-37.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-37.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-37.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-37.xbel/.dirs/runtime 1682s ok 28 /bookmarks/parse/fail-37.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-02.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-02.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-02.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-02.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-02.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-02.xbel/.dirs/runtime 1682s ok 29 /bookmarks/parse/fail-02.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-22.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-22.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-22.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-22.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-22.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-22.xbel/.dirs/runtime 1682s ok 30 /bookmarks/parse/fail-22.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-12.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-12.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-12.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-12.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-12.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-12.xbel/.dirs/runtime 1682s ok 31 /bookmarks/parse/fail-12.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-04.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-04.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-04.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-04.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-04.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-04.xbel/.dirs/runtime 1682s ok 32 /bookmarks/parse/fail-04.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-10.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-10.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-10.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-10.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-10.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-10.xbel/.dirs/runtime 1682s ok 33 /bookmarks/parse/fail-10.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-41.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-41.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-41.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-41.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-41.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-41.xbel/.dirs/runtime 1682s ok 34 /bookmarks/parse/fail-41.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-26.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-26.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-26.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-26.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-26.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-26.xbel/.dirs/runtime 1682s ok 35 /bookmarks/parse/fail-26.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-35.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-35.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-35.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-35.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-35.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-35.xbel/.dirs/runtime 1682s ok 36 /bookmarks/parse/fail-35.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-31.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-31.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-31.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-31.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-31.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-31.xbel/.dirs/runtime 1682s ok 37 /bookmarks/parse/fail-31.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-39.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-39.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-39.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-39.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-39.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-39.xbel/.dirs/runtime 1682s ok 38 /bookmarks/parse/fail-39.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-42.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-42.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-42.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-42.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-42.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-42.xbel/.dirs/runtime 1682s ok 39 /bookmarks/parse/fail-42.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-25.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-25.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-25.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-25.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-25.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-25.xbel/.dirs/runtime 1682s ok 40 /bookmarks/parse/fail-25.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-13.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-13.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-13.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-13.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-13.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-13.xbel/.dirs/runtime 1682s ok 41 /bookmarks/parse/fail-13.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-29.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-29.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-29.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-29.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-29.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-29.xbel/.dirs/runtime 1682s ok 42 /bookmarks/parse/fail-29.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-11.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-11.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-11.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-11.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-11.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-11.xbel/.dirs/runtime 1682s ok 43 /bookmarks/parse/fail-11.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-06.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-06.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-06.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-06.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-06.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-06.xbel/.dirs/runtime 1682s ok 44 /bookmarks/parse/fail-06.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-03.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-03.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-03.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-03.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-03.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-03.xbel/.dirs/runtime 1682s ok 45 /bookmarks/parse/fail-03.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-05.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-05.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-05.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-05.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-05.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-05.xbel/.dirs/runtime 1682s ok 46 /bookmarks/parse/fail-05.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-01.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-01.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-01.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-01.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-01.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-01.xbel/.dirs/runtime 1682s ok 47 /bookmarks/parse/fail-01.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-17.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-17.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-17.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-17.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-17.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-17.xbel/.dirs/runtime 1682s ok 48 /bookmarks/parse/fail-17.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-32.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-32.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-32.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-32.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-32.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-32.xbel/.dirs/runtime 1682s ok 49 /bookmarks/parse/fail-32.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-16.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-16.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-16.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-16.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-16.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-16.xbel/.dirs/runtime 1682s ok 50 /bookmarks/parse/fail-16.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-34.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-34.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-34.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-34.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-34.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/parse/fail-34.xbel/.dirs/runtime 1682s ok 51 /bookmarks/parse/fail-34.xbel 1682s # End of parse tests 1682s # Start of copy tests 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-09.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-09.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-09.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-09.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-09.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-09.xbel/.dirs/runtime 1682s ok 52 /bookmarks/copy/fail-09.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-07.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-07.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-07.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-07.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-07.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-07.xbel/.dirs/runtime 1682s ok 53 /bookmarks/copy/fail-07.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-36.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-36.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-36.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-36.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-36.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-36.xbel/.dirs/runtime 1682s ok 54 /bookmarks/copy/fail-36.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-24.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-24.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-24.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-24.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-24.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-24.xbel/.dirs/runtime 1682s ok 55 /bookmarks/copy/fail-24.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-23.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-23.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-23.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-23.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-23.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-23.xbel/.dirs/runtime 1682s ok 56 /bookmarks/copy/fail-23.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-33.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-33.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-33.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-33.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-33.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-33.xbel/.dirs/runtime 1682s ok 57 /bookmarks/copy/fail-33.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-15.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-15.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-15.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-15.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-15.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-15.xbel/.dirs/runtime 1682s ok 58 /bookmarks/copy/fail-15.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-20.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-20.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-20.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-20.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-20.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-20.xbel/.dirs/runtime 1682s ok 59 /bookmarks/copy/fail-20.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-40.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-40.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-40.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-40.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-40.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-40.xbel/.dirs/runtime 1682s ok 60 /bookmarks/copy/fail-40.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-30.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-30.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-30.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-30.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-30.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-30.xbel/.dirs/runtime 1682s ok 61 /bookmarks/copy/fail-30.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-19.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-19.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-19.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-19.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-19.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-19.xbel/.dirs/runtime 1682s ok 62 /bookmarks/copy/fail-19.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-03.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-03.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-03.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-03.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-03.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-03.xbel/.dirs/runtime 1682s ok 63 /bookmarks/copy/valid-03.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-21.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-21.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-21.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-21.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-21.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-21.xbel/.dirs/runtime 1682s ok 64 /bookmarks/copy/fail-21.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-14.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-14.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-14.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-14.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-14.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-14.xbel/.dirs/runtime 1682s ok 65 /bookmarks/copy/fail-14.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-01.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-01.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-01.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-01.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-01.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-01.xbel/.dirs/runtime 1682s ok 66 /bookmarks/copy/valid-01.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-28.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-28.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-28.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-28.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-28.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-28.xbel/.dirs/runtime 1682s ok 67 /bookmarks/copy/fail-28.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-08.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-08.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-08.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-08.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-08.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-08.xbel/.dirs/runtime 1682s ok 68 /bookmarks/copy/fail-08.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-27.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-27.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-27.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-27.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-27.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-27.xbel/.dirs/runtime 1682s ok 69 /bookmarks/copy/fail-27.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-18.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-18.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-18.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-18.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-18.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-18.xbel/.dirs/runtime 1682s ok 70 /bookmarks/copy/fail-18.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-38.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-38.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-38.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-38.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-38.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-38.xbel/.dirs/runtime 1682s ok 71 /bookmarks/copy/fail-38.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-02.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-02.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-02.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-02.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-02.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/valid-02.xbel/.dirs/runtime 1682s ok 72 /bookmarks/copy/valid-02.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-37.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-37.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-37.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-37.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-37.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-37.xbel/.dirs/runtime 1682s ok 73 /bookmarks/copy/fail-37.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-02.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-02.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-02.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-02.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-02.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-02.xbel/.dirs/runtime 1682s ok 74 /bookmarks/copy/fail-02.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-22.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-22.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-22.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-22.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-22.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-22.xbel/.dirs/runtime 1682s ok 75 /bookmarks/copy/fail-22.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-12.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-12.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-12.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-12.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-12.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-12.xbel/.dirs/runtime 1682s ok 76 /bookmarks/copy/fail-12.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-04.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-04.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-04.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-04.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-04.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-04.xbel/.dirs/runtime 1682s ok 77 /bookmarks/copy/fail-04.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-10.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-10.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-10.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-10.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-10.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-10.xbel/.dirs/runtime 1682s ok 78 /bookmarks/copy/fail-10.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-41.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-41.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-41.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-41.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-41.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-41.xbel/.dirs/runtime 1682s ok 79 /bookmarks/copy/fail-41.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-26.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-26.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-26.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-26.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-26.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-26.xbel/.dirs/runtime 1682s ok 80 /bookmarks/copy/fail-26.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-35.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-35.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-35.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-35.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-35.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-35.xbel/.dirs/runtime 1682s ok 81 /bookmarks/copy/fail-35.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-31.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-31.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-31.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-31.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-31.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-31.xbel/.dirs/runtime 1682s ok 82 /bookmarks/copy/fail-31.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-39.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-39.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-39.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-39.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-39.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-39.xbel/.dirs/runtime 1682s ok 83 /bookmarks/copy/fail-39.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-42.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-42.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-42.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-42.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-42.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-42.xbel/.dirs/runtime 1682s ok 84 /bookmarks/copy/fail-42.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-25.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-25.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-25.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-25.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-25.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-25.xbel/.dirs/runtime 1682s ok 85 /bookmarks/copy/fail-25.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-13.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-13.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-13.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-13.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-13.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-13.xbel/.dirs/runtime 1682s ok 86 /bookmarks/copy/fail-13.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-29.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-29.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-29.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-29.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-29.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-29.xbel/.dirs/runtime 1682s ok 87 /bookmarks/copy/fail-29.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-11.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-11.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-11.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-11.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-11.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-11.xbel/.dirs/runtime 1682s ok 88 /bookmarks/copy/fail-11.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-06.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-06.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-06.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-06.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-06.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-06.xbel/.dirs/runtime 1682s ok 89 /bookmarks/copy/fail-06.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-03.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-03.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-03.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-03.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-03.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-03.xbel/.dirs/runtime 1682s ok 90 /bookmarks/copy/fail-03.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-05.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-05.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-05.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-05.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-05.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-05.xbel/.dirs/runtime 1682s ok 91 /bookmarks/copy/fail-05.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-01.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-01.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-01.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-01.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-01.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-01.xbel/.dirs/runtime 1682s ok 92 /bookmarks/copy/fail-01.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-17.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-17.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-17.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-17.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-17.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-17.xbel/.dirs/runtime 1682s ok 93 /bookmarks/copy/fail-17.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-32.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-32.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-32.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-32.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-32.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-32.xbel/.dirs/runtime 1682s ok 94 /bookmarks/copy/fail-32.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-16.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-16.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-16.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-16.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-16.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-16.xbel/.dirs/runtime 1682s ok 95 /bookmarks/copy/fail-16.xbel 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-34.xbel/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-34.xbel/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-34.xbel/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-34.xbel/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-34.xbel/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I3R5J3/bookmarks/copy/fail-34.xbel/.dirs/runtime 1682s ok 96 /bookmarks/copy/fail-34.xbel 1682s # End of copy tests 1682s # End of bookmarks tests 1682s TAP version 14 1682s # random seed: R02S096c49606c4ea4042b5ed7e90b588b07 1682s 1..10 1682s # Start of memory-output-stream tests 1682s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1682s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1682s ok 1 /memory-output-stream/truncate 1682s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1682s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1682s ok 2 /memory-output-stream/get-data-size 1682s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1682s ok 3 /memory-output-stream/properties 1682s ok 4 /memory-output-stream/write-bytes 1682s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1682s ok 5 /memory-output-stream/write-null 1682s ok 6 /memory-output-stream/writev 1682s ok 7 /memory-output-stream/writev_nonblocking 1682s ok 8 /memory-output-stream/steal_as_bytes 1682s # Start of seek tests 1682s ok 9 /memory-output-stream/seek/fixed 1682s ok 10 /memory-output-stream/seek/resizable 1682s # End of seek tests 1682s # End of memory-output-stream tests 1682s TAP version 14 1682s ok - glib/bookmarkfile.test 1682s # Running test: glib/memory-output-stream.test 1682s ok - glib/memory-output-stream.test 1682s # Running test: glib/data-input-stream.test 1682s # random seed: R02Se9b93d31d85d61155a254952daeadcfb 1682s 1..10 1682s # Start of data-input-stream tests 1682s ok 1 /data-input-stream/basic 1682s ok 2 /data-input-stream/read-lines-LF 1682s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1682s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1682s ok 5 /data-input-stream/read-lines-CR 1682s ok 6 /data-input-stream/read-lines-CR-LF 1682s ok 7 /data-input-stream/read-lines-any 1682s ok 8 /data-input-stream/read-until 1682s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 1682s # Test vector 1: {"key": "value"}? and ? 1682s ok 9 /data-input-stream/read-upto 1682s ok 10 /data-input-stream/read-int 1682s # End of data-input-stream tests 1682s ok - glib/data-input-stream.test 1682s # Running test: glib/thread.test 1682s TAP version 14 1682s # random seed: R02Se70e9b760a4ad5cef6f29ef010332ac5 1682s 1..7 1682s # Start of thread tests 1682s ok 1 /thread/thread1 1682s ok 2 /thread/thread2 1682s ok 3 /thread/thread3 1682s ok 4 /thread/thread4 1682s ok 5 /thread/thread5 1682s ok 6 /thread/thread6 1682s ok 7 /thread/thread7 1682s # End of thread tests 1682s ok - glib/thread.test 1682s # Running test: glib/collate.test 1682s TAP version 14 1682s # random seed: R02Saec394ef405e478e84d53f63609bbb8e 1682s 1..9 1682s # Start of unicode tests 1682s # Start of collate tests 1682s ok 1 /unicode/collate/0 1682s ok 2 /unicode/collate/1 1682s ok 3 /unicode/collate/2 1682s # End of collate tests 1682s # Start of collate-key tests 1682s ok 4 /unicode/collate-key/0 1682s ok 5 /unicode/collate-key/1 1682s ok 6 /unicode/collate-key/2 1682s # End of collate-key tests 1682s # Start of collate-filename tests 1682s ok 7 /unicode/collate-filename/0 1682s ok 8 /unicode/collate-filename/1 1682s ok 9 /unicode/collate-filename/2 1682s # End of collate-filename tests 1682s # End of unicode tests 1682s ok - glib/collate.test 1682s # Running test: glib/tree.test 1682s TAP version 14 1682s # random seed: R02S597b03933decf05af8632dac5b96ab60 1682s 1..7 1682s # Start of tree tests 1682s ok 1 /tree/search 1682s ok 2 /tree/remove 1682s ok 3 /tree/destroy 1682s ok 4 /tree/traverse 1682s ok 5 /tree/insert 1682s ok 6 /tree/bounds 1682s ok 7 /tree/remove-all 1682s # End of tree tests 1682s ok - glib/tree.test 1682s # Running test: glib/642026.test 1682s TAP version 14 1682s # random seed: R02Sbe1f2f3263e0ec14f566ee52b11c65e0 1682s 1..1 1682s # Start of glib tests 1682s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1682s ok 1 /glib/642026 1682s # End of glib tests 1682s ok - glib/642026.test 1682s # Running test: glib/dbus-appinfo.test 1682s TAP version 14 1682s # random seed: R02S4a1c5c6c548894f13eee20bca781fd79 1682s 1..9 1682s # Start of appinfo tests 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/dbusappinfo/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/dbusappinfo/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/dbusappinfo/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/dbusappinfo/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/dbusappinfo/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/dbusappinfo/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/dbusappinfo/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3FT7J3/appinfo/dbusappinfo/.dirs/runtime 1682s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1682s ok 1 /appinfo/dbusappinfo 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-doc-export/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-doc-export/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-doc-export/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-doc-export/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-doc-export/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-doc-export/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-doc-export/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-doc-export/.dirs/runtime 1682s # /appinfo/flatpak-doc-export summary: Test that files opened by launching flatpak apps are made available via the document portal. 1682s # Created mount point /tmp/test_dbus-appinfo_3FT7J3/fake-document-portal-XFXQ7J3/documents 1682s # Acquired a message bus connection 1682s # Acquired the name org.freedesktop.portal.Documents 1682s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_3FT7J3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-doc-export/.dirs/config 1682s # Creating Document ID document-id-0 folder 1682s # Creating Document ID document-id-0 mapped to FD 14 (/usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop) 1682s # on_sandboxed_app_open received file '/tmp/test_dbus-appinfo_3FT7J3/fake-document-portal-XFXQ7J3/documents/document-id-0/org.gtk.test.dbusappinfo.flatpak.desktop' 1682s # fake-document-portal cancelled 1682s ok 2 /appinfo/flatpak-doc-export 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-missing-doc-export/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-missing-doc-export/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-missing-doc-export/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-missing-doc-export/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-missing-doc-export/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-missing-doc-export/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-missing-doc-export/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-missing-doc-export/.dirs/runtime 1682s # /appinfo/flatpak-missing-doc-export summary: Test that files opened by launching flatpak apps are not made available via the document portal. 1682s # Created mount point /tmp/test_dbus-appinfo_3FT7J3/fake-document-portal-XKXB8J3/documents 1682s # Acquired a message bus connection 1682s # Acquired the name org.freedesktop.portal.Documents 1682s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-missing-doc-export/.dirs/config 1682s # on_sandboxed_app_open received file '/hopefully/an/invalid/path.desktop' 1682s # fake-document-portal cancelled 1682s ok 3 /appinfo/flatpak-missing-doc-export 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-doc-export/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-doc-export/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-doc-export/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-doc-export/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-doc-export/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-doc-export/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-doc-export/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-doc-export/.dirs/runtime 1682s # /appinfo/snap-doc-export summary: Test that files opened by launching snap apps are made available via the document portal. 1682s # Created mount point /tmp/test_dbus-appinfo_3FT7J3/fake-document-portal-XSKA8J3/documents 1682s # Acquired a message bus connection 1682s # Acquired the name org.freedesktop.portal.Documents 1682s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_3FT7J3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-doc-export/.dirs/config 1682s # Creating Document ID document-id-0 folder 1682s # Creating Document ID document-id-0 mapped to FD 19 (/usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.snap.desktop) 1682s # on_sandboxed_app_open received file '/tmp/test_dbus-appinfo_3FT7J3/fake-document-portal-XSKA8J3/documents/document-id-0/org.gtk.test.dbusappinfo.snap.desktop' 1682s # fake-document-portal cancelled 1682s ok 4 /appinfo/snap-doc-export 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-missing-doc-export/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-missing-doc-export/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-missing-doc-export/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-missing-doc-export/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-missing-doc-export/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-missing-doc-export/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-missing-doc-export/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-missing-doc-export/.dirs/runtime 1682s # /appinfo/snap-missing-doc-export summary: Test that files opened by launching snap apps are not made available via the document portal. 1682s # Created mount point /tmp/test_dbus-appinfo_3FT7J3/fake-document-portal-XUD97J3/documents 1682s # Acquired a message bus connection 1682s # Acquired the name org.freedesktop.portal.Documents 1682s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-doc-export/.dirs/config to /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-missing-doc-export/.dirs/config 1682s # on_sandboxed_app_open received file '/hopefully/an/invalid/path.desktop' 1682s # fake-document-portal cancelled 1682s ok 5 /appinfo/snap-missing-doc-export 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file/.dirs/runtime 1682s # Acquired a message bus connection 1682s # Acquired the name org.freedesktop.portal.Desktop 1682s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_3FT7J3/appinfo/snap-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file/.dirs/config 1682s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1682s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/t 1682s # Response emitted 1682s # fake-desktop-portal cancelled 1682s ok 6 /appinfo/portal-open-file 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri/.dirs/runtime 1682s # Acquired a message bus connection 1682s # Acquired the name org.freedesktop.portal.Desktop 1682s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri/.dirs/config 1682s # Got open file request for http://example.com 1682s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/t 1682s # Response emitted 1682s # fake-desktop-portal cancelled 1682s ok 7 /appinfo/portal-open-uri 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file-async/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file-async/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file-async/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file-async/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file-async/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file-async/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file-async/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file-async/.dirs/runtime 1682s # Acquired a message bus connection 1682s # Acquired the name org.freedesktop.portal.Desktop 1682s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file-async/.dirs/config 1682s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1682s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_13/gio263977937 1682s # Response emitted 1682s # fake-desktop-portal cancelled 1682s ok 8 /appinfo/portal-open-file-async 1682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri-async/.dirs/home 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri-async/.dirs/cache 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri-async/.dirs/system-config2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri-async/.dirs/config 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri-async/.dirs/system-data2 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri-async/.dirs/data 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri-async/.dirs/state 1682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri-async/.dirs/runtime 1682s # Acquired a message bus connection 1682s # Acquired the name org.freedesktop.portal.Desktop 1682s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_3FT7J3/appinfo/portal-open-uri-async/.dirs/config 1682s # Got open file request for http://example.com 1682s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_15/gio189450908 1682s # Response emitted 1682s # fake-desktop-portal cancelled 1682s ok 9 /appinfo/portal-open-uri-async 1682s # End of appinfo tests 1682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1682s ok - glib/dbus-appinfo.test 1682s # Running test: glib/dir.test 1682s TAP version 14 1682s # random seed: R02S9d5e43f2e84336c5b1d54b1bf6a2f3af 1682s 1..3 1682s # Start of dir tests 1682s ok 1 /dir/read 1682s ok 2 /dir/nonexisting 1682s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1682s ok 3 /dir/refcounting 1682s # End of dir tests 1682s TAP version 14 1682s # random seed: R02Sa2704078ba8903e154e0c01ef297853e 1682s 1..2 1682s # Start of gtask tests 1682s # 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. 1682s ok 1 /gtask/name 1682s # Start of name tests 1682s # 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. 1682s ok 2 /gtask/name/macro-wrapper 1682s # End of name tests 1682s # End of gtask tests 1682s ok - glib/dir.test 1682s # Running test: glib/cxx.test 1682s ok - glib/cxx.test 1682s # Running test: glib/closure.test 1682s TAP version 14 1682s # random seed: R02Se8066346830dc27ca08ef26b07afdd65 1682s 1..6 1682s # Start of closure tests 1682s ok 1 /closure/idle 1682s ok 2 /closure/timeout 1682s ok 3 /closure/iochannel 1682s ok 4 /closure/child 1682s ok 5 /closure/fd 1682s ok 6 /closure/signal 1682s # End of closure tests 1682s ok - glib/closure.test 1682s # Running test: glib/notify-init.test 1682s TAP version 14 1682s # random seed: R02S910ad3987693b4cfd43fb949ef121f6b 1682s 1..1 1682s # Start of properties tests 1682s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1682s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1682s ok 1 /properties/notify-in-init 1682s # End of properties tests 1682s TAP version 14 1682s # random seed: R02S957b0e7f905a6e3f7c7acaed8503eeac 1682s 1..2 1682s # Start of mount-operation tests 1682s ok 1 /mount-operation/construction 1682s ok 2 /mount-operation/properties 1682s # End of mount-operation tests 1682s TAP version 14 1682s # random seed: R02S3a5a454b5b770c1576aa394500cd9226 1682s 1..2 1682s # Start of uuid tests 1682s ok 1 /uuid/string 1682s ok 2 /uuid/random 1682s # End of uuid tests 1682s TAP version 14 1682s # random seed: R02Sc429998095f2a48719f695770c5f7017 1682s 1..1 1682s # Start of thread tests 1682s ok - glib/notify-init.test 1682s # Running test: glib/mount-operation.test 1682s ok - glib/mount-operation.test 1682s # Running test: glib/guuid.test 1682s ok - glib/guuid.test 1682s # Running test: glib/onceinit.test 1682s ok 1 /thread/onceinit 1682s # End of thread tests 1682s ok - glib/onceinit.test 1682s # Running test: glib/bitlock.test 1682s TAP version 14 1682s # random seed: R02Sccec389d15da3b373d0463905721261a 1682s 1..2 1682s # Start of bitlock tests 1682s # Start of performance tests 1682s # max perf: iterations per second 1682s ok 1 /bitlock/performance/uncontended 1682s ok 2 /bitlock/performance/parallel 1682s # End of performance tests 1682s # End of bitlock tests 1682s ok - glib/bitlock.test 1682s # Running test: glib/spawn-multithreaded.test 1682s TAP version 14 1682s # random seed: R02S99bb175eb54d48fb491dd3f97aa69da2 1682s 1..4 1682s # Start of gthread tests 1683s # Child 3364 (ttl 1) exited, status 0 1684s # Child 3365 (ttl 2) exited, status 0 1684s ok 1 /gthread/spawn-childs 1684s # slow test /gthread/spawn-childs executed in 2.00 secs 1684s # Created pid: 3369 (ttl 1) 1684s # Created pid: 3370 (ttl 2) 1685s # Child 3369 (ttl 1) exited, status 0 1686s # Child 3370 (ttl 2) exited, status 0 1686s ok 2 /gthread/spawn-childs-threads 1686s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1686s ok 3 /gthread/spawn-sync 1686s ok 4 /gthread/spawn-async 1686s # End of gthread tests 1686s ok - glib/spawn-multithreaded.test 1686s # Running test: glib/utf8-performance.test 1687s TAP version 14 1687s # random seed: R02Sded63b333162fa8f35e6b10ca3c3ff25 1687s 1..36 1687s # Start of utf8 tests 1687s # Start of perf tests 1687s # Start of get_char tests 1687s # max perf: 43.0 MB/s 1687s ok 1 /utf8/perf/get_char/ascii 1687s # max perf: inf MB/s 1687s ok 2 /utf8/perf/get_char/latin1 1687s # max perf: inf MB/s 1687s ok 3 /utf8/perf/get_char/cyrillic 1687s # max perf: inf MB/s 1687s ok 4 /utf8/perf/get_char/han 1687s # End of get_char tests 1687s # Start of get_char-backwards tests 1687s # max perf: inf MB/s 1687s ok 5 /utf8/perf/get_char-backwards/ascii 1687s # max perf: inf MB/s 1687s ok 6 /utf8/perf/get_char-backwards/latin1 1687s # max perf: 160.0 MB/s 1687s ok 7 /utf8/perf/get_char-backwards/cyrillic 1687s # max perf: inf MB/s 1687s ok 8 /utf8/perf/get_char-backwards/han 1687s # End of get_char-backwards tests 1687s # Start of get_char_validated tests 1687s # max perf: inf MB/s 1687s ok 9 /utf8/perf/get_char_validated/ascii 1687s # max perf: 67.0 MB/s 1687s ok 10 /utf8/perf/get_char_validated/latin1 1687s # max perf: inf MB/s 1687s ok 11 /utf8/perf/get_char_validated/cyrillic 1687s # max perf: inf MB/s 1687s ok 12 /utf8/perf/get_char_validated/han 1687s # End of get_char_validated tests 1687s # Start of utf8_to_ucs4 tests 1687s # max perf: 8.6 MB/s 1687s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1687s # max perf: inf MB/s 1687s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1687s # max perf: 160.0 MB/s 1687s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1687s # max perf: 156.0 MB/s 1687s ok 16 /utf8/perf/utf8_to_ucs4/han 1687s # End of utf8_to_ucs4 tests 1687s # Start of utf8_to_ucs4-sized tests 1687s # max perf: inf MB/s 1687s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1687s # max perf: 67.0 MB/s 1687s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1687s # max perf: inf MB/s 1687s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1687s # max perf: 156.0 MB/s 1687s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1687s # End of utf8_to_ucs4-sized tests 1687s # Start of utf8_to_ucs4_fast tests 1687s # max perf: inf MB/s 1687s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1687s # max perf: 67.0 MB/s 1687s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1687s # max perf: inf MB/s 1687s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1687s # max perf: 156.0 MB/s 1687s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1687s # End of utf8_to_ucs4_fast tests 1687s # Start of utf8_to_ucs4_fast-sized tests 1687s # max perf: inf MB/s 1687s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1687s # max perf: 67.0 MB/s 1687s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1687s # max perf: inf MB/s 1687s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1687s # max perf: inf MB/s 1687s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1687s # End of utf8_to_ucs4_fast-sized tests 1687s # Start of utf8_validate tests 1687s # max perf: 43.0 MB/s 1687s ok 29 /utf8/perf/utf8_validate/ascii 1687s # max perf: inf MB/s 1687s ok 30 /utf8/perf/utf8_validate/latin1 1687s # max perf: inf MB/s 1687s ok 31 /utf8/perf/utf8_validate/cyrillic 1687s # max perf: inf MB/s 1687s ok 32 /utf8/perf/utf8_validate/han 1687s # End of utf8_validate tests 1687s # Start of utf8_validate-sized tests 1687s # max perf: inf MB/s 1687s ok 33 /utf8/perf/utf8_validate-sized/ascii 1687s # max perf: inf MB/s 1687s ok 34 /utf8/perf/utf8_validate-sized/latin1 1687s # max perf: 160.0 MB/s 1687s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1687s # max perf: inf MB/s 1687s ok 36 /utf8/perf/utf8_validate-sized/han 1687s # End of utf8_validate-sized tests 1687s # End of perf tests 1687s # End of utf8 tests 1687s TAP version 14 1687s # random seed: R02Scb091d951679c0f5efd569819bc2c0a8 1687s 1..1 1687s # Start of include tests 1687s ok 1 /include/rwlock 1687s # End of include tests 1687s TAP version 14 1687s # random seed: R02Sb11f3848e4dd7e80e486d70333a074cf 1687s 1..20 1687s # Start of list tests 1687s ok 1 /list/sort 1687s ok 2 /list/sort-with-data 1687s ok 3 /list/insert-before-link 1687s ok 4 /list/insert-sorted 1687s ok 5 /list/insert-sorted-with-data 1687s ok 6 /list/reverse 1687s ok 7 /list/nth 1687s ok 8 /list/concat 1687s ok 9 /list/remove 1687s ok 10 /list/remove-all 1687s ok 11 /list/first-last 1687s ok 12 /list/insert 1687s ok 13 /list/free-full 1687s ok 14 /list/copy 1687s ok 15 /list/copy-deep 1687s ok 16 /list/delete-link 1687s ok 17 /list/prepend 1687s ok 18 /list/position 1687s ok 19 /list/double-free 1687s # Start of sort tests 1687s ok 20 /list/sort/stable 1687s # End of sort tests 1687s # End of list tests 1687s TAP version 14 1687s # random seed: R02S5418cf025932dae2614dd921be8c46b3 1687s 1..5 1687s # Start of once tests 1687s # /once/single-threaded summary: Test g_once() usage from a single thread 1687s ok 1 /once/single-threaded 1687s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1687s ok 2 /once/multi-threaded 1687s # End of once tests 1687s # Start of once-init tests 1687s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1687s ok 3 /once-init/single-threaded 1687s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1687s ok 4 /once-init/multi-threaded 1687s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1687s ok 5 /once-init/string 1687s # End of once-init tests 1687s TAP version 14 1687s # random seed: R02Sdea61cbc5fe346f750d249725424c5b2 1687s 1..5 1687s # Start of timeout tests 1687s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1687s ok - glib/utf8-performance.test 1687s # Running test: glib/include.test 1687s ok - glib/include.test 1687s # Running test: glib/list.test 1687s ok - glib/list.test 1687s # Running test: glib/once.test 1687s ok - glib/once.test 1687s # Running test: glib/timeout.test 1687s # Executing: glib/timeout.test 1689s ok 1 /timeout/seconds 1689s # slow test /timeout/seconds executed in 2.10 secs 1691s ok 2 /timeout/seconds-once 1691s # slow test /timeout/seconds-once executed in 2.10 secs 1691s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1692s # Executing: glib/timeout.test 1693s ok 3 /timeout/weeks-overflow 1693s # slow test /timeout/weeks-overflow executed in 2.10 secs 1693s ok 4 /timeout/far-future-ready-time 1697s # Executing: glib/timeout.test 1702s # Executing: glib/timeout.test 1703s ok 5 /timeout/rounding 1703s # slow test /timeout/rounding executed in 10.35 secs 1703s # End of timeout tests 1703s ok - glib/timeout.test 1703s # Running test: glib/convert.test 1703s TAP version 14 1703s # random seed: R02Scf8768d92d50002a72d0720cc37b415c 1703s 1..14 1703s # Start of conversion tests 1703s ok 1 /conversion/no-conv 1703s ok 2 /conversion/iconv-state 1703s ok 3 /conversion/illegal-sequence 1703s ok 4 /conversion/byte-order 1703s ok 5 /conversion/unicode 1703s ok 6 /conversion/filename-utf8 1703s ok 7 /conversion/filename-display 1703s ok 8 /conversion/convert-embedded-nul 1703s # Start of locale-to-utf8 tests 1703s ok - glib/convert.test 1703s # Running test: glib/gdbus-exit-on-close.test 1703s ok 9 /conversion/locale-to-utf8/embedded-nul 1703s # Start of embedded-nul tests 1703s # Start of subprocess tests 1703s # End of subprocess tests 1703s # End of embedded-nul tests 1703s # End of locale-to-utf8 tests 1703s # Start of locale-from-utf8 tests 1703s ok 10 /conversion/locale-from-utf8/embedded-nul 1703s # Start of embedded-nul tests 1703s # Start of subprocess tests 1703s # End of subprocess tests 1703s # End of embedded-nul tests 1703s # End of locale-from-utf8 tests 1703s # Start of filename-to-utf8 tests 1703s ok 11 /conversion/filename-to-utf8/embedded-nul 1703s # Start of embedded-nul tests 1703s # Start of subprocess tests 1703s # End of subprocess tests 1703s # End of embedded-nul tests 1703s # End of filename-to-utf8 tests 1703s # Start of filename-from-utf8 tests 1703s ok 12 /conversion/filename-from-utf8/embedded-nul 1703s # Start of embedded-nul tests 1703s # Start of subprocess tests 1703s # End of subprocess tests 1703s # End of embedded-nul tests 1703s # End of filename-from-utf8 tests 1703s # Start of filename-from-uri tests 1703s ok 13 /conversion/filename-from-uri/query-is-ignored 1703s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1703s # End of filename-from-uri tests 1703s # End of conversion tests 1703s TAP version 14 1703s # random seed: R02S1bcf39becebca964b51d1a56efdab4ed 1703s 1..4 1703s # Start of gdbus tests 1703s # Start of exit-on-close tests 1703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/default/.dirs/home 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/default/.dirs/cache 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/default/.dirs/system-config2 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/default/.dirs/config 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/default/.dirs/system-data2 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/default/.dirs/data 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/default/.dirs/state 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/default/.dirs/runtime 1703s ok 1 /gdbus/exit-on-close/default 1703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/true/.dirs/home 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/true/.dirs/cache 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/true/.dirs/system-config2 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/true/.dirs/config 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/true/.dirs/system-data2 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/true/.dirs/data 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/true/.dirs/state 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/true/.dirs/runtime 1703s ok 2 /gdbus/exit-on-close/true 1703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/false/.dirs/home 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/false/.dirs/cache 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/false/.dirs/system-config2 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/false/.dirs/config 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/false/.dirs/system-data2 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/false/.dirs/data 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/false/.dirs/state 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/false/.dirs/runtime 1703s ok 3 /gdbus/exit-on-close/false 1703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/we-close/.dirs/home 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/we-close/.dirs/cache 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/we-close/.dirs/system-config2 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/we-close/.dirs/config 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/we-close/.dirs/system-data2 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/we-close/.dirs/data 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/we-close/.dirs/state 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_L7S3J3/gdbus/exit-on-close/we-close/.dirs/runtime 1704s ok - glib/gdbus-exit-on-close.test 1704s ok 4 /gdbus/exit-on-close/we-close 1704s # Start of default tests 1704s # End of default tests 1704s # Start of true tests 1704s # End of true tests 1704s # Start of false tests 1704s # End of false tests 1704s # Start of we-close tests 1704s # End of we-close tests 1704s # End of exit-on-close tests 1704s # End of gdbus tests 1704s TAP version 14 1704s # random seed: R02S98457c34dab388eab05500cd2bf295d8 1704s 1..3 1704s # Start of utf8 tests 1704s # Running test: glib/utf8-pointer.test 1704s ok - glib/utf8-pointer.test 1704s ok 1 /utf8/offsets 1704s # slow test /utf8/offsets executed in 0.80 secs 1704s ok 2 /utf8/lengths 1704s ok 3 /utf8/find 1704s # End of utf8 tests 1704s # Running test: glib/gapplication.test 1704s TAP version 14 1704s # random seed: R02S5ab0f21678f03c2f93ab04e684c398b8 1704s 1..25 1704s # Start of gapplication tests 1704s ok 1 /gapplication/no-dbus 1704s ok 2 /gapplication/no-appid 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s ok 3 /gapplication/properties 1704s ok 4 /gapplication/app-id 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s ok 5 /gapplication/quit 1704s ok 6 /gapplication/registered 1704s ok 7 /gapplication/local-actions 1704s ok 8 /gapplication/local-command-line 1704s ok 9 /gapplication/resource-path 1704s ok 10 /gapplication/test-help 1704s ok 11 /gapplication/command-line-done 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s ok 12 /gapplication/test-busy 1704s ok 13 /gapplication/test-handle-local-options1 1704s ok 14 /gapplication/test-handle-local-options2 1704s ok 15 /gapplication/test-handle-local-options3 1704s ok 16 /gapplication/api 1704s ok 17 /gapplication/version 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1704s # launching subprocess 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s ok 18 /gapplication/replace 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1704s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1704s # launching subprocess 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s ok 19 /gapplication/no-replace 1705s # slow test /gapplication/no-replace executed in 0.50 secs 1705s # Start of command-line tests 1705s # /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 1705s ok 20 /gapplication/command-line/arguments 1705s # End of command-line tests 1705s # Start of dbus tests 1705s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1705s # Message 0 1705s # Message 1 1705s # Message 2 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s ok 21 /gapplication/dbus/activate 1705s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1705s # Message 0 1705s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1705s # Message 1 1705s # Message 2 1705s # Message 3 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s ok 22 /gapplication/dbus/open 1705s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1705s # Message 0 1705s # Message 1 1705s # Message 2 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s ok 23 /gapplication/dbus/command-line 1705s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s ok 24 /gapplication/dbus/command-line-done 1705s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1705s # Message 0 1705s # Activating action 'undo' with no parameter 1705s # Message 1 1705s # Activating action 'lang' with parameter: 'spanish' 1705s # Message 2 1705s # Message 3 1705s # Message 4 1705s # Message 5 1705s # Message 6 1705s # Activating action 'multi' with parameter: ('first', 'second') 1705s # Message 7 1705s # Message 8 1705s # Activating action 'multi' with parameter: ('first', 'second') 1705s ok - glib/gapplication.test 1705s # Running test: glib/async-splice-output-stream.test 1705s ok - glib/async-splice-output-stream.test 1705s # Running test: glib/memory-settings-backend.test 1705s ok - glib/memory-settings-backend.test 1705s # Message 9 1705s # Message 10 1705s # Activating action 'single' with parameter: ('first',) 1705s # Message 11 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1705s ok 25 /gapplication/dbus/activate-action 1705s # End of dbus tests 1705s # End of gapplication tests 1705s TAP version 14 1705s # random seed: R02S038654bc36e1833e77fc672358274ffb 1705s 1..5 1705s # Start of async-splice tests 1705s ok 1 /async-splice/copy-chunks 1705s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1705s ok 2 /async-splice/copy-chunks-threaded-input 1705s ok 3 /async-splice/copy-chunks-threaded-output 1705s ok 4 /async-splice/copy-chunks-threaded 1705s ok 5 /async-splice/cancelled 1705s # End of async-splice tests 1705s TAP version 14 1705s # random seed: R02S4700937933c80f0eae9b6201ef5ea434 1705s 1..1 1705s # Start of memory-settings-backend tests 1705s ok 1 /memory-settings-backend/extension-point-registered 1705s # End of memory-settings-backend tests 1705s # Running test: glib/union-info.test 1705s ok - glib/union-info.test 1705s TAP version 14 1705s # random seed: R02Se297d1393fc7e1e134688415a7c62b59 1705s 1..2 1705s # Start of union-info tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_HB4KK3/union-info/basic/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_HB4KK3/union-info/basic/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_HB4KK3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_HB4KK3/union-info/basic/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_HB4KK3/union-info/basic/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_HB4KK3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_HB4KK3/union-info/basic/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_HB4KK3/union-info/basic/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_HB4KK3/union-info/basic/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_HB4KK3/union-info/basic/.dirs/runtime 1705s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1705s # /union-info/basic summary: Test basic properties of GIUnionInfo 1705s ok 1 /union-info/basic 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_HB4KK3/union-info/methods/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_HB4KK3/union-info/methods/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_HB4KK3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_HB4KK3/union-info/methods/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_HB4KK3/union-info/methods/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_HB4KK3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_HB4KK3/union-info/methods/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_HB4KK3/union-info/methods/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_HB4KK3/union-info/methods/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_HB4KK3/union-info/methods/.dirs/runtime 1705s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1705s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1705s ok 2 /union-info/methods 1705s # End of union-info tests 1705s # Running test: glib/utils-c-99.test 1705s TAP version 14 1705s # random seed: R02S4ce24b1ab9fb85f334df4525b9124f2c 1705s 1..41 1705s # Start of utils tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/language-names/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/language-names/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/language-names/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/language-names/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/language-names/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/language-names/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/language-names/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/language-names/.dirs/runtime 1705s ok 1 /utils/language-names 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/locale-variants/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/locale-variants/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/locale-variants/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/locale-variants/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/locale-variants/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/locale-variants/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/locale-variants/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/locale-variants/.dirs/runtime 1705s # Testing locale ‘en’ 1705s # Testing locale ‘sr@latin’ 1705s # Testing locale ‘fr_BE’ 1705s # Testing locale ‘sr_SR@latin’ 1705s # Testing locale ‘sr_SR@latin.UTF-8’ 1705s # Testing locale ‘sr@latin_invalid’ 1705s # Testing locale ‘sr.UTF-8@latin’ 1705s # Testing locale ‘sr.UTF-8_latin’ 1705s # Testing locale ‘sr.UTF-8@latin_invalid’ 1705s ok 2 /utils/locale-variants 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/version/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/version/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/version/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/version/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/version/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/version/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/version/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/version/.dirs/runtime 1705s ok 3 /utils/version 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/appname/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/appname/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/appname/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/appname/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/appname/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/appname/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/appname/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/appname/.dirs/runtime 1705s ok 4 /utils/appname 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/prgname-thread-safety/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/prgname-thread-safety/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/prgname-thread-safety/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/prgname-thread-safety/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/prgname-thread-safety/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/prgname-thread-safety/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/prgname-thread-safety/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/prgname-thread-safety/.dirs/runtime 1705s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1705s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1705s ok 5 /utils/prgname-thread-safety 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/tmpdir/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/tmpdir/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/tmpdir/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/tmpdir/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/tmpdir/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/tmpdir/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/tmpdir/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/tmpdir/.dirs/runtime 1705s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1705s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1705s Unable to clean up temporary directory /tmp/test_utils-c-99_VH2KK3/utils/tmpdir: No such file or directory 1705s ok 6 /utils/tmpdir 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/basic_bits/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/basic_bits/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/basic_bits/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/basic_bits/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/basic_bits/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/basic_bits/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/basic_bits/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/basic_bits/.dirs/runtime 1705s ok 7 /utils/basic_bits 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/bits/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/bits/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/bits/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/bits/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/bits/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/bits/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/bits/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/bits/.dirs/runtime 1705s ok 8 /utils/bits 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/swap/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/swap/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/swap/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/swap/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/swap/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/swap/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/swap/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/swap/.dirs/runtime 1705s ok 9 /utils/swap 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/find-program/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/find-program/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/find-program/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/find-program/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/find-program/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/find-program/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/find-program/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/find-program/.dirs/runtime 1705s ok 10 /utils/find-program 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/find-program-for-path/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/find-program-for-path/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/find-program-for-path/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/find-program-for-path/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/find-program-for-path/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/find-program-for-path/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/find-program-for-path/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/find-program-for-path/.dirs/runtime 1705s ok 11 /utils/find-program-for-path 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/debug/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/debug/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/debug/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/debug/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/debug/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/debug/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/debug/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/debug/.dirs/runtime 1705s Unable to clean up temporary directory /tmp/test_utils-c-99_VH2KK3/utils/debug: No such file or directory 1705s ok 12 /utils/debug 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/codeset/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/codeset/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/codeset/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/codeset/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/codeset/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/codeset/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/codeset/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/codeset/.dirs/runtime 1705s ok 13 /utils/codeset 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/codeset2/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/codeset2/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/codeset2/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/codeset2/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/codeset2/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/codeset2/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/codeset2/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/codeset2/.dirs/runtime 1705s Unable to clean up temporary directory /tmp/test_utils-c-99_VH2KK3/utils/codeset2: No such file or directory 1705s ok 14 /utils/codeset2 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/console-charset/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/console-charset/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/console-charset/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/console-charset/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/console-charset/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/console-charset/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/console-charset/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/console-charset/.dirs/runtime 1705s ok 15 /utils/console-charset 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/gettext/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/gettext/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/gettext/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/gettext/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/gettext/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/gettext/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/gettext/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/gettext/.dirs/runtime 1705s ok 16 /utils/gettext 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/username/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/username/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/username/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/username/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/username/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/username/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/username/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/username/.dirs/runtime 1705s ok 17 /utils/username 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/realname/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/realname/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/realname/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/realname/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/realname/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/realname/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/realname/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/realname/.dirs/runtime 1705s ok 18 /utils/realname 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/hostname/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/hostname/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/hostname/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/hostname/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/hostname/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/hostname/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/hostname/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/hostname/.dirs/runtime 1705s ok 19 /utils/hostname 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/os-info/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/os-info/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/os-info/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/os-info/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/os-info/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/os-info/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/os-info/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/os-info/.dirs/runtime 1705s # NAME: Ubuntu 1705s ok 20 /utils/os-info 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/.dirs/runtime 1705s ok 21 /utils/clear-pointer 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer-cast/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer-cast/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/clear-pointer-cast/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer-cast/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/clear-pointer-cast/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer-cast/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer-cast/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer-cast/.dirs/runtime 1705s ok 22 /utils/clear-pointer-cast 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/take-pointer/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/take-pointer/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/take-pointer/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/take-pointer/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/take-pointer/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/take-pointer/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/take-pointer/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/take-pointer/.dirs/runtime 1705s ok 23 /utils/take-pointer 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-source/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-source/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/clear-source/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-source/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/clear-source/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-source/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-source/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/clear-source/.dirs/runtime 1705s ok 24 /utils/clear-source 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/misc-mem/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/misc-mem/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/misc-mem/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/misc-mem/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/misc-mem/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/misc-mem/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/misc-mem/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/misc-mem/.dirs/runtime 1705s ok 25 /utils/misc-mem 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/.dirs/runtime 1705s # /utils/aligned-mem summary: Aligned memory allocator 1705s # Alignment must not be zero 1705s # Alignment must be a power of two 1705s # Alignment must be a multiple of sizeof(void*) 1705s ok 26 /utils/aligned-mem 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/free-sized/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/free-sized/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/free-sized/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/free-sized/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/free-sized/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/free-sized/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/free-sized/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/free-sized/.dirs/runtime 1705s # /utils/free-sized summary: Check that g_free_sized() works 1705s ok 27 /utils/free-sized 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/nullify/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/nullify/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/nullify/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/nullify/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/nullify/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/nullify/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/nullify/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/nullify/.dirs/runtime 1705s ok 28 /utils/nullify 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/atexit/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/atexit/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/atexit/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/atexit/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/atexit/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/atexit/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/atexit/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/atexit/.dirs/runtime 1705s Unable to clean up temporary directory /tmp/test_utils-c-99_VH2KK3/utils/atexit: No such file or directory 1705s ok 29 /utils/atexit 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/check-setuid/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/check-setuid/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/check-setuid/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/check-setuid/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/check-setuid/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/check-setuid/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/check-setuid/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/check-setuid/.dirs/runtime 1705s ok 30 /utils/check-setuid 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/int-limits/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/int-limits/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/int-limits/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/int-limits/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/int-limits/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/int-limits/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/int-limits/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/int-limits/.dirs/runtime 1705s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1705s ok 31 /utils/int-limits 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-list/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-list/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/clear-list/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-list/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/clear-list/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-list/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-list/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/clear-list/.dirs/runtime 1705s ok 32 /utils/clear-list 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-slist/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-slist/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/clear-slist/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-slist/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/clear-slist/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-slist/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-slist/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/clear-slist/.dirs/runtime 1705s ok 33 /utils/clear-slist 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/steal-handle-id/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/steal-handle-id/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/steal-handle-id/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/steal-handle-id/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/steal-handle-id/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/steal-handle-id/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/steal-handle-id/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/steal-handle-id/.dirs/runtime 1705s ok 34 /utils/steal-handle-id 1705s # Start of user-special-dirs tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/desktop/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/desktop/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/desktop/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/desktop/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/desktop/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/desktop/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/desktop/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/desktop/.dirs/runtime 1705s ok 35 /utils/user-special-dirs/desktop 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/load-unlocked/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/load-unlocked/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/load-unlocked/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/load-unlocked/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1705s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1705s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1705s Unable to clean up temporary directory /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/load-unlocked: No such file or directory 1705s ok 36 /utils/user-special-dirs/load-unlocked 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/reload-leaks/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/reload-leaks/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/reload-leaks/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/reload-leaks/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1705s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1705s Unable to clean up temporary directory /tmp/test_utils-c-99_VH2KK3/utils/user-special-dirs/reload-leaks: No such file or directory 1705s ok 37 /utils/user-special-dirs/reload-leaks 1705s # End of user-special-dirs tests 1705s # Start of clear-pointer tests 1705s ok - glib/utils-c-99.test 1705s # Running test: glib/markup-parse.test 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/side-effects/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/side-effects/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/side-effects/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/side-effects/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/side-effects/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/side-effects/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/side-effects/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/clear-pointer/side-effects/.dirs/runtime 1705s ok 38 /utils/clear-pointer/side-effects 1705s # End of clear-pointer tests 1705s # Start of aligned-mem tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/alignment/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/alignment/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/alignment/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/alignment/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/alignment/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/alignment/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/alignment/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/alignment/.dirs/runtime 1705s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1705s ok 39 /utils/aligned-mem/alignment 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/zeroed/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/zeroed/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/zeroed/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/zeroed/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/zeroed/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/zeroed/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/zeroed/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/zeroed/.dirs/runtime 1705s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1705s ok 40 /utils/aligned-mem/zeroed 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/free-sized/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/free-sized/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/free-sized/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/free-sized/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/free-sized/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/free-sized/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/free-sized/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_VH2KK3/utils/aligned-mem/free-sized/.dirs/runtime 1705s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1705s ok 41 /utils/aligned-mem/free-sized 1705s # Start of subprocess tests 1705s # End of subprocess tests 1705s # End of aligned-mem tests 1705s # End of utils tests 1705s TAP version 14 1705s # random seed: R02S7867b09b522a4b737dd6bacdb910c7fa 1705s 1..71 1705s # Start of markup tests 1705s # Start of parse tests 1705s ok 1 /markup/parse/fail-50.gmarkup 1705s ok 2 /markup/parse/fail-32.gmarkup 1705s ok - glib/markup-parse.test 1705s # Running test: glib/macros-c-11.test 1705s ok 3 /markup/parse/fail-54.gmarkup 1705s ok 4 /markup/parse/valid-12.gmarkup 1705s ok 5 /markup/parse/fail-49.gmarkup 1705s ok 6 /markup/parse/valid-7.gmarkup 1705s ok 7 /markup/parse/fail-27.gmarkup 1705s ok 8 /markup/parse/fail-15.gmarkup 1705s ok 9 /markup/parse/fail-6.gmarkup 1705s ok 10 /markup/parse/fail-34.gmarkup 1705s ok 11 /markup/parse/fail-51.gmarkup 1705s ok 12 /markup/parse/fail-28.gmarkup 1705s ok 13 /markup/parse/fail-17.gmarkup 1705s ok 14 /markup/parse/fail-5.gmarkup 1705s ok 15 /markup/parse/fail-1.gmarkup 1705s ok 16 /markup/parse/valid-2.gmarkup 1705s ok 17 /markup/parse/fail-31.gmarkup 1705s ok 18 /markup/parse/fail-22.gmarkup 1705s ok 19 /markup/parse/valid-3.gmarkup 1705s ok 20 /markup/parse/fail-12.gmarkup 1705s ok 21 /markup/parse/fail-45.gmarkup 1705s ok 22 /markup/parse/valid-16.gmarkup 1705s ok 23 /markup/parse/fail-23.gmarkup 1705s ok 24 /markup/parse/fail-44.gmarkup 1705s ok 25 /markup/parse/valid-14.gmarkup 1705s ok 26 /markup/parse/fail-19.gmarkup 1705s ok 27 /markup/parse/fail-24.gmarkup 1705s ok 28 /markup/parse/fail-4.gmarkup 1705s ok 29 /markup/parse/fail-26.gmarkup 1705s ok 30 /markup/parse/fail-43.gmarkup 1705s ok 31 /markup/parse/valid-5.gmarkup 1705s ok 32 /markup/parse/valid-8.gmarkup 1705s ok 33 /markup/parse/fail-53.gmarkup 1705s ok 34 /markup/parse/fail-33.gmarkup 1705s ok 35 /markup/parse/fail-13.gmarkup 1705s ok 36 /markup/parse/fail-18.gmarkup 1705s ok 37 /markup/parse/fail-46.gmarkup 1705s ok 38 /markup/parse/fail-2.gmarkup 1705s ok 39 /markup/parse/fail-52.gmarkup 1705s ok 40 /markup/parse/fail-25.gmarkup 1705s ok 41 /markup/parse/fail-20.gmarkup 1705s ok 42 /markup/parse/fail-38.gmarkup 1705s ok 43 /markup/parse/fail-47.gmarkup 1705s ok 44 /markup/parse/valid-10.gmarkup 1705s ok 45 /markup/parse/fail-42.gmarkup 1705s ok 46 /markup/parse/fail-29.gmarkup 1705s ok 47 /markup/parse/fail-21.gmarkup 1705s ok 48 /markup/parse/fail-11.gmarkup 1705s ok 49 /markup/parse/fail-3.gmarkup 1705s ok 50 /markup/parse/fail-36.gmarkup 1705s ok 51 /markup/parse/fail-30.gmarkup 1705s ok 52 /markup/parse/valid-11.gmarkup 1705s ok 53 /markup/parse/valid-1.gmarkup 1705s ok 54 /markup/parse/fail-16.gmarkup 1705s ok 55 /markup/parse/valid-13.gmarkup 1705s ok 56 /markup/parse/valid-4.gmarkup 1705s ok 57 /markup/parse/fail-14.gmarkup 1705s ok 58 /markup/parse/fail-41.gmarkup 1705s ok 59 /markup/parse/valid-15.gmarkup 1705s ok 60 /markup/parse/fail-10.gmarkup 1705s ok 61 /markup/parse/fail-9.gmarkup 1705s ok 62 /markup/parse/fail-7.gmarkup 1705s ok 63 /markup/parse/fail-40.gmarkup 1705s ok 64 /markup/parse/fail-35.gmarkup 1705s ok 65 /markup/parse/valid-17.gmarkup 1705s ok 66 /markup/parse/fail-8.gmarkup 1705s ok 67 /markup/parse/fail-39.gmarkup 1705s ok 68 /markup/parse/valid-6.gmarkup 1705s ok 69 /markup/parse/fail-48.gmarkup 1705s ok 70 /markup/parse/fail-37.gmarkup 1705s ok 71 /markup/parse/valid-9.gmarkup 1705s # End of parse tests 1705s # End of markup tests 1705s ok - glib/macros-c-11.test 1705s # Running test: glib/utils-isolated.test 1705s TAP version 14 1705s # random seed: R02Sd53fd44ecc48317869e6ab6c38c8ffe3 1705s 1..4 1705s # Start of C tests 1705s # G_C_STD_VERSION is 201112 1705s ok 1 /C/standard-11 1705s # End of C tests 1705s # Start of alignof tests 1705s ok 2 /alignof/fallback 1705s # End of alignof tests 1705s # Start of assert tests 1705s ok 3 /assert/static 1705s # End of assert tests 1705s # Start of struct tests 1705s ok 4 /struct/sizeof_member 1705s # End of struct tests 1705s TAP version 14 1705s # random seed: R02Sbb2c4739322c88edec432480c6d92988 1705s 1..11 1705s # Start of utils-isolated tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/tmp-dir/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/tmp-dir/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/tmp-dir/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/tmp-dir/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/tmp-dir/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/tmp-dir/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/tmp-dir/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZICKK3/utils-isolated/tmp-dir/.dirs/runtime 1705s ok 1 /utils-isolated/tmp-dir 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/home-dir/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/home-dir/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/home-dir/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/home-dir/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/home-dir/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/home-dir/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/home-dir/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZICKK3/utils-isolated/home-dir/.dirs/runtime 1705s ok 2 /utils-isolated/home-dir 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-cache-dir/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-cache-dir/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/user-cache-dir/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-cache-dir/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/user-cache-dir/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-cache-dir/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-cache-dir/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-cache-dir/.dirs/runtime 1705s ok 3 /utils-isolated/user-cache-dir 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-config-dirs/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-config-dirs/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/system-config-dirs/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-config-dirs/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/system-config-dirs/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-config-dirs/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-config-dirs/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-config-dirs/.dirs/runtime 1705s ok 4 /utils-isolated/system-config-dirs 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-config-dir/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-config-dir/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/user-config-dir/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-config-dir/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/user-config-dir/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-config-dir/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-config-dir/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-config-dir/.dirs/runtime 1705s ok 5 /utils-isolated/user-config-dir 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-data-dirs/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-data-dirs/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/system-data-dirs/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-data-dirs/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/system-data-dirs/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-data-dirs/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-data-dirs/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZICKK3/utils-isolated/system-data-dirs/.dirs/runtime 1705s ok 6 /utils-isolated/system-data-dirs 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-data-dir/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-data-dir/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/user-data-dir/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-data-dir/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/user-data-dir/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-data-dir/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-data-dir/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-data-dir/.dirs/runtime 1705s ok 7 /utils-isolated/user-data-dir 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-state-dir/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-state-dir/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/user-state-dir/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-state-dir/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/user-state-dir/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-state-dir/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-state-dir/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-state-dir/.dirs/runtime 1705s ok 8 /utils-isolated/user-state-dir 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-runtime-dir/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-runtime-dir/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/user-runtime-dir/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-runtime-dir/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/user-runtime-dir/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-runtime-dir/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-runtime-dir/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZICKK3/utils-isolated/user-runtime-dir/.dirs/runtime 1705s ok 9 /utils-isolated/user-runtime-dir 1705s # Start of cleanup tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/handles-errors/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/handles-errors/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/handles-errors/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/handles-errors/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/handles-errors/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/handles-errors/.dirs/runtime 1705s Unable to clean up temporary directory /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1705s Unable to clean up temporary directory /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1705s Unable to clean up temporary directory /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/handles-errors: Directory not empty 1705s ok 10 /utils-isolated/cleanup/handles-errors 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1705s Unable to clean up temporary directory /tmp/test_utils-isolated_ZICKK3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1705s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1705s # End of cleanup tests 1705s # End of utils-isolated tests 1705s TAP version 14 1705s # random seed: R02S6d5e4e0ca88d722ceec0fcd6b0ebd45e 1705s 1..1 1705s # Start of power-profile-monitor tests 1705s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1705s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’ 1705s ok 1 /power-profile-monitor/default 1705s # End of power-profile-monitor tests 1705s TAP version 14 1705s # random seed: R02Se2863b623b62d483810cc626679d5862 1705s 1..2 1705s # Start of gtask tests 1705s # 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. 1705s ok 1 /gtask/name 1705s # Start of name tests 1705s # 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. 1705s ok 2 /gtask/name/macro-wrapper 1705s # End of name tests 1705s # End of gtask tests 1705s TAP version 14 1705s # random seed: R02Scc8b91567ff34550c52a371f15db55a9 1705s 1..3 1705s # Start of trash tests 1705s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1705s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1705s # File: /tmp/test-trashDPRKK3 (parent st_dev: 2049) 1705s # Home: /home/ubuntu (st_dev: 2049) 1705s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1705s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1705s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1705s ok 3 /trash/long-filename 1705s # End of trash tests 1705s TAP version 14 1705s # random seed: R02S115ba5c135c2612fd5a6666178ab369f 1705s 1..84 1705s # Start of gsubprocess tests 1705s ok 1 /gsubprocess/noop 1705s ok 2 /gsubprocess/noop-all-to-null 1705s ok 3 /gsubprocess/noop-no-wait 1705s ok 4 /gsubprocess/noop-stdin-inherit 1705s ok 5 /gsubprocess/search-path 1705s ok 6 /gsubprocess/search-path-from-envp 1705s ok - glib/utils-isolated.test 1705s # Running test: glib/power-profile-monitor.test 1705s ok - glib/power-profile-monitor.test 1705s # Running test: glib/cxx-98.test 1705s ok - glib/cxx-98.test 1705s # Running test: glib/trash.test 1705s ok - glib/trash.test 1705s # Running test: glib/gsubprocess.test 1707s # Executing: glib/gsubprocess.test 1708s ok 7 /gsubprocess/signal 1708s # slow test /gsubprocess/signal executed in 3.15 secs 1708s ok 8 /gsubprocess/exit1 1708s ok 9 /gsubprocess/echo1 1708s ok 10 /gsubprocess/echo-merged 1708s ok 11 /gsubprocess/cat-utf8 1709s ok 12 /gsubprocess/cat-eof 1709s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1712s # Executing: glib/gsubprocess.test 1712s ok 13 /gsubprocess/multi1 1712s # slow test /gsubprocess/multi1 executed in 3.01 secs 1712s ok 14 /gsubprocess/communicate 1715s ok 15 /gsubprocess/terminate 1715s # slow test /gsubprocess/terminate executed in 2.98 secs 1715s ok 16 /gsubprocess/fail-initialization 1715s ok 17 /gsubprocess/env 1715s ok 18 /gsubprocess/cwd 1715s ok 19 /gsubprocess/launcher-close 1715s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1715s ok 20 /gsubprocess/stdout-file 1715s ok 21 /gsubprocess/stdout-fd 1715s ok 22 /gsubprocess/child-setup 1715s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1715s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1715s ok 23 /gsubprocess/launcher-environment 1715s # Start of exit1 tests 1715s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1715s ok 24 /gsubprocess/exit1/cancel 1715s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1715s ok 25 /gsubprocess/exit1/cancel_in_cb 1715s # End of exit1 tests 1715s # Start of communicate tests 1715s ok 26 /gsubprocess/communicate/cancelled 1715s ok 27 /gsubprocess/communicate/async 1715s ok 28 /gsubprocess/communicate/utf8 1715s # hello world 1715s ok 29 /gsubprocess/communicate/no-pipes 1715s ok 30 /gsubprocess/communicate/separate-stderr 1715s ok 31 /gsubprocess/communicate/stdout-only 1715s # hello world 1715s ok 32 /gsubprocess/communicate/stderr-only 1715s ok 33 /gsubprocess/communicate/stdout-silence 1715s ok 34 /gsubprocess/communicate/nothing 1715s # Start of async tests 1715s ok 35 /gsubprocess/communicate/async/cancelled 1715s # hello world 1715s ok 36 /gsubprocess/communicate/async/no-pipes 1715s ok 37 /gsubprocess/communicate/async/separate-stderr 1715s ok 38 /gsubprocess/communicate/async/stdout-only 1715s # hello world 1715s ok 39 /gsubprocess/communicate/async/stderr-only 1715s ok 40 /gsubprocess/communicate/async/stdout-silence 1715s # Start of cancelled tests 1715s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 1715s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 1715s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 1715s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 1715s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 1715s # End of cancelled tests 1715s # End of async tests 1715s # Start of utf8 tests 1715s ok 46 /gsubprocess/communicate/utf8/cancelled 1715s ok 47 /gsubprocess/communicate/utf8/async 1715s # hello world 1715s ok 48 /gsubprocess/communicate/utf8/no-pipes 1715s ok 49 /gsubprocess/communicate/utf8/separate-stderr 1715s ok 50 /gsubprocess/communicate/utf8/stdout-only 1715s # hello world 1715s ok 51 /gsubprocess/communicate/utf8/stderr-only 1715s ok 52 /gsubprocess/communicate/utf8/stdout-silence 1715s ok 53 /gsubprocess/communicate/utf8/invalid 1715s # Start of async tests 1715s ok 54 /gsubprocess/communicate/utf8/async/cancelled 1715s # hello world 1715s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 1715s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 1715s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 1715s # hello world 1715s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 1715s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 1715s ok 60 /gsubprocess/communicate/utf8/async/invalid 1715s # Start of cancelled tests 1715s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1715s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1715s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1715s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1715s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1715s # End of cancelled tests 1715s # End of async tests 1715s # Start of cancelled tests 1715s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 1715s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1715s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 1715s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 1715s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1715s # End of cancelled tests 1715s # End of utf8 tests 1715s # Start of cancelled tests 1715s ok 71 /gsubprocess/communicate/cancelled/no-pipes 1715s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 1715s ok 73 /gsubprocess/communicate/cancelled/stdout-only 1715s ok 74 /gsubprocess/communicate/cancelled/stderr-only 1715s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 1715s # End of cancelled tests 1715s # End of communicate tests 1715s # Start of env tests 1715s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1715s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1715s ok 76 /gsubprocess/env/inherit 1715s # End of env tests 1715s # Start of pass-fd tests 1715s ok 77 /gsubprocess/pass-fd/basic 1715s ok 78 /gsubprocess/pass-fd/empty-child-setup 1715s ok 79 /gsubprocess/pass-fd/inherit-fds 1715s # End of pass-fd tests 1715s # Start of fd-conflation tests 1715s ok 80 /gsubprocess/fd-conflation/basic 1715s ok 81 /gsubprocess/fd-conflation/empty-child-setup 1715s ok 82 /gsubprocess/fd-conflation/inherit-fds 1715s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 1715s # End of fd-conflation tests 1715s # Start of exit-status tests 1715s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1715s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1715s ok 84 /gsubprocess/exit-status/trapped 1715s # End of exit-status tests 1715s # End of gsubprocess tests 1715s ok - glib/gsubprocess.test 1715s # Running test: glib/unix-streams.test 1715s TAP version 14 1715s # random seed: R02S40b82d3c09d784a53b4d66ad9cda5194 1715s 1..9 1715s # Start of unix-streams tests 1715s ok 1 /unix-streams/basic 1716s ok 2 /unix-streams/pipe-io-test 1716s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1716s ok 3 /unix-streams/nonblocking-io-test 1716s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1716s ok 4 /unix-streams/read_write 1716s ok 5 /unix-streams/read_writev 1716s ok 6 /unix-streams/write-wouldblock 1716s ok 7 /unix-streams/writev-wouldblock 1716s ok 8 /unix-streams/write-async-wouldblock 1716s ok 9 /unix-streams/writev-async-wouldblock 1716s # End of unix-streams tests 1716s ok - glib/unix-streams.test 1716s # Running test: glib/mkenums.py.test 1716s TAP version 13 1716s ok 1 __main__.TestMkenums.test_available_in 1716s # glib-mkenums: /usr/bin/glib-mkenums 1716s # tmpdir: /tmp/tmpacjrsv95 1716s # rspfile: False 1716s # /tmp/tmpacjrsv95/tmp5vjwpjj6.h: 1716s # typedef enum { 1716s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1716s # } GDBusServerFlags; 1716s # 1716s # /tmp/tmpacjrsv95/tmp2jpy9fng.template: 1716s # /*** BEGIN file-header ***/ 1716s # file-header 1716s # /*** END file-header ***/ 1716s # 1716s # /*** BEGIN file-production ***/ 1716s # file-production 1716s # filename: @filename@ 1716s # basename: @basename@ 1716s # /*** END file-production ***/ 1716s # 1716s # /*** BEGIN enumeration-production ***/ 1716s # enumeration-production 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END enumeration-production ***/ 1716s # 1716s # /*** BEGIN value-header ***/ 1716s # value-header 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-header ***/ 1716s # 1716s # /*** BEGIN value-production ***/ 1716s # value-production 1716s # VALUENAME: @VALUENAME@ 1716s # valuenick: @valuenick@ 1716s # valuenum: @valuenum@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-production ***/ 1716s # 1716s # /*** BEGIN value-tail ***/ 1716s # value-tail 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-tail ***/ 1716s # 1716s # /*** BEGIN comment ***/ 1716s # comment 1716s # comment: @comment@ 1716s # /*** END comment ***/ 1716s # 1716s # /*** BEGIN file-tail ***/ 1716s # file-tail 1716s # /*** END file-tail ***/ 1716s # 1716s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpacjrsv95/tmp2jpy9fng.template', '/tmp/tmpacjrsv95/tmp5vjwpjj6.h'] 1716s # Return code: 0 1716s # Output: 1716s # comment 1716s # 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. 1716s # 1716s # 1716s # file-header 1716s # file-production 1716s # filename: /tmp/tmpacjrsv95/tmp5vjwpjj6.h 1716s # basename: tmp5vjwpjj6.h 1716s # enumeration-production 1716s # EnumName: GDBusServerFlags 1716s # enum_name: g_dbus_server_flags 1716s # ENUMNAME: G_DBUS_SERVER_FLAGS 1716s # ENUMSHORT: DBUS_SERVER_FLAGS 1716s # ENUMPREFIX: G 1716s # enumsince: 1716s # type: flags 1716s # Type: Flags 1716s # TYPE: FLAGS 1716s # value-header 1716s # EnumName: GDBusServerFlags 1716s # enum_name: g_dbus_server_flags 1716s # ENUMNAME: G_DBUS_SERVER_FLAGS 1716s # ENUMSHORT: DBUS_SERVER_FLAGS 1716s # ENUMPREFIX: G 1716s # enumsince: 1716s # type: flags 1716s # Type: Flags 1716s # TYPE: FLAGS 1716s # value-production 1716s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1716s # valuenick: user 1716s # valuenum: 4 1716s # type: flags 1716s # Type: Flags 1716s # TYPE: FLAGS 1716s # value-tail 1716s # EnumName: GDBusServerFlags 1716s # enum_name: g_dbus_server_flags 1716s # ENUMNAME: G_DBUS_SERVER_FLAGS 1716s # ENUMSHORT: DBUS_SERVER_FLAGS 1716s # ENUMPREFIX: G 1716s # enumsince: 1716s # type: flags 1716s # Type: Flags 1716s # TYPE: FLAGS 1716s # file-tail 1716s # 1716s # comment 1716s # comment: Generated data ends here 1716s # Error: 1716s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1716s # glib-mkenums: /usr/bin/glib-mkenums 1716s # tmpdir: /tmp/tmp0du8ffda 1716s # rspfile: False 1716s # /tmp/tmp0du8ffda/tmpoiqpb4pf.h: 1716s # typedef enum { 1716s # ENUM_VALUE_WITH_COMMA = ',', 1716s # } TestCommaEnum; 1716s # 1716s # /tmp/tmp0du8ffda/tmpi5r7z5se.template: 1716s # /*** BEGIN file-header ***/ 1716s # file-header 1716s # /*** END file-header ***/ 1716s # 1716s # /*** BEGIN file-production ***/ 1716s # file-production 1716s # filename: @filename@ 1716s # basename: @basename@ 1716s # /*** END file-production ***/ 1716s # 1716s # /*** BEGIN enumeration-production ***/ 1716s # enumeration-production 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END enumeration-production ***/ 1716s # 1716s # /*** BEGIN value-header ***/ 1716s # value-header 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-header ***/ 1716s # 1716s # /*** BEGIN value-production ***/ 1716s # value-production 1716s # VALUENAME: @VALUENAME@ 1716s # valuenick: @valuenick@ 1716s # valuenum: @valuenum@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-production ***/ 1716s # 1716s # /*** BEGIN value-tail ***/ 1716s # value-tail 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-tail ***/ 1716s # 1716s # /*** BEGIN comment ***/ 1716s # comment 1716s # comment: @comment@ 1716s # /*** END comment ***/ 1716s # 1716s # /*** BEGIN file-tail ***/ 1716s # file-tail 1716s # /*** END file-tail ***/ 1716s # 1716s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0du8ffda/tmpi5r7z5se.template', '/tmp/tmp0du8ffda/tmpoiqpb4pf.h'] 1716s # Return code: 0 1716s # Output: 1716s # comment 1716s # 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. 1716s # 1716s # 1716s # file-header 1716s # file-production 1716s # filename: /tmp/tmp0du8ffda/tmpoiqpb4pf.h 1716s # basename: tmpoiqpb4pf.h 1716s # enumeration-production 1716s # EnumName: TestCommaEnum 1716s # enum_name: test_comma_enum 1716s # ENUMNAME: TEST_COMMA_ENUM 1716s # ENUMSHORT: COMMA_ENUM 1716s # ENUMPREFIX: TEST 1716s # enumsince: 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # value-header 1716s # EnumName: TestCommaEnum 1716s # enum_name: test_comma_enum 1716s # ENUMNAME: TEST_COMMA_ENUM 1716s # ENUMSHORT: COMMA_ENUM 1716s # ENUMPREFIX: TEST 1716s # enumsince: 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # value-production 1716s # VALUENAME: ENUM_VALUE_WITH_COMMA 1716s # valuenick: comma 1716s # valuenum: 44 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # value-tail 1716s # EnumName: TestCommaEnum 1716s # enum_name: test_comma_enum 1716s # ENUMNAME: TEST_COMMA_ENUM 1716s # ENUMSHORT: COMMA_ENUM 1716s # ENUMPREFIX: TEST 1716s # enumsince: 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # file-tail 1716s # 1716s # comment 1716s # comment: Generated data ends here 1716s # Error: 1716s ok 3 __main__.TestMkenums.test_deprecated_in 1716s # glib-mkenums: /usr/bin/glib-mkenums 1716s # tmpdir: /tmp/tmpk38vhd99 1716s # rspfile: False 1716s # /tmp/tmpk38vhd99/tmprqrbvutj.h: 1716s # typedef enum { 1716s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1716s # } GDBusServerFlags; 1716s # 1716s # /tmp/tmpk38vhd99/tmp451cxrrn.template: 1716s # /*** BEGIN file-header ***/ 1716s # file-header 1716s # /*** END file-header ***/ 1716s # 1716s # /*** BEGIN file-production ***/ 1716s # file-production 1716s # filename: @filename@ 1716s # basename: @basename@ 1716s # /*** END file-production ***/ 1716s # 1716s # /*** BEGIN enumeration-production ***/ 1716s # enumeration-production 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END enumeration-production ***/ 1716s # 1716s # /*** BEGIN value-header ***/ 1716s # value-header 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-header ***/ 1716s # 1716s # /*** BEGIN value-production ***/ 1716s # value-production 1716s # VALUENAME: @VALUENAME@ 1716s # valuenick: @valuenick@ 1716s # valuenum: @valuenum@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-production ***/ 1716s # 1716s # /*** BEGIN value-tail ***/ 1716s # value-tail 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-tail ***/ 1716s # 1716s # /*** BEGIN comment ***/ 1716s # comment 1716s # comment: @comment@ 1716s # /*** END comment ***/ 1716s # 1716s # /*** BEGIN file-tail ***/ 1716s # file-tail 1716s # /*** END file-tail ***/ 1716s # 1716s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpk38vhd99/tmp451cxrrn.template', '/tmp/tmpk38vhd99/tmprqrbvutj.h'] 1716s # Return code: 0 1716s # Output: 1716s # comment 1716s # 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. 1716s # 1716s # 1716s # file-header 1716s # file-production 1716s # filename: /tmp/tmpk38vhd99/tmprqrbvutj.h 1716s # basename: tmprqrbvutj.h 1716s # enumeration-production 1716s # EnumName: GDBusServerFlags 1716s # enum_name: g_dbus_server_flags 1716s # ENUMNAME: G_DBUS_SERVER_FLAGS 1716s # ENUMSHORT: DBUS_SERVER_FLAGS 1716s # ENUMPREFIX: G 1716s # enumsince: 1716s # type: flags 1716s # Type: Flags 1716s # TYPE: FLAGS 1716s # value-header 1716s # EnumName: GDBusServerFlags 1716s # enum_name: g_dbus_server_flags 1716s # ENUMNAME: G_DBUS_SERVER_FLAGS 1716s # ENUMSHORT: DBUS_SERVER_FLAGS 1716s # ENUMPREFIX: G 1716s # enumsince: 1716s # type: flags 1716s # Type: Flags 1716s # TYPE: FLAGS 1716s # value-production 1716s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1716s # valuenick: user 1716s # valuenum: 4 1716s # type: flags 1716s # Type: Flags 1716s # TYPE: FLAGS 1716s # value-tail 1716s # EnumName: GDBusServerFlags 1716s # enum_name: g_dbus_server_flags 1716s # ENUMNAME: G_DBUS_SERVER_FLAGS 1716s # ENUMSHORT: DBUS_SERVER_FLAGS 1716s # ENUMPREFIX: G 1716s # enumsince: 1716s # type: flags 1716s # Type: Flags 1716s # TYPE: FLAGS 1716s # file-tail 1716s # 1716s # comment 1716s # comment: Generated data ends here 1716s # Error: 1716s ok 4 __main__.TestMkenums.test_deprecated_in_for 1716s # glib-mkenums: /usr/bin/glib-mkenums 1716s # tmpdir: /tmp/tmpen91y7jx 1716s # rspfile: False 1716s # /tmp/tmpen91y7jx/tmpp9a8jh3j.h: 1716s # typedef enum { 1716s # 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) 1716s # } GDBusServerFlags; 1716s # 1716s # /tmp/tmpen91y7jx/tmp1oxus378.template: 1716s # /*** BEGIN file-header ***/ 1716s # file-header 1716s # /*** END file-header ***/ 1716s # 1716s # /*** BEGIN file-production ***/ 1716s # file-production 1716s # filename: @filename@ 1716s # basename: @basename@ 1716s # /*** END file-production ***/ 1716s # 1716s # /*** BEGIN enumeration-production ***/ 1716s # enumeration-production 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END enumeration-production ***/ 1716s # 1716s # /*** BEGIN value-header ***/ 1716s # value-header 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-header ***/ 1716s # 1716s # /*** BEGIN value-production ***/ 1716s # value-production 1716s # VALUENAME: @VALUENAME@ 1716s # valuenick: @valuenick@ 1716s # valuenum: @valuenum@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-production ***/ 1716s # 1716s # /*** BEGIN value-tail ***/ 1716s # value-tail 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-tail ***/ 1716s # 1716s # /*** BEGIN comment ***/ 1716s # comment 1716s # comment: @comment@ 1716s # /*** END comment ***/ 1716s # 1716s # /*** BEGIN file-tail ***/ 1716s # file-tail 1716s # /*** END file-tail ***/ 1716s # 1716s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpen91y7jx/tmp1oxus378.template', '/tmp/tmpen91y7jx/tmpp9a8jh3j.h'] 1716s # Return code: 0 1716s # Output: 1716s # comment 1716s # 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. 1716s # 1716s # 1716s # file-header 1716s # file-production 1716s # filename: /tmp/tmpen91y7jx/tmpp9a8jh3j.h 1716s # basename: tmpp9a8jh3j.h 1716s # enumeration-production 1716s # EnumName: GDBusServerFlags 1716s # enum_name: g_dbus_server_flags 1716s # ENUMNAME: G_DBUS_SERVER_FLAGS 1716s # ENUMSHORT: DBUS_SERVER_FLAGS 1716s # ENUMPREFIX: G 1716s # enumsince: 1716s # type: flags 1716s # Type: Flags 1716s # TYPE: FLAGS 1716s # value-header 1716s # EnumName: GDBusServerFlags 1716s # enum_name: g_dbus_server_flags 1716s # ENUMNAME: G_DBUS_SERVER_FLAGS 1716s # ENUMSHORT: DBUS_SERVER_FLAGS 1716s # ENUMPREFIX: G 1716s # enumsince: 1716s # type: flags 1716s # Type: Flags 1716s # TYPE: FLAGS 1716s # value-production 1716s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1716s # valuenick: user 1716s # valuenum: 4 1716s # type: flags 1716s # Type: Flags 1716s # TYPE: FLAGS 1716s # value-tail 1716s # EnumName: GDBusServerFlags 1716s # enum_name: g_dbus_server_flags 1716s # ENUMNAME: G_DBUS_SERVER_FLAGS 1716s # ENUMSHORT: DBUS_SERVER_FLAGS 1716s # ENUMPREFIX: G 1716s # enumsince: 1716s # type: flags 1716s # Type: Flags 1716s # TYPE: FLAGS 1716s # file-tail 1716s # 1716s # comment 1716s # comment: Generated data ends here 1716s # Error: 1716s ok 5 __main__.TestMkenums.test_empty_header 1716s # glib-mkenums: /usr/bin/glib-mkenums 1716s # tmpdir: /tmp/tmp9b4y3pbh 1716s # rspfile: False 1716s # /tmp/tmp9b4y3pbh/tmpq0h1xria.h: 1716s # /tmp/tmp9b4y3pbh/tmpns9h8smh.template: 1716s # /*** BEGIN file-header ***/ 1716s # file-header 1716s # /*** END file-header ***/ 1716s # 1716s # /*** BEGIN file-production ***/ 1716s # file-production 1716s # filename: @filename@ 1716s # basename: @basename@ 1716s # /*** END file-production ***/ 1716s # 1716s # /*** BEGIN enumeration-production ***/ 1716s # enumeration-production 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END enumeration-production ***/ 1716s # 1716s # /*** BEGIN value-header ***/ 1716s # value-header 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-header ***/ 1716s # 1716s # /*** BEGIN value-production ***/ 1716s # value-production 1716s # VALUENAME: @VALUENAME@ 1716s # valuenick: @valuenick@ 1716s # valuenum: @valuenum@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-production ***/ 1716s # 1716s # /*** BEGIN value-tail ***/ 1716s # value-tail 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-tail ***/ 1716s # 1716s # /*** BEGIN comment ***/ 1716s # comment 1716s # comment: @comment@ 1716s # /*** END comment ***/ 1716s # 1716s # /*** BEGIN file-tail ***/ 1716s # file-tail 1716s # /*** END file-tail ***/ 1716s # 1716s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9b4y3pbh/tmpns9h8smh.template', '/tmp/tmp9b4y3pbh/tmpq0h1xria.h'] 1716s # Return code: 0 1716s # Output: 1716s # comment 1716s # 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. 1716s # 1716s # 1716s # file-header 1716s # file-tail 1716s # 1716s # comment 1716s # comment: Generated data ends here 1716s # Error: 1716s ok 6 __main__.TestMkenums.test_empty_template 1716s # glib-mkenums: /usr/bin/glib-mkenums 1716s # tmpdir: /tmp/tmpgpd206y8 1716s # rspfile: False 1716s # /tmp/tmpgpd206y8/tmppgipkqcl.template: 1716s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgpd206y8/tmppgipkqcl.template'] 1716s # Return code: 0 1716s # Output: 1716s # /* 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. */ 1716s # 1716s # 1716s # /* Generated data ends here */ 1716s # Error: 1716s ok 7 __main__.TestMkenums.test_enum_name 1716s # glib-mkenums: /usr/bin/glib-mkenums 1716s # tmpdir: /tmp/tmpgq3vy4x7 1716s # rspfile: False 1716s # /tmp/tmpgq3vy4x7/tmpvo44bxpi.h: 1716s # typedef enum _SomeEnumIdentifier { 1716s # ENUM_VALUE 1716s # } SomeEnumIdentifier; 1716s # 1716s # /tmp/tmpgq3vy4x7/tmpscsnrlia.template: 1716s # /*** BEGIN file-header ***/ 1716s # file-header 1716s # /*** END file-header ***/ 1716s # 1716s # /*** BEGIN file-production ***/ 1716s # file-production 1716s # filename: @filename@ 1716s # basename: @basename@ 1716s # /*** END file-production ***/ 1716s # 1716s # /*** BEGIN enumeration-production ***/ 1716s # enumeration-production 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END enumeration-production ***/ 1716s # 1716s # /*** BEGIN value-header ***/ 1716s # value-header 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-header ***/ 1716s # 1716s # /*** BEGIN value-production ***/ 1716s # value-production 1716s # VALUENAME: @VALUENAME@ 1716s # valuenick: @valuenick@ 1716s # valuenum: @valuenum@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-production ***/ 1716s # 1716s # /*** BEGIN value-tail ***/ 1716s # value-tail 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-tail ***/ 1716s # 1716s # /*** BEGIN comment ***/ 1716s # comment 1716s # comment: @comment@ 1716s # /*** END comment ***/ 1716s # 1716s # /*** BEGIN file-tail ***/ 1716s # file-tail 1716s # /*** END file-tail ***/ 1716s # 1716s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgq3vy4x7/tmpscsnrlia.template', '/tmp/tmpgq3vy4x7/tmpvo44bxpi.h'] 1716s # Return code: 0 1716s # Output: 1716s # comment 1716s # 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. 1716s # 1716s # 1716s # file-header 1716s # file-production 1716s # filename: /tmp/tmpgq3vy4x7/tmpvo44bxpi.h 1716s # basename: tmpvo44bxpi.h 1716s # enumeration-production 1716s # EnumName: SomeEnumIdentifier 1716s # enum_name: some_enum_identifier 1716s # ENUMNAME: SOME_ENUM_IDENTIFIER 1716s # ENUMSHORT: ENUM_IDENTIFIER 1716s # ENUMPREFIX: SOME 1716s # enumsince: 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # value-header 1716s # EnumName: SomeEnumIdentifier 1716s # enum_name: some_enum_identifier 1716s # ENUMNAME: SOME_ENUM_IDENTIFIER 1716s # ENUMSHORT: ENUM_IDENTIFIER 1716s # ENUMPREFIX: SOME 1716s # enumsince: 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # value-production 1716s # VALUENAME: ENUM_VALUE 1716s # valuenick: value 1716s # valuenum: 0 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # value-tail 1716s # EnumName: SomeEnumIdentifier 1716s # enum_name: some_enum_identifier 1716s # ENUMNAME: SOME_ENUM_IDENTIFIER 1716s # ENUMSHORT: ENUM_IDENTIFIER 1716s # ENUMPREFIX: SOME 1716s # enumsince: 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # file-tail 1716s # 1716s # comment 1716s # comment: Generated data ends here 1716s # Error: 1716s ok 8 __main__.TestMkenums.test_enum_private_public 1716s # glib-mkenums: /usr/bin/glib-mkenums 1716s # tmpdir: /tmp/tmp0fsglu29 1716s # rspfile: False 1716s # /tmp/tmp0fsglu29/tmp700ekgo2.h: 1716s # typedef enum { 1716s # ENUM_VALUE_PUBLIC1, 1716s # /*< private >*/ 1716s # ENUM_VALUE_PRIVATE, 1716s # } SomeEnumA 1716s # 1716s # /tmp/tmp0fsglu29/tmpxqh8byd8.template: 1716s # /*** BEGIN file-header ***/ 1716s # file-header 1716s # /*** END file-header ***/ 1716s # 1716s # /*** BEGIN file-production ***/ 1716s # file-production 1716s # filename: @filename@ 1716s # basename: @basename@ 1716s # /*** END file-production ***/ 1716s # 1716s # /*** BEGIN enumeration-production ***/ 1716s # enumeration-production 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END enumeration-production ***/ 1716s # 1716s # /*** BEGIN value-header ***/ 1716s # value-header 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-header ***/ 1716s # 1716s # /*** BEGIN value-production ***/ 1716s # value-production 1716s # VALUENAME: @VALUENAME@ 1716s # valuenick: @valuenick@ 1716s # valuenum: @valuenum@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-production ***/ 1716s # 1716s # /*** BEGIN value-tail ***/ 1716s # value-tail 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-tail ***/ 1716s # 1716s # /*** BEGIN comment ***/ 1716s # comment 1716s # comment: @comment@ 1716s # /*** END comment ***/ 1716s # 1716s # /*** BEGIN file-tail ***/ 1716s # file-tail 1716s # /*** END file-tail ***/ 1716s # 1716s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0fsglu29/tmpxqh8byd8.template', '/tmp/tmp0fsglu29/tmp700ekgo2.h'] 1716s # Return code: 0 1716s # Output: 1716s # comment 1716s # 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. 1716s # 1716s # 1716s # file-header 1716s # file-production 1716s # filename: /tmp/tmp0fsglu29/tmp700ekgo2.h 1716s # basename: tmp700ekgo2.h 1716s # enumeration-production 1716s # EnumName: SomeEnumA 1716s # enum_name: some_enum_a 1716s # ENUMNAME: SOME_ENUM_A 1716s # ENUMSHORT: ENUM_A 1716s # ENUMPREFIX: SOME 1716s # enumsince: 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # value-header 1716s # EnumName: SomeEnumA 1716s # enum_name: some_enum_a 1716s # ENUMNAME: SOME_ENUM_A 1716s # ENUMSHORT: ENUM_A 1716s # ENUMPREFIX: SOME 1716s # enumsince: 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # value-production 1716s # VALUENAME: ENUM_VALUE_PUBLIC1 1716s # valuenick: public1 1716s # valuenum: 0 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # value-tail 1716s # EnumName: SomeEnumA 1716s # enum_name: some_enum_a 1716s # ENUMNAME: SOME_ENUM_A 1716s # ENUMSHORT: ENUM_A 1716s # ENUMPREFIX: SOME 1716s # enumsince: 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # file-tail 1716s # 1716s # comment 1716s # comment: Generated data ends here 1716s # Error: 1716s # 1716s # /tmp/tmp0fsglu29/tmp_jv55nam.h: 1716s # typedef enum { 1716s # /*< private >*/ 1716s # ENUM_VALUE_PRIVATE, 1716s # /*< public >*/ 1716s # ENUM_VALUE_PUBLIC2, 1716s # } SomeEnumB; 1716s # 1716s # /tmp/tmp0fsglu29/tmpzoqeb0rr.template: 1716s # /*** BEGIN file-header ***/ 1716s # file-header 1716s # /*** END file-header ***/ 1716s # 1716s # /*** BEGIN file-production ***/ 1716s # file-production 1716s # filename: @filename@ 1716s # basename: @basename@ 1716s # /*** END file-production ***/ 1716s # 1716s # /*** BEGIN enumeration-production ***/ 1716s # enumeration-production 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END enumeration-production ***/ 1716s # 1716s # /*** BEGIN value-header ***/ 1716s # value-header 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-header ***/ 1716s # 1716s # /*** BEGIN value-production ***/ 1716s # value-production 1716s # VALUENAME: @VALUENAME@ 1716s # valuenick: @valuenick@ 1716s # valuenum: @valuenum@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-production ***/ 1716s # 1716s # /*** BEGIN value-tail ***/ 1716s # value-tail 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-tail ***/ 1716s # 1716s # /*** BEGIN comment ***/ 1716s # comment 1716s # comment: @comment@ 1716s # /*** END comment ***/ 1716s # 1716s # /*** BEGIN file-tail ***/ 1716s # file-tail 1716s # /*** END file-tail ***/ 1716s # 1716s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0fsglu29/tmpzoqeb0rr.template', '/tmp/tmp0fsglu29/tmp_jv55nam.h'] 1716s # Return code: 0 1716s # Output: 1716s # comment 1716s # 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. 1716s # 1716s # 1716s # file-header 1716s # file-production 1716s # filename: /tmp/tmp0fsglu29/tmp_jv55nam.h 1716s # basename: tmp_jv55nam.h 1716s # enumeration-production 1716s # EnumName: SomeEnumB 1716s # enum_name: some_enum_b 1716s # ENUMNAME: SOME_ENUM_B 1716s # ENUMSHORT: ENUM_B 1716s # ENUMPREFIX: SOME 1716s # enumsince: 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # value-header 1716s # EnumName: SomeEnumB 1716s # enum_name: some_enum_b 1716s # ENUMNAME: SOME_ENUM_B 1716s # ENUMSHORT: ENUM_B 1716s # ENUMPREFIX: SOME 1716s # enumsince: 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # value-production 1716s # VALUENAME: ENUM_VALUE_PUBLIC2 1716s # valuenick: public2 1716s # valuenum: 1 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # value-tail 1716s # EnumName: SomeEnumB 1716s # enum_name: some_enum_b 1716s # ENUMNAME: SOME_ENUM_B 1716s # ENUMSHORT: ENUM_B 1716s # ENUMPREFIX: SOME 1716s # enumsince: 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # file-tail 1716s # 1716s # comment 1716s # comment: Generated data ends here 1716s # Error: 1716s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1716s # glib-mkenums: /usr/bin/glib-mkenums 1716s # tmpdir: /tmp/tmpz3sk8k8b 1716s # rspfile: False 1716s # /tmp/tmpz3sk8k8b/tmpqsehzxez.h: 1716s # typedef enum { 1716s # /*< private >*/ 1716s # ENUM_VALUE_PRIVATE = 5, 1716s # /*< public >*/ 1716s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1716s # } TestSymbolicEnum; 1716s # 1716s # /tmp/tmpz3sk8k8b/tmpztq5d3r1.template: 1716s # /*** BEGIN file-header ***/ 1716s # file-header 1716s # /*** END file-header ***/ 1716s # 1716s # /*** BEGIN file-production ***/ 1716s # file-production 1716s # filename: @filename@ 1716s # basename: @basename@ 1716s # /*** END file-production ***/ 1716s # 1716s # /*** BEGIN enumeration-production ***/ 1716s # enumeration-production 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END enumeration-production ***/ 1716s # 1716s # /*** BEGIN value-header ***/ 1716s # value-header 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-header ***/ 1716s # 1716s # /*** BEGIN value-production ***/ 1716s # value-production 1716s # VALUENAME: @VALUENAME@ 1716s # valuenick: @valuenick@ 1716s # valuenum: @valuenum@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-production ***/ 1716s # 1716s # /*** BEGIN value-tail ***/ 1716s # value-tail 1716s # EnumName: @EnumName@ 1716s # enum_name: @enum_name@ 1716s # ENUMNAME: @ENUMNAME@ 1716s # ENUMSHORT: @ENUMSHORT@ 1716s # ENUMPREFIX: @ENUMPREFIX@ 1716s # enumsince: @enumsince@ 1716s # type: @type@ 1716s # Type: @Type@ 1716s # TYPE: @TYPE@ 1716s # /*** END value-tail ***/ 1716s # 1716s # /*** BEGIN comment ***/ 1716s # comment 1716s # comment: @comment@ 1716s # /*** END comment ***/ 1716s # 1716s # /*** BEGIN file-tail ***/ 1716s # file-tail 1716s # /*** END file-tail ***/ 1716s # 1716s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpz3sk8k8b/tmpztq5d3r1.template', '/tmp/tmpz3sk8k8b/tmpqsehzxez.h'] 1716s # Return code: 0 1716s # Output: 1716s # comment 1716s # 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. 1716s # 1716s # 1716s # file-header 1716s # file-production 1716s # filename: /tmp/tmpz3sk8k8b/tmpqsehzxez.h 1716s # basename: tmpqsehzxez.h 1716s # enumeration-production 1716s # EnumName: TestSymbolicEnum 1716s # enum_name: test_symbolic_enum 1716s # ENUMNAME: TEST_SYMBOLIC_ENUM 1716s # ENUMSHORT: SYMBOLIC_ENUM 1716s # ENUMPREFIX: TEST 1716s # enumsince: 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # value-header 1716s # EnumName: TestSymbolicEnum 1716s # enum_name: test_symbolic_enum 1716s # ENUMNAME: TEST_SYMBOLIC_ENUM 1716s # ENUMSHORT: SYMBOLIC_ENUM 1716s # ENUMPREFIX: TEST 1716s # enumsince: 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # value-production 1716s # VALUENAME: ENUM_VALUE_PUBLIC 1716s # valuenick: public 1716s # valuenum: 7 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # value-tail 1716s # EnumName: TestSymbolicEnum 1716s # enum_name: test_symbolic_enum 1716s # ENUMNAME: TEST_SYMBOLIC_ENUM 1716s # ENUMSHORT: SYMBOLIC_ENUM 1716s # ENUMPREFIX: TEST 1716s # enumsince: 1716s # type: enum 1716s # Type: Enum 1716s # TYPE: ENUM 1716s # file-tail 1716s # 1716s # comment 1716s # comment: Generated data ends here 1716s # Error: 1716s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1716s # glib-mkenums: /usr/bin/glib-mkenums 1716s # tmpdir: /tmp/tmptz06r61k 1716s # rspfile: False 1716s # /tmp/tmptz06r61k/tmptgll38ol.template: 1716s # /*** BEGIN file-header ***/ 1716s # file-header 1716s # filename: @filename@ 1716s # basename: @basename@ 1716s # /*** END file-header ***/ 1716s # 1716s # /*** BEGIN comment ***/ 1716s # comment 1716s # comment: @comment@ 1716s # /*** END comment ***/ 1716s # 1716s # /*** BEGIN file-tail ***/ 1716s # file-tail 1716s # filename: @filename@ 1716s # basename: @basename@ 1716s # /*** END file-tail ***/ 1716s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptz06r61k/tmptgll38ol.template'] 1716s # Return code: 0 1716s # Output: 1716s # comment 1716s # 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. 1716s # 1716s # 1716s # file-header 1716s # filename: @filename@ 1716s # basename: @basename@ 1716s # file-tail 1716s # filename: @filename@ 1716s # basename: @basename@ 1716s # 1716s # comment 1716s # comment: Generated data ends here 1716s # Error: 1716s # WARNING: @filename@ used in file-header section. 1716s # WARNING: @basename@ used in file-header section. 1716s # WARNING: @filename@ used in file-tail section. 1716s # WARNING: @basename@ used in file-tail section. 1717s # Executing: glib/mkenums.py.test 1717s ok 11 __main__.TestMkenums.test_flag_enum_annotation 1717s # glib-mkenums: /usr/bin/glib-mkenums 1717s # tmpdir: /tmp/tmpt0qocplz 1717s # rspfile: False 1717s # /tmp/tmpt0qocplz/tmp_7rjzixm.h: 1717s # typedef enum { 1717s # SOME_FLAGS_ONE = (1 << 1), 1717s # } G_GNUC_FLAG_ENUM SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpa3gkz1re.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpa3gkz1re.template', '/tmp/tmpt0qocplz/tmp_7rjzixm.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmp_7rjzixm.h 1717s # basename: tmp_7rjzixm.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_ONE 1717s # valuenick: one 1717s # valuenum: 2 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmprpy2nwmu.h: 1717s # typedef enum G_GNUC_FLAG_ENUM { 1717s # SOME_FLAGS_TWO = (1 << 2), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpik55qkwu.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpik55qkwu.template', '/tmp/tmpt0qocplz/tmprpy2nwmu.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmprpy2nwmu.h 1717s # basename: tmprpy2nwmu.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_TWO 1717s # valuenick: two 1717s # valuenum: 4 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpbg6atfrg.h: 1717s # typedef enum G_GNUC_FLAG_ENUM _SomeFlags { 1717s # SOME_FLAGS_THREE = (1 << 3), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpy6pjuex6.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpy6pjuex6.template', '/tmp/tmpt0qocplz/tmpbg6atfrg.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpbg6atfrg.h 1717s # basename: tmpbg6atfrg.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_THREE 1717s # valuenick: three 1717s # valuenum: 8 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmppv7zr9od.h: 1717s # typedef enum { 1717s # SOME_FLAGS_ONE = (1 << 1), 1717s # } __attribute__((flag_enum)) SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmplmcv3toe.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmplmcv3toe.template', '/tmp/tmpt0qocplz/tmppv7zr9od.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmppv7zr9od.h 1717s # basename: tmppv7zr9od.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_ONE 1717s # valuenick: one 1717s # valuenum: 2 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpiirkj1vc.h: 1717s # typedef enum __attribute__((flag_enum)) { 1717s # SOME_FLAGS_TWO = (1 << 2), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpqiu8e2ht.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpqiu8e2ht.template', '/tmp/tmpt0qocplz/tmpiirkj1vc.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpiirkj1vc.h 1717s # basename: tmpiirkj1vc.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_TWO 1717s # valuenick: two 1717s # valuenum: 4 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmphhog67h0.h: 1717s # typedef enum __attribute__((flag_enum)) _SomeFlags { 1717s # SOME_FLAGS_THREE = (1 << 3), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpzl_4x71k.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpzl_4x71k.template', '/tmp/tmpt0qocplz/tmphhog67h0.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmphhog67h0.h 1717s # basename: tmphhog67h0.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_THREE 1717s # valuenick: three 1717s # valuenum: 8 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmp9kefizg5.h: 1717s # typedef enum { 1717s # SOME_FLAGS_ONE = (1 << 1), 1717s # } __attribute__((__flag_enum__)) SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpthlwr8dm.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpthlwr8dm.template', '/tmp/tmpt0qocplz/tmp9kefizg5.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmp9kefizg5.h 1717s # basename: tmp9kefizg5.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_ONE 1717s # valuenick: one 1717s # valuenum: 2 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmp4a5rr85i.h: 1717s # typedef enum __attribute__((__flag_enum__)) { 1717s # SOME_FLAGS_TWO = (1 << 2), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpkuiui1au.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpkuiui1au.template', '/tmp/tmpt0qocplz/tmp4a5rr85i.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmp4a5rr85i.h 1717s # basename: tmp4a5rr85i.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_TWO 1717s # valuenick: two 1717s # valuenum: 4 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpm_pugmmc.h: 1717s # typedef enum __attribute__((__flag_enum__)) _SomeFlags { 1717s # SOME_FLAGS_THREE = (1 << 3), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmp8jizatz1.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmp8jizatz1.template', '/tmp/tmpt0qocplz/tmpm_pugmmc.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpm_pugmmc.h 1717s # basename: tmpm_pugmmc.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_THREE 1717s # valuenick: three 1717s # valuenum: 8 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpifla_v6_.h: 1717s # typedef enum { 1717s # SOME_FLAGS_ONE = (1 << 1), 1717s # } __attribute__((flag_enum,deprecated)) SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpyh2bke09.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpyh2bke09.template', '/tmp/tmpt0qocplz/tmpifla_v6_.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpifla_v6_.h 1717s # basename: tmpifla_v6_.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_ONE 1717s # valuenick: one 1717s # valuenum: 2 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpzf9_njw1.h: 1717s # typedef enum __attribute__((flag_enum,deprecated)) { 1717s # SOME_FLAGS_TWO = (1 << 2), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmplixiw4_x.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmplixiw4_x.template', '/tmp/tmpt0qocplz/tmpzf9_njw1.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpzf9_njw1.h 1717s # basename: tmpzf9_njw1.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_TWO 1717s # valuenick: two 1717s # valuenum: 4 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmp2ux2um3s.h: 1717s # typedef enum __attribute__((flag_enum,deprecated)) _SomeFlags { 1717s # SOME_FLAGS_THREE = (1 << 3), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpokyk79gm.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpokyk79gm.template', '/tmp/tmpt0qocplz/tmp2ux2um3s.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmp2ux2um3s.h 1717s # basename: tmp2ux2um3s.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_THREE 1717s # valuenick: three 1717s # valuenum: 8 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpu80lqnox.h: 1717s # typedef enum { 1717s # SOME_FLAGS_ONE = (1 << 1), 1717s # } __attribute__((deprecated,__flag_enum__)) SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmp2fx6mrxo.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmp2fx6mrxo.template', '/tmp/tmpt0qocplz/tmpu80lqnox.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpu80lqnox.h 1717s # basename: tmpu80lqnox.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_ONE 1717s # valuenick: one 1717s # valuenum: 2 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpg6y0yayi.h: 1717s # typedef enum __attribute__((deprecated,__flag_enum__)) { 1717s # SOME_FLAGS_TWO = (1 << 2), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmp4eec_t6g.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmp4eec_t6g.template', '/tmp/tmpt0qocplz/tmpg6y0yayi.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpg6y0yayi.h 1717s # basename: tmpg6y0yayi.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_TWO 1717s # valuenick: two 1717s # valuenum: 4 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmp687ubfrm.h: 1717s # typedef enum __attribute__((deprecated,__flag_enum__)) _SomeFlags { 1717s # SOME_FLAGS_THREE = (1 << 3), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpv4l5kzdo.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpv4l5kzdo.template', '/tmp/tmpt0qocplz/tmp687ubfrm.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmp687ubfrm.h 1717s # basename: tmp687ubfrm.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_THREE 1717s # valuenick: three 1717s # valuenum: 8 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmp09t9sb06.h: 1717s # typedef enum { 1717s # SOME_FLAGS_ONE = (1 << 1), 1717s # } [[gnu::flag_enum]] SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmp4d55ck5f.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmp4d55ck5f.template', '/tmp/tmpt0qocplz/tmp09t9sb06.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmp09t9sb06.h 1717s # basename: tmp09t9sb06.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_ONE 1717s # valuenick: one 1717s # valuenum: 2 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpsq_ddw39.h: 1717s # typedef enum [[gnu::flag_enum]] { 1717s # SOME_FLAGS_TWO = (1 << 2), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpbu_xxzy2.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpbu_xxzy2.template', '/tmp/tmpt0qocplz/tmpsq_ddw39.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpsq_ddw39.h 1717s # basename: tmpsq_ddw39.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_TWO 1717s # valuenick: two 1717s # valuenum: 4 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpvzmfedci.h: 1717s # typedef enum [[gnu::flag_enum]] _SomeFlags { 1717s # SOME_FLAGS_THREE = (1 << 3), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmp44myp5l8.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmp44myp5l8.template', '/tmp/tmpt0qocplz/tmpvzmfedci.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpvzmfedci.h 1717s # basename: tmpvzmfedci.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_THREE 1717s # valuenick: three 1717s # valuenum: 8 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmplkvcz5e7.h: 1717s # typedef enum { 1717s # SOME_FLAGS_ONE = (1 << 1), 1717s # } [[clang::flag_enum]] SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpdedbadvo.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpdedbadvo.template', '/tmp/tmpt0qocplz/tmplkvcz5e7.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmplkvcz5e7.h 1717s # basename: tmplkvcz5e7.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_ONE 1717s # valuenick: one 1717s # valuenum: 2 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpsrkikmf1.h: 1717s # typedef enum [[clang::flag_enum]] { 1717s # SOME_FLAGS_TWO = (1 << 2), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmprg9au7ht.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmprg9au7ht.template', '/tmp/tmpt0qocplz/tmpsrkikmf1.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpsrkikmf1.h 1717s # basename: tmpsrkikmf1.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_TWO 1717s # valuenick: two 1717s # valuenum: 4 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpzbrkaw3f.h: 1717s # typedef enum [[clang::flag_enum]] _SomeFlags { 1717s # SOME_FLAGS_THREE = (1 << 3), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpxda4q223.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpxda4q223.template', '/tmp/tmpt0qocplz/tmpzbrkaw3f.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpzbrkaw3f.h 1717s # basename: tmpzbrkaw3f.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_THREE 1717s # valuenick: three 1717s # valuenum: 8 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpi_hify30.h: 1717s # typedef enum { 1717s # SOME_FLAGS_ONE = (1 << 1), 1717s # } [[nodiscard,gnu::flag_enum]] SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpsvznnpe_.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpsvznnpe_.template', '/tmp/tmpt0qocplz/tmpi_hify30.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpi_hify30.h 1717s # basename: tmpi_hify30.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_ONE 1717s # valuenick: one 1717s # valuenum: 2 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpn9_gapbs.h: 1717s # typedef enum [[nodiscard,gnu::flag_enum]] { 1717s # SOME_FLAGS_TWO = (1 << 2), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpll7dayvs.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpll7dayvs.template', '/tmp/tmpt0qocplz/tmpn9_gapbs.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpn9_gapbs.h 1717s # basename: tmpn9_gapbs.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_TWO 1717s # valuenick: two 1717s # valuenum: 4 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmp49r0qspi.h: 1717s # typedef enum [[nodiscard,gnu::flag_enum]] _SomeFlags { 1717s # SOME_FLAGS_THREE = (1 << 3), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpb7texqlm.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpb7texqlm.template', '/tmp/tmpt0qocplz/tmp49r0qspi.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmp49r0qspi.h 1717s # basename: tmp49r0qspi.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_THREE 1717s # valuenick: three 1717s # valuenum: 8 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpc8f1p1zg.h: 1717s # typedef enum { 1717s # SOME_FLAGS_ONE = (1 << 1), 1717s # } [[clang::flag_enum,nodiscard]] SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpf58zzng4.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpf58zzng4.template', '/tmp/tmpt0qocplz/tmpc8f1p1zg.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpc8f1p1zg.h 1717s # basename: tmpc8f1p1zg.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_ONE 1717s # valuenick: one 1717s # valuenum: 2 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpf6lgc2fx.h: 1717s # typedef enum [[clang::flag_enum,nodiscard]] { 1717s # SOME_FLAGS_TWO = (1 << 2), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpl2qbgpbe.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpl2qbgpbe.template', '/tmp/tmpt0qocplz/tmpf6lgc2fx.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpf6lgc2fx.h 1717s # basename: tmpf6lgc2fx.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_TWO 1717s # valuenick: two 1717s # valuenum: 4 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # 1717s # /tmp/tmpt0qocplz/tmpm4te493s.h: 1717s # typedef enum [[clang::flag_enum,nodiscard]] _SomeFlags { 1717s # SOME_FLAGS_THREE = (1 << 3), 1717s # } SomeFlags; 1717s # 1717s # /tmp/tmpt0qocplz/tmpr2js_60u.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt0qocplz/tmpr2js_60u.template', '/tmp/tmpt0qocplz/tmpm4te493s.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpt0qocplz/tmpm4te493s.h 1717s # basename: tmpm4te493s.h 1717s # enumeration-production 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: SOME_FLAGS_THREE 1717s # valuenick: three 1717s # valuenum: 8 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: SomeFlags 1717s # enum_name: some_flags 1717s # ENUMNAME: SOME_FLAGS 1717s # ENUMSHORT: FLAGS 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s ok 12 __main__.TestMkenums.test_help 1717s # glib-mkenums: /usr/bin/glib-mkenums 1717s # tmpdir: /tmp/tmpks7jots9 1717s # rspfile: False 1717s # Running: ['/usr/bin/glib-mkenums', '--help'] 1717s # Return code: 0 1717s # Output: 1717s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1717s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1717s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1717s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1717s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1717s # [--output OUTPUT] [--version] 1717s # [args ...] 1717s # 1717s # positional arguments: 1717s # args One or more input files, or a single argument 1717s # @rspfile_path pointing to a file that contains the 1717s # actual arguments 1717s # 1717s # options: 1717s # -h, --help show this help message and exit 1717s # --identifier-prefix IDPREFIX 1717s # Identifier prefix 1717s # --symbol-prefix SYMPREFIX 1717s # Symbol prefix 1717s # --fhead FHEAD Output file header 1717s # --ftail FTAIL Output file footer 1717s # --fprod FPROD Put out TEXT every time a new input file is being 1717s # processed. 1717s # --eprod EPROD Per enum text, produced prior to value iterations 1717s # --vhead VHEAD Value header, produced before iterating over enum 1717s # values 1717s # --vprod VPROD Value text, produced for each enum value. 1717s # --vtail VTAIL Value tail, produced after iterating over enum values 1717s # --comments COMMENT_TMPL 1717s # Comment structure 1717s # --template TEMPLATE Template file 1717s # --output OUTPUT 1717s # --version, -v Print version information 1717s # 1717s # Production text substitutions: 1717s # @EnumName@ PrefixTheXEnum 1717s # @enum_name@ prefix_the_xenum 1717s # @ENUMNAME@ PREFIX_THE_XENUM 1717s # @ENUMSHORT@ THE_XENUM 1717s # @ENUMPREFIX@ PREFIX 1717s # @enumsince@ the user-provided since value given 1717s # @VALUENAME@ PREFIX_THE_XVALUE 1717s # @valuenick@ the-xvalue 1717s # @valuenum@ the integer value (limited support, Since: 2.26) 1717s # @type@ either enum or flags 1717s # @Type@ either Enum or Flags 1717s # @TYPE@ either ENUM or FLAGS 1717s # @filename@ name of current input file 1717s # @basename@ base name of the current input file (Since: 2.22) 1717s # Error: 1717s ok 13 __main__.TestMkenums.test_no_args 1717s # glib-mkenums: /usr/bin/glib-mkenums 1717s # tmpdir: /tmp/tmpo70ne1b0 1717s # rspfile: False 1717s # Running: ['/usr/bin/glib-mkenums'] 1717s # Return code: 0 1717s # Output: 1717s # /* 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. */ 1717s # 1717s # 1717s # /* Generated data ends here */ 1717s # Error: 1717s ok 14 __main__.TestMkenums.test_no_headers 1717s # glib-mkenums: /usr/bin/glib-mkenums 1717s # tmpdir: /tmp/tmpdac22il4 1717s # rspfile: False 1717s # /tmp/tmpdac22il4/tmph73bhbv_.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdac22il4/tmph73bhbv_.template'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s ok 15 __main__.TestMkenums.test_no_nick 1717s # glib-mkenums: /usr/bin/glib-mkenums 1717s # tmpdir: /tmp/tmp1v6mh05u 1717s # rspfile: False 1717s # /tmp/tmp1v6mh05u/tmp47_sacua.h: 1717s # typedef enum { 1717s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1717s # } GeglSamplerType; 1717s # 1717s # /tmp/tmp1v6mh05u/tmpjgixszio.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1v6mh05u/tmpjgixszio.template', '/tmp/tmp1v6mh05u/tmp47_sacua.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmp1v6mh05u/tmp47_sacua.h 1717s # basename: tmp47_sacua.h 1717s # enumeration-production 1717s # EnumName: GeglSamplerType 1717s # enum_name: gegl_sampler_type 1717s # ENUMNAME: GEGL_SAMPLER_TYPE 1717s # ENUMSHORT: SAMPLER_TYPE 1717s # ENUMPREFIX: GEGL 1717s # enumsince: 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # value-header 1717s # EnumName: GeglSamplerType 1717s # enum_name: gegl_sampler_type 1717s # ENUMNAME: GEGL_SAMPLER_TYPE 1717s # ENUMSHORT: SAMPLER_TYPE 1717s # ENUMPREFIX: GEGL 1717s # enumsince: 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # value-production 1717s # VALUENAME: GEGL_SAMPLER_NEAREST 1717s # valuenick: nearest 1717s # valuenum: 0 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # value-tail 1717s # EnumName: GeglSamplerType 1717s # enum_name: gegl_sampler_type 1717s # ENUMNAME: GEGL_SAMPLER_TYPE 1717s # ENUMSHORT: SAMPLER_TYPE 1717s # ENUMPREFIX: GEGL 1717s # enumsince: 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s ok 16 __main__.TestMkenums.test_non_utf8_encoding 1717s # glib-mkenums: /usr/bin/glib-mkenums 1717s # tmpdir: /tmp/tmphks3qhtc 1717s # rspfile: False 1717s # /tmp/tmphks3qhtc/tmpst5f63q6.h: 1717s # /* Copyright © La Peña */ 1717s # typedef enum { 1717s # ENUM_VALUE 1717s # } SomeEnumIdentifier; 1717s # 1717s # /tmp/tmphks3qhtc/tmp_fhh8vp0.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphks3qhtc/tmp_fhh8vp0.template', '/tmp/tmphks3qhtc/tmpst5f63q6.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmphks3qhtc/tmpst5f63q6.h 1717s # basename: tmpst5f63q6.h 1717s # enumeration-production 1717s # EnumName: SomeEnumIdentifier 1717s # enum_name: some_enum_identifier 1717s # ENUMNAME: SOME_ENUM_IDENTIFIER 1717s # ENUMSHORT: ENUM_IDENTIFIER 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # value-header 1717s # EnumName: SomeEnumIdentifier 1717s # enum_name: some_enum_identifier 1717s # ENUMNAME: SOME_ENUM_IDENTIFIER 1717s # ENUMSHORT: ENUM_IDENTIFIER 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # value-production 1717s # VALUENAME: ENUM_VALUE 1717s # valuenick: value 1717s # valuenum: 0 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # value-tail 1717s # EnumName: SomeEnumIdentifier 1717s # enum_name: some_enum_identifier 1717s # ENUMNAME: SOME_ENUM_IDENTIFIER 1717s # ENUMSHORT: ENUM_IDENTIFIER 1717s # ENUMPREFIX: SOME 1717s # enumsince: 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1717s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1717s ok 17 __main__.TestMkenums.test_reproducible 1717s # glib-mkenums: /usr/bin/glib-mkenums 1717s # tmpdir: /tmp/tmpg00r98hi 1717s # rspfile: False 1717s # /tmp/tmpg00r98hi/tmpxuyneqg3.template: template 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpg00r98hi/tmpxuyneqg3.template', '/tmp/tmpg00r98hi/tmpk54uwf171.h', '/tmp/tmpg00r98hi/tmpjyxrsjyv2.h'] 1717s # Return code: 0 1717s # Output: 1717s # /* 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. */ 1717s # 1717s # 1717s # /* Generated data ends here */ 1717s # Error: 1717s # 1717s # /tmp/tmpg00r98hi/tmpfmg2dct2.template: template 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpg00r98hi/tmpfmg2dct2.template', '/tmp/tmpg00r98hi/tmpjyxrsjyv2.h', '/tmp/tmpg00r98hi/tmpk54uwf171.h'] 1717s # Return code: 0 1717s # Output: 1717s # /* 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. */ 1717s # 1717s # 1717s # /* Generated data ends here */ 1717s # Error: 1717s ok 18 __main__.TestMkenums.test_since 1717s # glib-mkenums: /usr/bin/glib-mkenums 1717s # tmpdir: /tmp/tmppie0yrhv 1717s # rspfile: False 1717s # /tmp/tmppie0yrhv/tmp9p5pk9ek.h: 1717s # typedef enum { /*< since=1.0 >*/ 1717s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1717s # } QmiWmsMessageProtocol; 1717s # 1717s # /tmp/tmppie0yrhv/tmpx1_mceml.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppie0yrhv/tmpx1_mceml.template', '/tmp/tmppie0yrhv/tmp9p5pk9ek.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmppie0yrhv/tmp9p5pk9ek.h 1717s # basename: tmp9p5pk9ek.h 1717s # enumeration-production 1717s # EnumName: QmiWmsMessageProtocol 1717s # enum_name: qmi_wms_message_protocol 1717s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1717s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1717s # ENUMPREFIX: QMI 1717s # enumsince: 1.0 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # value-header 1717s # EnumName: QmiWmsMessageProtocol 1717s # enum_name: qmi_wms_message_protocol 1717s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1717s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1717s # ENUMPREFIX: QMI 1717s # enumsince: 1.0 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # value-production 1717s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1717s # valuenick: cdma 1717s # valuenum: 0 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # value-tail 1717s # EnumName: QmiWmsMessageProtocol 1717s # enum_name: qmi_wms_message_protocol 1717s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1717s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1717s # ENUMPREFIX: QMI 1717s # enumsince: 1.0 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s ok 19 __main__.TestMkenums.test_with_double_quotes 1717s # glib-mkenums: /usr/bin/glib-mkenums 1717s # tmpdir: /tmp/tmpmat8v18a 1717s # rspfile: False 1717s # /tmp/tmpmat8v18a/tmplgtcuki3.h: 1717s # typedef enum { 1717s # FOO_VALUE /*< nick="eek, a comma" >*/ 1717s # } Foo; 1717s # 1717s # /tmp/tmpmat8v18a/tmpc1r7rz3h.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmat8v18a/tmpc1r7rz3h.template', '/tmp/tmpmat8v18a/tmplgtcuki3.h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpmat8v18a/tmplgtcuki3.h 1717s # basename: tmplgtcuki3.h 1717s # enumeration-production 1717s # EnumName: Foo 1717s # enum_name: foo_ 1717s # ENUMNAME: FOO_ 1717s # ENUMSHORT: 1717s # ENUMPREFIX: FOO 1717s # enumsince: 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # value-header 1717s # EnumName: Foo 1717s # enum_name: foo_ 1717s # ENUMNAME: FOO_ 1717s # ENUMSHORT: 1717s # ENUMPREFIX: FOO 1717s # enumsince: 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # value-production 1717s # VALUENAME: FOO_VALUE 1717s # valuenick: eek, a comma 1717s # valuenum: 0 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # value-tail 1717s # EnumName: Foo 1717s # enum_name: foo_ 1717s # ENUMNAME: FOO_ 1717s # ENUMSHORT: 1717s # ENUMPREFIX: FOO 1717s # enumsince: 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s ok 20 __main__.TestRspMkenums.test_available_in 1717s # glib-mkenums: /usr/bin/glib-mkenums 1717s # tmpdir: /tmp/tmprjsqiydk 1717s # rspfile: True 1717s # /tmp/tmprjsqiydk/tmpv2ybnbaz.h: 1717s # typedef enum { 1717s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1717s # } GDBusServerFlags; 1717s # 1717s # /tmp/tmprjsqiydk/tmppxfu_7o7.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Response file contains: --template /tmp/tmprjsqiydk/tmppxfu_7o7.template /tmp/tmprjsqiydk/tmpv2ybnbaz.h 1717s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprjsqiydk/tmpli9tcep5'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmprjsqiydk/tmpv2ybnbaz.h 1717s # basename: tmpv2ybnbaz.h 1717s # enumeration-production 1717s # EnumName: GDBusServerFlags 1717s # enum_name: g_dbus_server_flags 1717s # ENUMNAME: G_DBUS_SERVER_FLAGS 1717s # ENUMSHORT: DBUS_SERVER_FLAGS 1717s # ENUMPREFIX: G 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: GDBusServerFlags 1717s # enum_name: g_dbus_server_flags 1717s # ENUMNAME: G_DBUS_SERVER_FLAGS 1717s # ENUMSHORT: DBUS_SERVER_FLAGS 1717s # ENUMPREFIX: G 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1717s # valuenick: user 1717s # valuenum: 4 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: GDBusServerFlags 1717s # enum_name: g_dbus_server_flags 1717s # ENUMNAME: G_DBUS_SERVER_FLAGS 1717s # ENUMSHORT: DBUS_SERVER_FLAGS 1717s # ENUMPREFIX: G 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s ok 21 __main__.TestRspMkenums.test_comma_in_enum_value 1717s # glib-mkenums: /usr/bin/glib-mkenums 1717s # tmpdir: /tmp/tmpvp803wk3 1717s # rspfile: True 1717s # /tmp/tmpvp803wk3/tmprpwzg9s9.h: 1717s # typedef enum { 1717s # ENUM_VALUE_WITH_COMMA = ',', 1717s # } TestCommaEnum; 1717s # 1717s # /tmp/tmpvp803wk3/tmp39sl9oaf.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Response file contains: --template /tmp/tmpvp803wk3/tmp39sl9oaf.template /tmp/tmpvp803wk3/tmprpwzg9s9.h 1717s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvp803wk3/tmphp6hi51h'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpvp803wk3/tmprpwzg9s9.h 1717s # basename: tmprpwzg9s9.h 1717s # enumeration-production 1717s # EnumName: TestCommaEnum 1717s # enum_name: test_comma_enum 1717s # ENUMNAME: TEST_COMMA_ENUM 1717s # ENUMSHORT: COMMA_ENUM 1717s # ENUMPREFIX: TEST 1717s # enumsince: 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # value-header 1717s # EnumName: TestCommaEnum 1717s # enum_name: test_comma_enum 1717s # ENUMNAME: TEST_COMMA_ENUM 1717s # ENUMSHORT: COMMA_ENUM 1717s # ENUMPREFIX: TEST 1717s # enumsince: 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # value-production 1717s # VALUENAME: ENUM_VALUE_WITH_COMMA 1717s # valuenick: comma 1717s # valuenum: 44 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # value-tail 1717s # EnumName: TestCommaEnum 1717s # enum_name: test_comma_enum 1717s # ENUMNAME: TEST_COMMA_ENUM 1717s # ENUMSHORT: COMMA_ENUM 1717s # ENUMPREFIX: TEST 1717s # enumsince: 1717s # type: enum 1717s # Type: Enum 1717s # TYPE: ENUM 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s ok 22 __main__.TestRspMkenums.test_deprecated_in 1717s # glib-mkenums: /usr/bin/glib-mkenums 1717s # tmpdir: /tmp/tmpypgnfjbx 1717s # rspfile: True 1717s # /tmp/tmpypgnfjbx/tmpt_tsjlq1.h: 1717s # typedef enum { 1717s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1717s # } GDBusServerFlags; 1717s # 1717s # /tmp/tmpypgnfjbx/tmpegnset22.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Response file contains: --template /tmp/tmpypgnfjbx/tmpegnset22.template /tmp/tmpypgnfjbx/tmpt_tsjlq1.h 1717s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpypgnfjbx/tmpw3lcxqmv'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpypgnfjbx/tmpt_tsjlq1.h 1717s # basename: tmpt_tsjlq1.h 1717s # enumeration-production 1717s # EnumName: GDBusServerFlags 1717s # enum_name: g_dbus_server_flags 1717s # ENUMNAME: G_DBUS_SERVER_FLAGS 1717s # ENUMSHORT: DBUS_SERVER_FLAGS 1717s # ENUMPREFIX: G 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: GDBusServerFlags 1717s # enum_name: g_dbus_server_flags 1717s # ENUMNAME: G_DBUS_SERVER_FLAGS 1717s # ENUMSHORT: DBUS_SERVER_FLAGS 1717s # ENUMPREFIX: G 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1717s # valuenick: user 1717s # valuenum: 4 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: GDBusServerFlags 1717s # enum_name: g_dbus_server_flags 1717s # ENUMNAME: G_DBUS_SERVER_FLAGS 1717s # ENUMSHORT: DBUS_SERVER_FLAGS 1717s # ENUMPREFIX: G 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s ok 23 __main__.TestRspMkenums.test_deprecated_in_for 1717s # glib-mkenums: /usr/bin/glib-mkenums 1717s # tmpdir: /tmp/tmpcm2hexbr 1717s # rspfile: True 1717s # /tmp/tmpcm2hexbr/tmpvjuibkdd.h: 1717s # typedef enum { 1717s # 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) 1717s # } GDBusServerFlags; 1717s # 1717s # /tmp/tmpcm2hexbr/tmpg3g5kpjp.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Response file contains: --template /tmp/tmpcm2hexbr/tmpg3g5kpjp.template /tmp/tmpcm2hexbr/tmpvjuibkdd.h 1717s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpcm2hexbr/tmpqe8wme_9'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-production 1717s # filename: /tmp/tmpcm2hexbr/tmpvjuibkdd.h 1717s # basename: tmpvjuibkdd.h 1717s # enumeration-production 1717s # EnumName: GDBusServerFlags 1717s # enum_name: g_dbus_server_flags 1717s # ENUMNAME: G_DBUS_SERVER_FLAGS 1717s # ENUMSHORT: DBUS_SERVER_FLAGS 1717s # ENUMPREFIX: G 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-header 1717s # EnumName: GDBusServerFlags 1717s # enum_name: g_dbus_server_flags 1717s # ENUMNAME: G_DBUS_SERVER_FLAGS 1717s # ENUMSHORT: DBUS_SERVER_FLAGS 1717s # ENUMPREFIX: G 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-production 1717s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1717s # valuenick: user 1717s # valuenum: 4 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # value-tail 1717s # EnumName: GDBusServerFlags 1717s # enum_name: g_dbus_server_flags 1717s # ENUMNAME: G_DBUS_SERVER_FLAGS 1717s # ENUMSHORT: DBUS_SERVER_FLAGS 1717s # ENUMPREFIX: G 1717s # enumsince: 1717s # type: flags 1717s # Type: Flags 1717s # TYPE: FLAGS 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1717s ok 24 __main__.TestRspMkenums.test_empty_header 1717s # glib-mkenums: /usr/bin/glib-mkenums 1717s # tmpdir: /tmp/tmpik0koc12 1717s # rspfile: True 1717s # /tmp/tmpik0koc12/tmpd1etedpm.h: 1717s # /tmp/tmpik0koc12/tmphsh36um2.template: 1717s # /*** BEGIN file-header ***/ 1717s # file-header 1717s # /*** END file-header ***/ 1717s # 1717s # /*** BEGIN file-production ***/ 1717s # file-production 1717s # filename: @filename@ 1717s # basename: @basename@ 1717s # /*** END file-production ***/ 1717s # 1717s # /*** BEGIN enumeration-production ***/ 1717s # enumeration-production 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END enumeration-production ***/ 1717s # 1717s # /*** BEGIN value-header ***/ 1717s # value-header 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-header ***/ 1717s # 1717s # /*** BEGIN value-production ***/ 1717s # value-production 1717s # VALUENAME: @VALUENAME@ 1717s # valuenick: @valuenick@ 1717s # valuenum: @valuenum@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-production ***/ 1717s # 1717s # /*** BEGIN value-tail ***/ 1717s # value-tail 1717s # EnumName: @EnumName@ 1717s # enum_name: @enum_name@ 1717s # ENUMNAME: @ENUMNAME@ 1717s # ENUMSHORT: @ENUMSHORT@ 1717s # ENUMPREFIX: @ENUMPREFIX@ 1717s # enumsince: @enumsince@ 1717s # type: @type@ 1717s # Type: @Type@ 1717s # TYPE: @TYPE@ 1717s # /*** END value-tail ***/ 1717s # 1717s # /*** BEGIN comment ***/ 1717s # comment 1717s # comment: @comment@ 1717s # /*** END comment ***/ 1717s # 1717s # /*** BEGIN file-tail ***/ 1717s # file-tail 1717s # /*** END file-tail ***/ 1717s # 1717s # Response file contains: --template /tmp/tmpik0koc12/tmphsh36um2.template /tmp/tmpik0koc12/tmpd1etedpm.h 1717s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpik0koc12/tmpgnlam6hc'] 1717s # Return code: 0 1717s # Output: 1717s # comment 1717s # 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. 1717s # 1717s # 1717s # file-header 1717s # file-tail 1717s # 1717s # comment 1717s # comment: Generated data ends here 1717s # Error: 1718s ok 25 __main__.TestRspMkenums.test_empty_template 1718s # glib-mkenums: /usr/bin/glib-mkenums 1718s # tmpdir: /tmp/tmpgjfebcs9 1718s # rspfile: True 1718s # /tmp/tmpgjfebcs9/tmpqus0h74y.template: 1718s # Response file contains: --template /tmp/tmpgjfebcs9/tmpqus0h74y.template 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgjfebcs9/tmp39ncy5pw'] 1718s # Return code: 0 1718s # Output: 1718s # /* 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. */ 1718s # 1718s # 1718s # /* Generated data ends here */ 1718s # Error: 1718s ok 26 __main__.TestRspMkenums.test_enum_name 1718s # glib-mkenums: /usr/bin/glib-mkenums 1718s # tmpdir: /tmp/tmpy3i6u0bc 1718s # rspfile: True 1718s # /tmp/tmpy3i6u0bc/tmpkdwkhob9.h: 1718s # typedef enum _SomeEnumIdentifier { 1718s # ENUM_VALUE 1718s # } SomeEnumIdentifier; 1718s # 1718s # /tmp/tmpy3i6u0bc/tmpk8fjo12n.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpy3i6u0bc/tmpk8fjo12n.template /tmp/tmpy3i6u0bc/tmpkdwkhob9.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpy3i6u0bc/tmp44gpzas5'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpy3i6u0bc/tmpkdwkhob9.h 1718s # basename: tmpkdwkhob9.h 1718s # enumeration-production 1718s # EnumName: SomeEnumIdentifier 1718s # enum_name: some_enum_identifier 1718s # ENUMNAME: SOME_ENUM_IDENTIFIER 1718s # ENUMSHORT: ENUM_IDENTIFIER 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-header 1718s # EnumName: SomeEnumIdentifier 1718s # enum_name: some_enum_identifier 1718s # ENUMNAME: SOME_ENUM_IDENTIFIER 1718s # ENUMSHORT: ENUM_IDENTIFIER 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-production 1718s # VALUENAME: ENUM_VALUE 1718s # valuenick: value 1718s # valuenum: 0 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-tail 1718s # EnumName: SomeEnumIdentifier 1718s # enum_name: some_enum_identifier 1718s # ENUMNAME: SOME_ENUM_IDENTIFIER 1718s # ENUMSHORT: ENUM_IDENTIFIER 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s ok 27 __main__.TestRspMkenums.test_enum_private_public 1718s # glib-mkenums: /usr/bin/glib-mkenums 1718s # tmpdir: /tmp/tmps_kw5jwn 1718s # rspfile: True 1718s # /tmp/tmps_kw5jwn/tmpxxwxi1al.h: 1718s # typedef enum { 1718s # ENUM_VALUE_PUBLIC1, 1718s # /*< private >*/ 1718s # ENUM_VALUE_PRIVATE, 1718s # } SomeEnumA 1718s # 1718s # /tmp/tmps_kw5jwn/tmpm120055j.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmps_kw5jwn/tmpm120055j.template /tmp/tmps_kw5jwn/tmpxxwxi1al.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmps_kw5jwn/tmpazpp27fl'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmps_kw5jwn/tmpxxwxi1al.h 1718s # basename: tmpxxwxi1al.h 1718s # enumeration-production 1718s # EnumName: SomeEnumA 1718s # enum_name: some_enum_a 1718s # ENUMNAME: SOME_ENUM_A 1718s # ENUMSHORT: ENUM_A 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-header 1718s # EnumName: SomeEnumA 1718s # enum_name: some_enum_a 1718s # ENUMNAME: SOME_ENUM_A 1718s # ENUMSHORT: ENUM_A 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-production 1718s # VALUENAME: ENUM_VALUE_PUBLIC1 1718s # valuenick: public1 1718s # valuenum: 0 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-tail 1718s # EnumName: SomeEnumA 1718s # enum_name: some_enum_a 1718s # ENUMNAME: SOME_ENUM_A 1718s # ENUMSHORT: ENUM_A 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmps_kw5jwn/tmpxxue_wn_.h: 1718s # typedef enum { 1718s # /*< private >*/ 1718s # ENUM_VALUE_PRIVATE, 1718s # /*< public >*/ 1718s # ENUM_VALUE_PUBLIC2, 1718s # } SomeEnumB; 1718s # 1718s # /tmp/tmps_kw5jwn/tmp2suybkuy.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmps_kw5jwn/tmp2suybkuy.template /tmp/tmps_kw5jwn/tmpxxue_wn_.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmps_kw5jwn/tmpg8256ba_'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmps_kw5jwn/tmpxxue_wn_.h 1718s # basename: tmpxxue_wn_.h 1718s # enumeration-production 1718s # EnumName: SomeEnumB 1718s # enum_name: some_enum_b 1718s # ENUMNAME: SOME_ENUM_B 1718s # ENUMSHORT: ENUM_B 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-header 1718s # EnumName: SomeEnumB 1718s # enum_name: some_enum_b 1718s # ENUMNAME: SOME_ENUM_B 1718s # ENUMSHORT: ENUM_B 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-production 1718s # VALUENAME: ENUM_VALUE_PUBLIC2 1718s # valuenick: public2 1718s # valuenum: 1 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-tail 1718s # EnumName: SomeEnumB 1718s # enum_name: some_enum_b 1718s # ENUMNAME: SOME_ENUM_B 1718s # ENUMSHORT: ENUM_B 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s ok 28 __main__.TestRspMkenums.test_enum_symbolic_expression 1718s # glib-mkenums: /usr/bin/glib-mkenums 1718s # tmpdir: /tmp/tmpe6p60frr 1718s # rspfile: True 1718s # /tmp/tmpe6p60frr/tmpw8zjfjz6.h: 1718s # typedef enum { 1718s # /*< private >*/ 1718s # ENUM_VALUE_PRIVATE = 5, 1718s # /*< public >*/ 1718s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1718s # } TestSymbolicEnum; 1718s # 1718s # /tmp/tmpe6p60frr/tmpvfiucwbx.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpe6p60frr/tmpvfiucwbx.template /tmp/tmpe6p60frr/tmpw8zjfjz6.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpe6p60frr/tmphdvnngix'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpe6p60frr/tmpw8zjfjz6.h 1718s # basename: tmpw8zjfjz6.h 1718s # enumeration-production 1718s # EnumName: TestSymbolicEnum 1718s # enum_name: test_symbolic_enum 1718s # ENUMNAME: TEST_SYMBOLIC_ENUM 1718s # ENUMSHORT: SYMBOLIC_ENUM 1718s # ENUMPREFIX: TEST 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-header 1718s # EnumName: TestSymbolicEnum 1718s # enum_name: test_symbolic_enum 1718s # ENUMNAME: TEST_SYMBOLIC_ENUM 1718s # ENUMSHORT: SYMBOLIC_ENUM 1718s # ENUMPREFIX: TEST 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-production 1718s # VALUENAME: ENUM_VALUE_PUBLIC 1718s # valuenick: public 1718s # valuenum: 7 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-tail 1718s # EnumName: TestSymbolicEnum 1718s # enum_name: test_symbolic_enum 1718s # ENUMNAME: TEST_SYMBOLIC_ENUM 1718s # ENUMSHORT: SYMBOLIC_ENUM 1718s # ENUMPREFIX: TEST 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s ok 29 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1718s # glib-mkenums: /usr/bin/glib-mkenums 1718s # tmpdir: /tmp/tmpjcm2oua6 1718s # rspfile: True 1718s # /tmp/tmpjcm2oua6/tmpuan_o6q2.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-tail ***/ 1718s # Response file contains: --template /tmp/tmpjcm2oua6/tmpuan_o6q2.template 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjcm2oua6/tmpx4t58hio'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # file-tail 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # WARNING: @filename@ used in file-header section. 1718s # WARNING: @basename@ used in file-header section. 1718s # WARNING: @filename@ used in file-tail section. 1718s # WARNING: @basename@ used in file-tail section. 1718s ok 30 __main__.TestRspMkenums.test_flag_enum_annotation 1718s # glib-mkenums: /usr/bin/glib-mkenums 1718s # tmpdir: /tmp/tmpretyw34s 1718s # rspfile: True 1718s # /tmp/tmpretyw34s/tmpqgxw3zl2.h: 1718s # typedef enum { 1718s # SOME_FLAGS_ONE = (1 << 1), 1718s # } G_GNUC_FLAG_ENUM SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpsz92l5dj.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpsz92l5dj.template /tmp/tmpretyw34s/tmpqgxw3zl2.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpe9b2vkyl'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmpqgxw3zl2.h 1718s # basename: tmpqgxw3zl2.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_ONE 1718s # valuenick: one 1718s # valuenum: 2 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmp0z_rg6x0.h: 1718s # typedef enum G_GNUC_FLAG_ENUM { 1718s # SOME_FLAGS_TWO = (1 << 2), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpnj5jeuq8.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpnj5jeuq8.template /tmp/tmpretyw34s/tmp0z_rg6x0.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmps0tcp8mx'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmp0z_rg6x0.h 1718s # basename: tmp0z_rg6x0.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_TWO 1718s # valuenick: two 1718s # valuenum: 4 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmpo_7poaeo.h: 1718s # typedef enum G_GNUC_FLAG_ENUM _SomeFlags { 1718s # SOME_FLAGS_THREE = (1 << 3), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmppftvutny.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmppftvutny.template /tmp/tmpretyw34s/tmpo_7poaeo.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpsq3hlcfn'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmpo_7poaeo.h 1718s # basename: tmpo_7poaeo.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_THREE 1718s # valuenick: three 1718s # valuenum: 8 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmp0bkuijl0.h: 1718s # typedef enum { 1718s # SOME_FLAGS_ONE = (1 << 1), 1718s # } __attribute__((flag_enum)) SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpn7iy93n3.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpn7iy93n3.template /tmp/tmpretyw34s/tmp0bkuijl0.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpr4llq7t_'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmp0bkuijl0.h 1718s # basename: tmp0bkuijl0.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_ONE 1718s # valuenick: one 1718s # valuenum: 2 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmp95w9qn8a.h: 1718s # typedef enum __attribute__((flag_enum)) { 1718s # SOME_FLAGS_TWO = (1 << 2), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpxg0rxsxj.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpxg0rxsxj.template /tmp/tmpretyw34s/tmp95w9qn8a.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpswjnqcub'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmp95w9qn8a.h 1718s # basename: tmp95w9qn8a.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_TWO 1718s # valuenick: two 1718s # valuenum: 4 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmpf2t7ir6n.h: 1718s # typedef enum __attribute__((flag_enum)) _SomeFlags { 1718s # SOME_FLAGS_THREE = (1 << 3), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpzs8xd9vy.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpzs8xd9vy.template /tmp/tmpretyw34s/tmpf2t7ir6n.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmp2q061qjb'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmpf2t7ir6n.h 1718s # basename: tmpf2t7ir6n.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_THREE 1718s # valuenick: three 1718s # valuenum: 8 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmp1icl9wx6.h: 1718s # typedef enum { 1718s # SOME_FLAGS_ONE = (1 << 1), 1718s # } __attribute__((__flag_enum__)) SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpmfqv08t5.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpmfqv08t5.template /tmp/tmpretyw34s/tmp1icl9wx6.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpr8ht6ycb'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmp1icl9wx6.h 1718s # basename: tmp1icl9wx6.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_ONE 1718s # valuenick: one 1718s # valuenum: 2 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmprjz_4u29.h: 1718s # typedef enum __attribute__((__flag_enum__)) { 1718s # SOME_FLAGS_TWO = (1 << 2), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpwtobmtxw.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpwtobmtxw.template /tmp/tmpretyw34s/tmprjz_4u29.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpdb6pzt7o'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmprjz_4u29.h 1718s # basename: tmprjz_4u29.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_TWO 1718s # valuenick: two 1718s # valuenum: 4 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmp26gddma4.h: 1718s # typedef enum __attribute__((__flag_enum__)) _SomeFlags { 1718s # SOME_FLAGS_THREE = (1 << 3), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpzw801gox.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpzw801gox.template /tmp/tmpretyw34s/tmp26gddma4.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpmt1ihmg4'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmp26gddma4.h 1718s # basename: tmp26gddma4.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_THREE 1718s # valuenick: three 1718s # valuenum: 8 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmp6ndjqsz4.h: 1718s # typedef enum { 1718s # SOME_FLAGS_ONE = (1 << 1), 1718s # } __attribute__((flag_enum,deprecated)) SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmphxhe0p6v.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmphxhe0p6v.template /tmp/tmpretyw34s/tmp6ndjqsz4.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpt90tyd1m'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmp6ndjqsz4.h 1718s # basename: tmp6ndjqsz4.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_ONE 1718s # valuenick: one 1718s # valuenum: 2 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmp7rc1bzhf.h: 1718s # typedef enum __attribute__((flag_enum,deprecated)) { 1718s # SOME_FLAGS_TWO = (1 << 2), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmp7mmbft5g.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmp7mmbft5g.template /tmp/tmpretyw34s/tmp7rc1bzhf.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpw2w8t1bs'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmp7rc1bzhf.h 1718s # basename: tmp7rc1bzhf.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_TWO 1718s # valuenick: two 1718s # valuenum: 4 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmpxoxctyhx.h: 1718s # typedef enum __attribute__((flag_enum,deprecated)) _SomeFlags { 1718s # SOME_FLAGS_THREE = (1 << 3), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpbxjo2i19.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpbxjo2i19.template /tmp/tmpretyw34s/tmpxoxctyhx.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmp5_n7jmp6'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmpxoxctyhx.h 1718s # basename: tmpxoxctyhx.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_THREE 1718s # valuenick: three 1718s # valuenum: 8 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmpnnjq7nox.h: 1718s # typedef enum { 1718s # SOME_FLAGS_ONE = (1 << 1), 1718s # } __attribute__((deprecated,__flag_enum__)) SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpwc0rxqjt.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpwc0rxqjt.template /tmp/tmpretyw34s/tmpnnjq7nox.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmp4z9om0f4'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmpnnjq7nox.h 1718s # basename: tmpnnjq7nox.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_ONE 1718s # valuenick: one 1718s # valuenum: 2 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmpyjhrsvl_.h: 1718s # typedef enum __attribute__((deprecated,__flag_enum__)) { 1718s # SOME_FLAGS_TWO = (1 << 2), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmptbxrs_n1.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmptbxrs_n1.template /tmp/tmpretyw34s/tmpyjhrsvl_.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmp2ju3xjzn'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmpyjhrsvl_.h 1718s # basename: tmpyjhrsvl_.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_TWO 1718s # valuenick: two 1718s # valuenum: 4 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmpcby48ibc.h: 1718s # typedef enum __attribute__((deprecated,__flag_enum__)) _SomeFlags { 1718s # SOME_FLAGS_THREE = (1 << 3), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpeoi1i62y.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpeoi1i62y.template /tmp/tmpretyw34s/tmpcby48ibc.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpqp97doso'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmpcby48ibc.h 1718s # basename: tmpcby48ibc.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_THREE 1718s # valuenick: three 1718s # valuenum: 8 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmpv5dblach.h: 1718s # typedef enum { 1718s # SOME_FLAGS_ONE = (1 << 1), 1718s # } [[gnu::flag_enum]] SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpd47c2fyy.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpd47c2fyy.template /tmp/tmpretyw34s/tmpv5dblach.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmp2glix8d9'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmpv5dblach.h 1718s # basename: tmpv5dblach.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_ONE 1718s # valuenick: one 1718s # valuenum: 2 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmp3mouzlqy.h: 1718s # typedef enum [[gnu::flag_enum]] { 1718s # SOME_FLAGS_TWO = (1 << 2), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmp242203h0.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmp242203h0.template /tmp/tmpretyw34s/tmp3mouzlqy.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpudczxoob'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmp3mouzlqy.h 1718s # basename: tmp3mouzlqy.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_TWO 1718s # valuenick: two 1718s # valuenum: 4 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmp5ut9s4av.h: 1718s # typedef enum [[gnu::flag_enum]] _SomeFlags { 1718s # SOME_FLAGS_THREE = (1 << 3), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmphaf5tttz.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmphaf5tttz.template /tmp/tmpretyw34s/tmp5ut9s4av.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpng6ihjq7'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmp5ut9s4av.h 1718s # basename: tmp5ut9s4av.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_THREE 1718s # valuenick: three 1718s # valuenum: 8 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmpndyqkec9.h: 1718s # typedef enum { 1718s # SOME_FLAGS_ONE = (1 << 1), 1718s # } [[clang::flag_enum]] SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpwokzqjpc.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpwokzqjpc.template /tmp/tmpretyw34s/tmpndyqkec9.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmp8hopaeet'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmpndyqkec9.h 1718s # basename: tmpndyqkec9.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_ONE 1718s # valuenick: one 1718s # valuenum: 2 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmp1uc3s54w.h: 1718s # typedef enum [[clang::flag_enum]] { 1718s # SOME_FLAGS_TWO = (1 << 2), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpmcygdqza.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpmcygdqza.template /tmp/tmpretyw34s/tmp1uc3s54w.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpmkhsxc16'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmp1uc3s54w.h 1718s # basename: tmp1uc3s54w.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_TWO 1718s # valuenick: two 1718s # valuenum: 4 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmpdtsc71yh.h: 1718s # typedef enum [[clang::flag_enum]] _SomeFlags { 1718s # SOME_FLAGS_THREE = (1 << 3), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmph0fy10eo.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmph0fy10eo.template /tmp/tmpretyw34s/tmpdtsc71yh.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmp7ic6eym_'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmpdtsc71yh.h 1718s # basename: tmpdtsc71yh.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_THREE 1718s # valuenick: three 1718s # valuenum: 8 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmphl5n4p8v.h: 1718s # typedef enum { 1718s # SOME_FLAGS_ONE = (1 << 1), 1718s # } [[nodiscard,gnu::flag_enum]] SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpsxpyx7i1.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpsxpyx7i1.template /tmp/tmpretyw34s/tmphl5n4p8v.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpzbfjwu_9'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmphl5n4p8v.h 1718s # basename: tmphl5n4p8v.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_ONE 1718s # valuenick: one 1718s # valuenum: 2 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmp772g5hel.h: 1718s # typedef enum [[nodiscard,gnu::flag_enum]] { 1718s # SOME_FLAGS_TWO = (1 << 2), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmp1g7jaixm.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmp1g7jaixm.template /tmp/tmpretyw34s/tmp772g5hel.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmp4z_jpd0a'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmp772g5hel.h 1718s # basename: tmp772g5hel.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_TWO 1718s # valuenick: two 1718s # valuenum: 4 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmp9bc4hgmp.h: 1718s # typedef enum [[nodiscard,gnu::flag_enum]] _SomeFlags { 1718s # SOME_FLAGS_THREE = (1 << 3), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpmj23avy9.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpmj23avy9.template /tmp/tmpretyw34s/tmp9bc4hgmp.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmp5fcu16wh'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmp9bc4hgmp.h 1718s # basename: tmp9bc4hgmp.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_THREE 1718s # valuenick: three 1718s # valuenum: 8 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmpqbkc7f7y.h: 1718s # typedef enum { 1718s # SOME_FLAGS_ONE = (1 << 1), 1718s # } [[clang::flag_enum,nodiscard]] SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmp67pcd187.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmp67pcd187.template /tmp/tmpretyw34s/tmpqbkc7f7y.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmp1vqzrgvl'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmpqbkc7f7y.h 1718s # basename: tmpqbkc7f7y.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_ONE 1718s # valuenick: one 1718s # valuenum: 2 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmpszdma_pi.h: 1718s # typedef enum [[clang::flag_enum,nodiscard]] { 1718s # SOME_FLAGS_TWO = (1 << 2), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmp5hpq2rg3.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmp5hpq2rg3.template /tmp/tmpretyw34s/tmpszdma_pi.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpq5z6vr51'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmpszdma_pi.h 1718s # basename: tmpszdma_pi.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_TWO 1718s # valuenick: two 1718s # valuenum: 4 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # 1718s # /tmp/tmpretyw34s/tmpwfqcqrfz.h: 1718s # typedef enum [[clang::flag_enum,nodiscard]] _SomeFlags { 1718s # SOME_FLAGS_THREE = (1 << 3), 1718s # } SomeFlags; 1718s # 1718s # /tmp/tmpretyw34s/tmpj4m7dtjv.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpretyw34s/tmpj4m7dtjv.template /tmp/tmpretyw34s/tmpwfqcqrfz.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpretyw34s/tmpfxn8mbhc'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpretyw34s/tmpwfqcqrfz.h 1718s # basename: tmpwfqcqrfz.h 1718s # enumeration-production 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-header 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-production 1718s # VALUENAME: SOME_FLAGS_THREE 1718s # valuenick: three 1718s # valuenum: 8 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # value-tail 1718s # EnumName: SomeFlags 1718s # enum_name: some_flags 1718s # ENUMNAME: SOME_FLAGS 1718s # ENUMSHORT: FLAGS 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: flags 1718s # Type: Flags 1718s # TYPE: FLAGS 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s ok 31 __main__.TestRspMkenums.test_help 1718s # glib-mkenums: /usr/bin/glib-mkenums 1718s # tmpdir: /tmp/tmp1pzatf5l 1718s # rspfile: True 1718s # Response file contains: --help 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1pzatf5l/tmpthnplkk0'] 1718s # Return code: 0 1718s # Output: 1718s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1718s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1718s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1718s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1718s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1718s # [--output OUTPUT] [--version] 1718s # [args ...] 1718s # 1718s # positional arguments: 1718s # args One or more input files, or a single argument 1718s # @rspfile_path pointing to a file that contains the 1718s # actual arguments 1718s # 1718s # options: 1718s # -h, --help show this help message and exit 1718s # --identifier-prefix IDPREFIX 1718s # Identifier prefix 1718s # --symbol-prefix SYMPREFIX 1718s # Symbol prefix 1718s # --fhead FHEAD Output file header 1718s # --ftail FTAIL Output file footer 1718s # --fprod FPROD Put out TEXT every time a new input file is being 1718s # processed. 1718s # --eprod EPROD Per enum text, produced prior to value iterations 1718s # --vhead VHEAD Value header, produced before iterating over enum 1718s # values 1718s # --vprod VPROD Value text, produced for each enum value. 1718s # --vtail VTAIL Value tail, produced after iterating over enum values 1718s # --comments COMMENT_TMPL 1718s # Comment structure 1718s # --template TEMPLATE Template file 1718s # --output OUTPUT 1718s # --version, -v Print version information 1718s # 1718s # Production text substitutions: 1718s # @EnumName@ PrefixTheXEnum 1718s # @enum_name@ prefix_the_xenum 1718s # @ENUMNAME@ PREFIX_THE_XENUM 1718s # @ENUMSHORT@ THE_XENUM 1718s # @ENUMPREFIX@ PREFIX 1718s # @enumsince@ the user-provided since value given 1718s # @VALUENAME@ PREFIX_THE_XVALUE 1718s # @valuenick@ the-xvalue 1718s # @valuenum@ the integer value (limited support, Since: 2.26) 1718s # @type@ either enum or flags 1718s # @Type@ either Enum or Flags 1718s # @TYPE@ either ENUM or FLAGS 1718s # @filename@ name of current input file 1718s # @basename@ base name of the current input file (Since: 2.22) 1718s # Error: 1718s ok 32 __main__.TestRspMkenums.test_no_args 1718s # glib-mkenums: /usr/bin/glib-mkenums 1718s # tmpdir: /tmp/tmpab4sh0dd 1718s # rspfile: True 1718s # Response file contains: 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpab4sh0dd/tmpsurzww2y'] 1718s # Return code: 0 1718s # Output: 1718s # /* 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. */ 1718s # 1718s # 1718s # /* Generated data ends here */ 1718s # Error: 1718s ok 33 __main__.TestRspMkenums.test_no_headers 1718s # glib-mkenums: /usr/bin/glib-mkenums 1718s # tmpdir: /tmp/tmp7erruzrr 1718s # rspfile: True 1718s # /tmp/tmp7erruzrr/tmpo1uyf6zh.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmp7erruzrr/tmpo1uyf6zh.template 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7erruzrr/tmp85cqmsgi'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s ok 34 __main__.TestRspMkenums.test_no_nick 1718s # glib-mkenums: /usr/bin/glib-mkenums 1718s # tmpdir: /tmp/tmpwsl7h9ug 1718s # rspfile: True 1718s # /tmp/tmpwsl7h9ug/tmpzqq7el9f.h: 1718s # typedef enum { 1718s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1718s # } GeglSamplerType; 1718s # 1718s # /tmp/tmpwsl7h9ug/tmp6ltsu14l.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmpwsl7h9ug/tmp6ltsu14l.template /tmp/tmpwsl7h9ug/tmpzqq7el9f.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwsl7h9ug/tmppz94les5'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmpwsl7h9ug/tmpzqq7el9f.h 1718s # basename: tmpzqq7el9f.h 1718s # enumeration-production 1718s # EnumName: GeglSamplerType 1718s # enum_name: gegl_sampler_type 1718s # ENUMNAME: GEGL_SAMPLER_TYPE 1718s # ENUMSHORT: SAMPLER_TYPE 1718s # ENUMPREFIX: GEGL 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-header 1718s # EnumName: GeglSamplerType 1718s # enum_name: gegl_sampler_type 1718s # ENUMNAME: GEGL_SAMPLER_TYPE 1718s # ENUMSHORT: SAMPLER_TYPE 1718s # ENUMPREFIX: GEGL 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-production 1718s # VALUENAME: GEGL_SAMPLER_NEAREST 1718s # valuenick: nearest 1718s # valuenum: 0 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-tail 1718s # EnumName: GeglSamplerType 1718s # enum_name: gegl_sampler_type 1718s # ENUMNAME: GEGL_SAMPLER_TYPE 1718s # ENUMSHORT: SAMPLER_TYPE 1718s # ENUMPREFIX: GEGL 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s ok 35 __main__.TestRspMkenums.test_non_utf8_encoding 1718s # glib-mkenums: /usr/bin/glib-mkenums 1718s # tmpdir: /tmp/tmphl3f_ai0 1718s # rspfile: True 1718s # /tmp/tmphl3f_ai0/tmpvpmq8e99.h: 1718s # /* Copyright © La Peña */ 1718s # typedef enum { 1718s # ENUM_VALUE 1718s # } SomeEnumIdentifier; 1718s # 1718s # /tmp/tmphl3f_ai0/tmprwxs8c6z.template: 1718s # /*** BEGIN file-header ***/ 1718s # file-header 1718s # /*** END file-header ***/ 1718s # 1718s # /*** BEGIN file-production ***/ 1718s # file-production 1718s # filename: @filename@ 1718s # basename: @basename@ 1718s # /*** END file-production ***/ 1718s # 1718s # /*** BEGIN enumeration-production ***/ 1718s # enumeration-production 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END enumeration-production ***/ 1718s # 1718s # /*** BEGIN value-header ***/ 1718s # value-header 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-header ***/ 1718s # 1718s # /*** BEGIN value-production ***/ 1718s # value-production 1718s # VALUENAME: @VALUENAME@ 1718s # valuenick: @valuenick@ 1718s # valuenum: @valuenum@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-production ***/ 1718s # 1718s # /*** BEGIN value-tail ***/ 1718s # value-tail 1718s # EnumName: @EnumName@ 1718s # enum_name: @enum_name@ 1718s # ENUMNAME: @ENUMNAME@ 1718s # ENUMSHORT: @ENUMSHORT@ 1718s # ENUMPREFIX: @ENUMPREFIX@ 1718s # enumsince: @enumsince@ 1718s # type: @type@ 1718s # Type: @Type@ 1718s # TYPE: @TYPE@ 1718s # /*** END value-tail ***/ 1718s # 1718s # /*** BEGIN comment ***/ 1718s # comment 1718s # comment: @comment@ 1718s # /*** END comment ***/ 1718s # 1718s # /*** BEGIN file-tail ***/ 1718s # file-tail 1718s # /*** END file-tail ***/ 1718s # 1718s # Response file contains: --template /tmp/tmphl3f_ai0/tmprwxs8c6z.template /tmp/tmphl3f_ai0/tmpvpmq8e99.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphl3f_ai0/tmpcfwrxv8k'] 1718s # Return code: 0 1718s # Output: 1718s # comment 1718s # 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. 1718s # 1718s # 1718s # file-header 1718s # file-production 1718s # filename: /tmp/tmphl3f_ai0/tmpvpmq8e99.h 1718s # basename: tmpvpmq8e99.h 1718s # enumeration-production 1718s # EnumName: SomeEnumIdentifier 1718s # enum_name: some_enum_identifier 1718s # ENUMNAME: SOME_ENUM_IDENTIFIER 1718s # ENUMSHORT: ENUM_IDENTIFIER 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-header 1718s # EnumName: SomeEnumIdentifier 1718s # enum_name: some_enum_identifier 1718s # ENUMNAME: SOME_ENUM_IDENTIFIER 1718s # ENUMSHORT: ENUM_IDENTIFIER 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-production 1718s # VALUENAME: ENUM_VALUE 1718s # valuenick: value 1718s # valuenum: 0 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # value-tail 1718s # EnumName: SomeEnumIdentifier 1718s # enum_name: some_enum_identifier 1718s # ENUMNAME: SOME_ENUM_IDENTIFIER 1718s # ENUMSHORT: ENUM_IDENTIFIER 1718s # ENUMPREFIX: SOME 1718s # enumsince: 1718s # type: enum 1718s # Type: Enum 1718s # TYPE: ENUM 1718s # file-tail 1718s # 1718s # comment 1718s # comment: Generated data ends here 1718s # Error: 1718s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1718s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1718s ok 36 __main__.TestRspMkenums.test_reproducible 1718s # glib-mkenums: /usr/bin/glib-mkenums 1718s # tmpdir: /tmp/tmpupxyvrit 1718s # rspfile: True 1718s # /tmp/tmpupxyvrit/tmpole2kd6j.template: template 1718s # Response file contains: --template /tmp/tmpupxyvrit/tmpole2kd6j.template /tmp/tmpupxyvrit/tmpz_8jg2gv1.h /tmp/tmpupxyvrit/tmplweotqko2.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpupxyvrit/tmpich0ast3'] 1718s # Return code: 0 1718s # Output: 1718s # /* 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. */ 1718s # 1718s # 1718s # /* Generated data ends here */ 1718s # Error: 1718s # 1718s # /tmp/tmpupxyvrit/tmp6rsashcg.template: template 1718s # Response file contains: --template /tmp/tmpupxyvrit/tmp6rsashcg.template /tmp/tmpupxyvrit/tmplweotqko2.h /tmp/tmpupxyvrit/tmpz_8jg2gv1.h 1718s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpupxyvrit/tmpt4fwjzvx'] 1718s # Return code: 0 1718s # Output: 1718s # /* 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. */ 1718s # 1718s # 1718s # /* Generated data ends here */ 1718s # Error: 1719s ok 37 __main__.TestRspMkenums.test_since 1719s # glib-mkenums: /usr/bin/glib-mkenums 1719s # tmpdir: /tmp/tmpqbo_kfco 1719s # rspfile: True 1719s # /tmp/tmpqbo_kfco/tmpz7n5yhmh.h: 1719s # typedef enum { /*< since=1.0 >*/ 1719s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1719s # } QmiWmsMessageProtocol; 1719s # 1719s # /tmp/tmpqbo_kfco/tmpw5l7ydhw.template: 1719s # /*** BEGIN file-header ***/ 1719s # file-header 1719s # /*** END file-header ***/ 1719s # 1719s # /*** BEGIN file-production ***/ 1719s # file-production 1719s # filename: @filename@ 1719s # basename: @basename@ 1719s # /*** END file-production ***/ 1719s # 1719s # /*** BEGIN enumeration-production ***/ 1719s # enumeration-production 1719s # EnumName: @EnumName@ 1719s # enum_name: @enum_name@ 1719s # ENUMNAME: @ENUMNAME@ 1719s # ENUMSHORT: @ENUMSHORT@ 1719s # ENUMPREFIX: @ENUMPREFIX@ 1719s # enumsince: @enumsince@ 1719s # type: @type@ 1719s # Type: @Type@ 1719s # TYPE: @TYPE@ 1719s # /*** END enumeration-production ***/ 1719s # 1719s # /*** BEGIN value-header ***/ 1719s # value-header 1719s # EnumName: @EnumName@ 1719s # enum_name: @enum_name@ 1719s # ENUMNAME: @ENUMNAME@ 1719s # ENUMSHORT: @ENUMSHORT@ 1719s # ENUMPREFIX: @ENUMPREFIX@ 1719s # enumsince: @enumsince@ 1719s # type: @type@ 1719s # Type: @Type@ 1719s # TYPE: @TYPE@ 1719s # /*** END value-header ***/ 1719s # 1719s # /*** BEGIN value-production ***/ 1719s # value-production 1719s # VALUENAME: @VALUENAME@ 1719s # valuenick: @valuenick@ 1719s # valuenum: @valuenum@ 1719s # type: @type@ 1719s # Type: @Type@ 1719s # TYPE: @TYPE@ 1719s # /*** END value-production ***/ 1719s # 1719s # /*** BEGIN value-tail ***/ 1719s # value-tail 1719s # EnumName: @EnumName@ 1719s # enum_name: @enum_name@ 1719s # ENUMNAME: @ENUMNAME@ 1719s # ENUMSHORT: @ENUMSHORT@ 1719s # ENUMPREFIX: @ENUMPREFIX@ 1719s # enumsince: @enumsince@ 1719s # type: @type@ 1719s # Type: @Type@ 1719s # TYPE: @TYPE@ 1719s # /*** END value-tail ***/ 1719s # 1719s # /*** BEGIN comment ***/ 1719s # comment 1719s # comment: @comment@ 1719s # /*** END comment ***/ 1719s # 1719s # /*** BEGIN file-tail ***/ 1719s # file-tail 1719s # /*** END file-tail ***/ 1719s # 1719s # Response file contains: --template /tmp/tmpqbo_kfco/tmpw5l7ydhw.template /tmp/tmpqbo_kfco/tmpz7n5yhmh.h 1719s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqbo_kfco/tmp2pi8viza'] 1719s # Return code: 0 1719s # Output: 1719s # comment 1719s # 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. 1719s # 1719s # 1719s # file-header 1719s # file-production 1719s # filename: /tmp/tmpqbo_kfco/tmpz7n5yhmh.h 1719s # basename: tmpz7n5yhmh.h 1719s # enumeration-production 1719s # EnumName: QmiWmsMessageProtocol 1719s # enum_name: qmi_wms_message_protocol 1719s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1719s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1719s # ENUMPREFIX: QMI 1719s # enumsince: 1.0 1719s # type: enum 1719s # Type: Enum 1719s # TYPE: ENUM 1719s # value-header 1719s # EnumName: QmiWmsMessageProtocol 1719s # enum_name: qmi_wms_message_protocol 1719s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1719s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1719s # ENUMPREFIX: QMI 1719s # enumsince: 1.0 1719s # type: enum 1719s # Type: Enum 1719s # TYPE: ENUM 1719s # value-production 1719s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1719s # valuenick: cdma 1719s # valuenum: 0 1719s # type: enum 1719s # Type: Enum 1719s # TYPE: ENUM 1719s # value-tail 1719s # EnumName: QmiWmsMessageProtocol 1719s # enum_name: qmi_wms_message_protocol 1719s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1719s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1719s # ENUMPREFIX: QMI 1719s # enumsince: 1.0 1719s # type: enum 1719s # Type: Enum 1719s # TYPE: ENUM 1719s # file-tail 1719s # 1719s # comment 1719s # comment: Generated data ends here 1719s # Error: 1719s ok 38 __main__.TestRspMkenums.test_with_double_quotes 1719s # glib-mkenums: /usr/bin/glib-mkenums 1719s # tmpdir: /tmp/tmp1vylc3s0 1719s # rspfile: True 1719s # /tmp/tmp1vylc3s0/tmpgnoatb39.h: 1719s # typedef enum { 1719s # FOO_VALUE /*< nick="eek, a comma" >*/ 1719s # } Foo; 1719s # 1719s # /tmp/tmp1vylc3s0/tmp5trq77_t.template: 1719s # /*** BEGIN file-header ***/ 1719s # file-header 1719s # /*** END file-header ***/ 1719s # 1719s # /*** BEGIN file-production ***/ 1719s # file-production 1719s # filename: @filename@ 1719s # basename: @basename@ 1719s # /*** END file-production ***/ 1719s # 1719s # /*** BEGIN enumeration-production ***/ 1719s # enumeration-production 1719s # EnumName: @EnumName@ 1719s # enum_name: @enum_name@ 1719s # ENUMNAME: @ENUMNAME@ 1719s # ENUMSHORT: @ENUMSHORT@ 1719s # ENUMPREFIX: @ENUMPREFIX@ 1719s # enumsince: @enumsince@ 1719s # type: @type@ 1719s # Type: @Type@ 1719s # TYPE: @TYPE@ 1719s # /*** END enumeration-production ***/ 1719s # 1719s # /*** BEGIN value-header ***/ 1719s # value-header 1719s # EnumName: @EnumName@ 1719s # enum_name: @enum_name@ 1719s # ENUMNAME: @ENUMNAME@ 1719s # ENUMSHORT: @ENUMSHORT@ 1719s # ENUMPREFIX: @ENUMPREFIX@ 1719s # enumsince: @enumsince@ 1719s # type: @type@ 1719s # Type: @Type@ 1719s # TYPE: @TYPE@ 1719s # /*** END value-header ***/ 1719s # 1719s # /*** BEGIN value-production ***/ 1719s # value-production 1719s # VALUENAME: @VALUENAME@ 1719s # valuenick: @valuenick@ 1719s # valuenum: @valuenum@ 1719s # type: @type@ 1719s # Type: @Type@ 1719s # TYPE: @TYPE@ 1719s # /*** END value-production ***/ 1719s # 1719s # /*** BEGIN value-tail ***/ 1719s # value-tail 1719s # EnumName: @EnumName@ 1719s # enum_name: @enum_name@ 1719s # ENUMNAME: @ENUMNAME@ 1719s # ENUMSHORT: @ENUMSHORT@ 1719s # ENUMPREFIX: @ENUMPREFIX@ 1719s # enumsince: @enumsince@ 1719s # type: @type@ 1719s # Type: @Type@ 1719s # TYPE: @TYPE@ 1719s # /*** END value-tail ***/ 1719s # 1719s # /*** BEGIN comment ***/ 1719s # comment 1719s # comment: @comment@ 1719s # /*** END comment ***/ 1719s # 1719s # /*** BEGIN file-tail ***/ 1719s # file-tail 1719s # /*** END file-tail ***/ 1719s # 1719s # Response file contains: --template /tmp/tmp1vylc3s0/tmp5trq77_t.template /tmp/tmp1vylc3s0/tmpgnoatb39.h 1719s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1vylc3s0/tmpj0dz3bg0'] 1719s # Return code: 0 1719s # Output: 1719s # comment 1719s # 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. 1719s # 1719s # 1719s # file-header 1719s # file-production 1719s # filename: /tmp/tmp1vylc3s0/tmpgnoatb39.h 1719s # basename: tmpgnoatb39.h 1719s # enumeration-production 1719s # EnumName: Foo 1719s # enum_name: foo_ 1719s # ENUMNAME: FOO_ 1719s # ENUMSHORT: 1719s # ENUMPREFIX: FOO 1719s # enumsince: 1719s # type: enum 1719s # Type: Enum 1719s # TYPE: ENUM 1719s # value-header 1719s # EnumName: Foo 1719s # enum_name: foo_ 1719s # ENUMNAME: FOO_ 1719s # ENUMSHORT: 1719s # ENUMPREFIX: FOO 1719s # enumsince: 1719s # type: enum 1719s # Type: Enum 1719s # TYPE: ENUM 1719s # value-production 1719s # VALUENAME: FOO_VALUE 1719s # valuenick: eek, a comma 1719s # valuenum: 0 1719s # type: enum 1719s # Type: Enum 1719s # TYPE: ENUM 1719s # value-tail 1719s # EnumName: Foo 1719s # enum_name: foo_ 1719s # ENUMNAME: FOO_ 1719s # ENUMSHORT: 1719s # ENUMPREFIX: FOO 1719s # enumsince: 1719s # type: enum 1719s # Type: Enum 1719s # TYPE: ENUM 1719s # file-tail 1719s # 1719s # comment 1719s # comment: Generated data ends here 1719s # Error: 1719s 1..38 1719s ok - glib/mkenums.py.test 1719s # Running test: glib/throws.test 1719s TAP version 14 1719s # random seed: R02S37c65148820872e69384849bc998a9bc 1719s 1..3 1719s # Start of throws tests 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_TM5BK3/throws/invoke-gerror/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_TM5BK3/throws/invoke-gerror/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_TM5BK3/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_TM5BK3/throws/invoke-gerror/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_TM5BK3/throws/invoke-gerror/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_TM5BK3/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_TM5BK3/throws/invoke-gerror/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_TM5BK3/throws/invoke-gerror/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_TM5BK3/throws/invoke-gerror/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_TM5BK3/throws/invoke-gerror/.dirs/runtime 1719s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1719s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1719s ok 1 /throws/invoke-gerror 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_TM5BK3/throws/vfunc-can-throw-gerror/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_TM5BK3/throws/vfunc-can-throw-gerror/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_TM5BK3/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_TM5BK3/throws/vfunc-can-throw-gerror/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_TM5BK3/throws/vfunc-can-throw-gerror/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_TM5BK3/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_TM5BK3/throws/vfunc-can-throw-gerror/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_TM5BK3/throws/vfunc-can-throw-gerror/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_TM5BK3/throws/vfunc-can-throw-gerror/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_TM5BK3/throws/vfunc-can-throw-gerror/.dirs/runtime 1719s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1719s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1719s ok 2 /throws/vfunc-can-throw-gerror 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_TM5BK3/throws/callback-can-throw-gerror/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_TM5BK3/throws/callback-can-throw-gerror/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_TM5BK3/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_TM5BK3/throws/callback-can-throw-gerror/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_TM5BK3/throws/callback-can-throw-gerror/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_TM5BK3/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_TM5BK3/throws/callback-can-throw-gerror/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_TM5BK3/throws/callback-can-throw-gerror/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_TM5BK3/throws/callback-can-throw-gerror/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_TM5BK3/throws/callback-can-throw-gerror/.dirs/runtime 1719s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1719s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1719s ok 3 /throws/callback-can-throw-gerror 1719s # End of throws tests 1719s ok - glib/throws.test 1719s # Running test: glib/socket-address.test 1719s TAP version 14 1719s # random seed: R02S349f7443dcd72507c931b4f33018e9d7 1719s 1..2 1719s # Start of socket tests 1719s # Start of address tests 1719s # Start of unix tests 1719s ok 1 /socket/address/unix/construct 1719s ok 2 /socket/address/unix/to-string 1719s # End of unix tests 1719s # End of address tests 1719s ok - glib/socket-address.test 1719s # Running test: glib/option-argv0.test 1719s ok - glib/option-argv0.test 1719s # Running test: glib/ifaceproperties.test 1719s ok - glib/ifaceproperties.test 1719s # Running test: glib/mimeapps.test 1719s # End of socket tests 1719s TAP version 14 1719s # random seed: R02S8477bfb71ecf701f83b23e5e5df1b765 1719s 1..1 1719s # Start of option tests 1719s ok 1 /option/argv0 1719s # End of option tests 1719s TAP version 14 1719s # random seed: R02S38da9ffe607a8aa9d97b5a5b05ec0883 1719s 1..7 1719s # Start of interface tests 1719s # Start of properties tests 1719s ok 1 /interface/properties/set 1719s ok 2 /interface/properties/notify 1719s ok 3 /interface/properties/find-overridden 1719s ok 4 /interface/properties/list-overridden 1719s ok 5 /interface/properties/find-interface 1719s ok 6 /interface/properties/list-interface 1719s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1719s ok 7 /interface/properties/not-overridden 1719s # End of properties tests 1719s # End of interface tests 1719s TAP version 14 1719s # random seed: R02See81093f799bda1d1e84b64163d31cc3 1719s 1..13 1719s # Start of appinfo tests 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/runtime 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/system-data1/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/data/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/data/applications/myapp.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/data/applications/myapp2.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/data/applications/myapp3.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/data/applications/myapp4.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/data/applications/myapp5.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1719s # removing '/tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/data/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1719s ok 1 /appinfo/all 1719s # Start of mime tests 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/runtime 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/system-data1/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/data/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1719s # removing '/tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/config 1719s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9KZBK3/appinfo/all/.dirs/config to /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/config 1719s ok 2 /appinfo/mime/api 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/runtime 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/system-data1/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/data/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1719s # removing '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/config 1719s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9KZBK3/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/config 1719s ok 3 /appinfo/mime/default 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/runtime 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/system-data1/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/data/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1719s # removing '/tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/config 1719s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9KZBK3/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/config 1719s ok 4 /appinfo/mime/file 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/runtime 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/data/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1719s # removing '/tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1719s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9KZBK3/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/config 1719s ok 5 /appinfo/mime/scheme-handler 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/runtime 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/data/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1719s # removing '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/config 1719s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9KZBK3/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/config 1719s ok 6 /appinfo/mime/default-last-used 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/runtime 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1719s # removing '/tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1719s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9KZBK3/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/config 1719s ok 7 /appinfo/mime/ignore-nonexisting 1719s # End of mime tests 1719s # Start of mime-symlinked tests 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/system-config1:/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/system-data1:/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/runtime 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/system-data1/applications' 1719s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/system-data1/applications/mimeapps.list.c' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/data/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp2.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp3.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp4.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp5.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/data/applications/nosuchapp.desktop' 1719s # removing '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeinfo.cache' 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/config 1719s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9KZBK3/appinfo/mime/ignore-nonexisting/.dirs/config to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/config 1719s ok 8 /appinfo/mime-symlinked/api 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/system-config1:/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/system-data1:/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/runtime 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/system-data1/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/system-data1/applications/mimeapps.list.c' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/data/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp2.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp3.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp4.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp5.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/data/applications/nosuchapp.desktop' 1719s # removing '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeinfo.cache' 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/config 1719s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/api/.dirs/config to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/config 1719s ok 9 /appinfo/mime-symlinked/default 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/system-config1:/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/system-data1:/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/runtime 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/system-data1/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/system-data1/applications/mimeapps.list.c' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/data/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp2.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp3.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp4.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp5.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/data/applications/nosuchapp.desktop' 1719s # removing '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeinfo.cache' 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/config 1719s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default/.dirs/config to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/config 1719s ok 10 /appinfo/mime-symlinked/file 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/runtime 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications/mimeapps.list.c' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp2.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp3.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp4.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp5.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1719s # removing '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1719s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/file/.dirs/config to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/config 1719s ok 11 /appinfo/mime-symlinked/scheme-handler 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/runtime 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications/mimeapps.list.c' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp2.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp3.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp4.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp5.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1719s # removing '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeinfo.cache' 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1719s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/scheme-handler/.dirs/config to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1719s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1719s ok 12 /appinfo/mime-symlinked/default-last-used 1719s ok - glib/mimeapps.test 1719s # Running test: glib/gdbus-proxy-unique-name.test 1719s ok - glib/gdbus-proxy-unique-name.test 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/runtime 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list.c' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1719s # removing '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1719s # creating '/tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1719s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/default-last-used/.dirs/config to /tmp/test_mimeapps_9KZBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 1719s ok 13 /appinfo/mime-symlinked/ignore-nonexisting 1719s # End of mime-symlinked tests 1719s # End of appinfo tests 1719s TAP version 14 1719s # random seed: R02S6802b5c5fe85b41079b94c619a89387a 1719s 1..1 1719s # Start of gdbus tests 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_TN2FK3/gdbus/proxy-unique-name/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_TN2FK3/gdbus/proxy-unique-name/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_TN2FK3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_TN2FK3/gdbus/proxy-unique-name/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_TN2FK3/gdbus/proxy-unique-name/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_TN2FK3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_TN2FK3/gdbus/proxy-unique-name/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_TN2FK3/gdbus/proxy-unique-name/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_TN2FK3/gdbus/proxy-unique-name/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_TN2FK3/gdbus/proxy-unique-name/.dirs/runtime 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s ok 1 /gdbus/proxy-unique-name 1719s # End of gdbus tests 1719s # Running test: glib/refstring.test 1719s TAP version 14 1719s # random seed: R02S2ee8dacdde0de26e3ea1a4b3c9f5efb2 1719s 1..8 1719s # Start of refstring tests 1719s # s = 'hello, world' (0x61298aaa50e0) 1719s ok 1 /refstring/base 1719s ok 2 /refstring/length 1719s ok 3 /refstring/length-auto 1719s ok 4 /refstring/length-nuls 1719s # s = 'hello, world' (0x61298aaa4f80) 1719s # p = s = 'hello, world' (0x61298aaa4f80) 1719s # releasing p[0x61298aaa4f80] ('hello, world') 1719s # p = 'goodbye, world' (0x61298aaa50e0) 1719s # releasing p[0x61298aaa50e0] ('goodbye, world') 1719s # releasing s[0x61298aaa4f80] ('hello, world') 1719s ok 5 /refstring/intern 1719s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 1719s ok 6 /refstring/hash_equal 1719s # /refstring/equal summary: Test g_ref_string_equal() standalone 1719s ok 7 /refstring/equal 1719s ok 8 /refstring/intern-thread-safety 1719s # End of refstring tests 1719s ok - glib/refstring.test 1719s # Running test: glib/boxed.test 1719s TAP version 14 1719s # random seed: R02S0870b65fcb6eb0f1ab23b67dc65120cd 1719s 1..27 1719s # Start of boxed tests 1719s ok 1 /boxed/define 1719s ok 2 /boxed/ownership 1719s ok 3 /boxed/closure 1719s ok 4 /boxed/date 1719s ok 5 /boxed/value 1719s ok 6 /boxed/string 1719s ok 7 /boxed/hashtable 1719s ok 8 /boxed/array 1719s ok 9 /boxed/ptrarray 1719s ok 10 /boxed/regex 1719s ok 11 /boxed/varianttype 1719s ok 12 /boxed/error 1719s ok 13 /boxed/datetime 1719s ok 14 /boxed/matchinfo 1719s ok 15 /boxed/keyfile 1719s ok 16 /boxed/mainloop 1719s ok 17 /boxed/maincontext 1719s ok 18 /boxed/source 1719s ok 19 /boxed/variantbuilder 1719s ok - glib/boxed.test 1719s ok 20 /boxed/timezone 1719s ok 21 /boxed/pollfd 1719s ok 22 /boxed/markup 1719s ok 23 /boxed/thread 1719s ok 24 /boxed/checksum 1719s ok 25 /boxed/tree 1719s ok 26 /boxed/patternspec 1719s ok 27 /boxed/rand 1719s # End of boxed tests 1719s # Running test: glib/checksum.test 1719s TAP version 14 1719s # random seed: R02S265dd187f6364f76abb3b92b080a2fa1 1719s 1..1851 1719s # Start of checksum tests 1719s ok 1 /checksum/unsupported 1719s # Start of MD5 tests 1719s ok 2 /checksum/MD5/0 1719s ok 3 /checksum/MD5/1 1719s ok 4 /checksum/MD5/2 1719s ok 5 /checksum/MD5/3 1719s ok 6 /checksum/MD5/4 1719s ok 7 /checksum/MD5/5 1719s ok 8 /checksum/MD5/6 1719s ok 9 /checksum/MD5/7 1719s ok 10 /checksum/MD5/8 1719s ok 11 /checksum/MD5/9 1719s ok 12 /checksum/MD5/10 1719s ok 13 /checksum/MD5/11 1719s ok 14 /checksum/MD5/12 1719s ok 15 /checksum/MD5/13 1719s ok 16 /checksum/MD5/14 1719s ok 17 /checksum/MD5/15 1719s ok 18 /checksum/MD5/16 1719s ok 19 /checksum/MD5/17 1719s ok 20 /checksum/MD5/18 1719s ok 21 /checksum/MD5/19 1719s ok 22 /checksum/MD5/20 1719s ok 23 /checksum/MD5/21 1719s ok 24 /checksum/MD5/22 1719s ok 25 /checksum/MD5/23 1719s ok 26 /checksum/MD5/24 1719s ok 27 /checksum/MD5/25 1719s ok 28 /checksum/MD5/26 1719s ok 29 /checksum/MD5/27 1719s ok 30 /checksum/MD5/28 1719s ok 31 /checksum/MD5/29 1719s ok 32 /checksum/MD5/30 1719s ok 33 /checksum/MD5/31 1719s ok 34 /checksum/MD5/32 1719s ok 35 /checksum/MD5/33 1719s ok 36 /checksum/MD5/34 1719s ok 37 /checksum/MD5/35 1719s ok 38 /checksum/MD5/36 1719s ok 39 /checksum/MD5/37 1719s ok 40 /checksum/MD5/38 1719s ok 41 /checksum/MD5/39 1719s ok 42 /checksum/MD5/40 1719s ok 43 /checksum/MD5/41 1719s ok 44 /checksum/MD5/42 1719s ok 45 /checksum/MD5/43 1719s ok 46 /checksum/MD5/44 1719s ok 47 /checksum/MD5/45 1719s ok 48 /checksum/MD5/46 1719s ok 49 /checksum/MD5/47 1719s ok 50 /checksum/MD5/48 1719s ok 51 /checksum/MD5/49 1719s ok 52 /checksum/MD5/50 1719s ok 53 /checksum/MD5/51 1719s ok 54 /checksum/MD5/52 1719s ok 55 /checksum/MD5/53 1719s ok 56 /checksum/MD5/54 1719s ok 57 /checksum/MD5/55 1719s ok 58 /checksum/MD5/56 1719s ok 59 /checksum/MD5/57 1719s ok 60 /checksum/MD5/58 1719s ok 61 /checksum/MD5/59 1719s ok 62 /checksum/MD5/60 1719s ok 63 /checksum/MD5/61 1719s ok 64 /checksum/MD5/62 1719s ok 65 /checksum/MD5/63 1719s ok 66 /checksum/MD5/64 1719s ok 67 /checksum/MD5/65 1719s ok 68 /checksum/MD5/66 1719s ok 69 /checksum/MD5/67 1719s ok 70 /checksum/MD5/68 1719s ok 71 /checksum/MD5/69 1719s ok 72 /checksum/MD5/70 1719s ok 73 /checksum/MD5/71 1719s ok 74 /checksum/MD5/72 1719s ok 75 /checksum/MD5/73 1719s ok 76 /checksum/MD5/74 1719s ok 77 /checksum/MD5/75 1719s ok 78 /checksum/MD5/76 1719s ok 79 /checksum/MD5/77 1719s ok 80 /checksum/MD5/78 1719s ok 81 /checksum/MD5/79 1719s ok 82 /checksum/MD5/80 1719s ok 83 /checksum/MD5/81 1719s ok 84 /checksum/MD5/82 1719s ok 85 /checksum/MD5/83 1719s ok 86 /checksum/MD5/84 1719s ok 87 /checksum/MD5/85 1719s ok 88 /checksum/MD5/86 1719s ok 89 /checksum/MD5/87 1719s ok 90 /checksum/MD5/88 1719s ok 91 /checksum/MD5/89 1719s ok 92 /checksum/MD5/90 1719s ok 93 /checksum/MD5/91 1719s ok 94 /checksum/MD5/92 1719s ok 95 /checksum/MD5/93 1719s ok 96 /checksum/MD5/94 1719s ok 97 /checksum/MD5/95 1719s ok 98 /checksum/MD5/96 1719s ok 99 /checksum/MD5/97 1719s ok 100 /checksum/MD5/98 1719s ok 101 /checksum/MD5/99 1719s ok 102 /checksum/MD5/100 1719s ok 103 /checksum/MD5/101 1719s ok 104 /checksum/MD5/102 1719s ok 105 /checksum/MD5/103 1719s ok 106 /checksum/MD5/104 1719s ok 107 /checksum/MD5/105 1719s ok 108 /checksum/MD5/106 1719s ok 109 /checksum/MD5/107 1719s ok 110 /checksum/MD5/108 1719s ok 111 /checksum/MD5/109 1719s ok 112 /checksum/MD5/110 1719s ok 113 /checksum/MD5/111 1719s ok 114 /checksum/MD5/112 1719s ok 115 /checksum/MD5/113 1719s ok 116 /checksum/MD5/114 1719s ok 117 /checksum/MD5/115 1719s ok 118 /checksum/MD5/116 1719s ok 119 /checksum/MD5/117 1719s ok 120 /checksum/MD5/118 1719s ok 121 /checksum/MD5/119 1719s ok 122 /checksum/MD5/120 1719s ok 123 /checksum/MD5/121 1719s ok 124 /checksum/MD5/122 1719s ok 125 /checksum/MD5/123 1719s ok 126 /checksum/MD5/124 1719s ok 127 /checksum/MD5/125 1719s ok 128 /checksum/MD5/126 1719s ok 129 /checksum/MD5/127 1719s ok 130 /checksum/MD5/128 1719s ok 131 /checksum/MD5/129 1719s ok 132 /checksum/MD5/130 1719s ok 133 /checksum/MD5/131 1719s ok 134 /checksum/MD5/132 1719s ok 135 /checksum/MD5/133 1719s ok 136 /checksum/MD5/134 1719s ok 137 /checksum/MD5/135 1719s ok 138 /checksum/MD5/136 1719s ok 139 /checksum/MD5/137 1719s ok 140 /checksum/MD5/138 1719s ok 141 /checksum/MD5/139 1719s ok 142 /checksum/MD5/140 1719s ok 143 /checksum/MD5/141 1719s ok 144 /checksum/MD5/142 1719s ok 145 /checksum/MD5/143 1719s ok 146 /checksum/MD5/144 1719s ok 147 /checksum/MD5/145 1719s ok 148 /checksum/MD5/146 1719s ok 149 /checksum/MD5/147 1719s ok 150 /checksum/MD5/148 1719s ok 151 /checksum/MD5/149 1719s ok 152 /checksum/MD5/150 1719s ok 153 /checksum/MD5/151 1719s ok 154 /checksum/MD5/152 1719s ok 155 /checksum/MD5/153 1719s ok 156 /checksum/MD5/154 1719s ok 157 /checksum/MD5/155 1719s ok 158 /checksum/MD5/156 1719s ok 159 /checksum/MD5/157 1719s ok 160 /checksum/MD5/158 1719s ok 161 /checksum/MD5/159 1719s ok 162 /checksum/MD5/160 1719s ok 163 /checksum/MD5/161 1719s ok 164 /checksum/MD5/162 1719s ok 165 /checksum/MD5/163 1719s ok 166 /checksum/MD5/164 1719s ok 167 /checksum/MD5/165 1719s ok 168 /checksum/MD5/166 1719s ok 169 /checksum/MD5/167 1719s ok 170 /checksum/MD5/168 1719s ok 171 /checksum/MD5/169 1719s ok 172 /checksum/MD5/170 1719s ok 173 /checksum/MD5/171 1719s ok 174 /checksum/MD5/172 1719s ok 175 /checksum/MD5/173 1719s ok 176 /checksum/MD5/174 1719s ok 177 /checksum/MD5/175 1719s ok 178 /checksum/MD5/176 1719s ok 179 /checksum/MD5/177 1719s ok 180 /checksum/MD5/178 1719s ok 181 /checksum/MD5/179 1719s ok 182 /checksum/MD5/180 1719s ok 183 /checksum/MD5/181 1719s ok 184 /checksum/MD5/182 1719s ok 185 /checksum/MD5/183 1719s ok 186 /checksum/MD5/string 1719s ok 187 /checksum/MD5/bytes 1719s # Start of reset tests 1719s ok 188 /checksum/MD5/reset/0 1719s ok 189 /checksum/MD5/reset/1 1719s ok 190 /checksum/MD5/reset/2 1719s ok 191 /checksum/MD5/reset/3 1719s ok 192 /checksum/MD5/reset/4 1719s ok 193 /checksum/MD5/reset/5 1719s ok 194 /checksum/MD5/reset/6 1719s ok 195 /checksum/MD5/reset/7 1719s ok 196 /checksum/MD5/reset/8 1719s ok 197 /checksum/MD5/reset/9 1719s ok 198 /checksum/MD5/reset/10 1719s ok 199 /checksum/MD5/reset/11 1719s ok 200 /checksum/MD5/reset/12 1719s ok 201 /checksum/MD5/reset/13 1719s ok 202 /checksum/MD5/reset/14 1719s ok 203 /checksum/MD5/reset/15 1719s ok 204 /checksum/MD5/reset/16 1719s ok 205 /checksum/MD5/reset/17 1719s ok 206 /checksum/MD5/reset/18 1719s ok 207 /checksum/MD5/reset/19 1719s ok 208 /checksum/MD5/reset/20 1719s ok 209 /checksum/MD5/reset/21 1719s ok 210 /checksum/MD5/reset/22 1719s ok 211 /checksum/MD5/reset/23 1719s ok 212 /checksum/MD5/reset/24 1719s ok 213 /checksum/MD5/reset/25 1719s ok 214 /checksum/MD5/reset/26 1719s ok 215 /checksum/MD5/reset/27 1719s ok 216 /checksum/MD5/reset/28 1719s ok 217 /checksum/MD5/reset/29 1719s ok 218 /checksum/MD5/reset/30 1719s ok 219 /checksum/MD5/reset/31 1719s ok 220 /checksum/MD5/reset/32 1719s ok 221 /checksum/MD5/reset/33 1719s ok 222 /checksum/MD5/reset/34 1719s ok 223 /checksum/MD5/reset/35 1719s ok 224 /checksum/MD5/reset/36 1719s ok 225 /checksum/MD5/reset/37 1719s ok 226 /checksum/MD5/reset/38 1719s ok 227 /checksum/MD5/reset/39 1719s ok 228 /checksum/MD5/reset/40 1719s ok 229 /checksum/MD5/reset/41 1719s ok 230 /checksum/MD5/reset/42 1719s ok 231 /checksum/MD5/reset/43 1719s ok 232 /checksum/MD5/reset/44 1719s ok 233 /checksum/MD5/reset/45 1719s ok 234 /checksum/MD5/reset/46 1719s ok 235 /checksum/MD5/reset/47 1719s ok 236 /checksum/MD5/reset/48 1719s ok 237 /checksum/MD5/reset/49 1719s ok 238 /checksum/MD5/reset/50 1719s ok 239 /checksum/MD5/reset/51 1719s ok 240 /checksum/MD5/reset/52 1719s ok 241 /checksum/MD5/reset/53 1719s ok 242 /checksum/MD5/reset/54 1719s ok 243 /checksum/MD5/reset/55 1719s ok 244 /checksum/MD5/reset/56 1719s ok 245 /checksum/MD5/reset/57 1719s ok 246 /checksum/MD5/reset/58 1719s ok 247 /checksum/MD5/reset/59 1719s ok 248 /checksum/MD5/reset/60 1719s ok 249 /checksum/MD5/reset/61 1719s ok 250 /checksum/MD5/reset/62 1719s ok 251 /checksum/MD5/reset/63 1719s ok 252 /checksum/MD5/reset/64 1719s ok 253 /checksum/MD5/reset/65 1719s ok 254 /checksum/MD5/reset/66 1719s ok 255 /checksum/MD5/reset/67 1719s ok 256 /checksum/MD5/reset/68 1719s ok 257 /checksum/MD5/reset/69 1719s ok 258 /checksum/MD5/reset/70 1719s ok 259 /checksum/MD5/reset/71 1719s ok 260 /checksum/MD5/reset/72 1719s ok 261 /checksum/MD5/reset/73 1719s ok 262 /checksum/MD5/reset/74 1719s ok 263 /checksum/MD5/reset/75 1719s ok 264 /checksum/MD5/reset/76 1719s ok 265 /checksum/MD5/reset/77 1719s ok 266 /checksum/MD5/reset/78 1719s ok 267 /checksum/MD5/reset/79 1719s ok 268 /checksum/MD5/reset/80 1719s ok 269 /checksum/MD5/reset/81 1719s ok 270 /checksum/MD5/reset/82 1719s ok 271 /checksum/MD5/reset/83 1719s ok 272 /checksum/MD5/reset/84 1719s ok 273 /checksum/MD5/reset/85 1719s ok 274 /checksum/MD5/reset/86 1719s ok 275 /checksum/MD5/reset/87 1719s ok 276 /checksum/MD5/reset/88 1719s ok 277 /checksum/MD5/reset/89 1719s ok 278 /checksum/MD5/reset/90 1719s ok 279 /checksum/MD5/reset/91 1719s ok 280 /checksum/MD5/reset/92 1719s ok 281 /checksum/MD5/reset/93 1719s ok 282 /checksum/MD5/reset/94 1719s ok 283 /checksum/MD5/reset/95 1719s ok 284 /checksum/MD5/reset/96 1719s ok 285 /checksum/MD5/reset/97 1719s ok 286 /checksum/MD5/reset/98 1719s ok 287 /checksum/MD5/reset/99 1719s ok 288 /checksum/MD5/reset/100 1719s ok 289 /checksum/MD5/reset/101 1719s ok 290 /checksum/MD5/reset/102 1719s ok 291 /checksum/MD5/reset/103 1719s ok 292 /checksum/MD5/reset/104 1719s ok 293 /checksum/MD5/reset/105 1719s ok 294 /checksum/MD5/reset/106 1719s ok 295 /checksum/MD5/reset/107 1719s ok 296 /checksum/MD5/reset/108 1719s ok 297 /checksum/MD5/reset/109 1719s ok 298 /checksum/MD5/reset/110 1719s ok 299 /checksum/MD5/reset/111 1719s ok 300 /checksum/MD5/reset/112 1719s ok 301 /checksum/MD5/reset/113 1719s ok 302 /checksum/MD5/reset/114 1719s ok 303 /checksum/MD5/reset/115 1719s ok 304 /checksum/MD5/reset/116 1719s ok 305 /checksum/MD5/reset/117 1719s ok 306 /checksum/MD5/reset/118 1719s ok 307 /checksum/MD5/reset/119 1719s ok 308 /checksum/MD5/reset/120 1719s ok 309 /checksum/MD5/reset/121 1719s ok 310 /checksum/MD5/reset/122 1719s ok 311 /checksum/MD5/reset/123 1719s ok 312 /checksum/MD5/reset/124 1719s ok 313 /checksum/MD5/reset/125 1719s ok 314 /checksum/MD5/reset/126 1719s ok 315 /checksum/MD5/reset/127 1719s ok 316 /checksum/MD5/reset/128 1719s ok 317 /checksum/MD5/reset/129 1719s ok 318 /checksum/MD5/reset/130 1719s ok 319 /checksum/MD5/reset/131 1719s ok 320 /checksum/MD5/reset/132 1719s ok 321 /checksum/MD5/reset/133 1719s ok 322 /checksum/MD5/reset/134 1719s ok 323 /checksum/MD5/reset/135 1719s ok 324 /checksum/MD5/reset/136 1719s ok 325 /checksum/MD5/reset/137 1719s ok 326 /checksum/MD5/reset/138 1719s ok 327 /checksum/MD5/reset/139 1719s ok 328 /checksum/MD5/reset/140 1719s ok 329 /checksum/MD5/reset/141 1719s ok 330 /checksum/MD5/reset/142 1719s ok 331 /checksum/MD5/reset/143 1719s ok 332 /checksum/MD5/reset/144 1719s ok 333 /checksum/MD5/reset/145 1719s ok 334 /checksum/MD5/reset/146 1719s ok 335 /checksum/MD5/reset/147 1719s ok 336 /checksum/MD5/reset/148 1719s ok 337 /checksum/MD5/reset/149 1719s ok 338 /checksum/MD5/reset/150 1719s ok 339 /checksum/MD5/reset/151 1719s ok 340 /checksum/MD5/reset/152 1719s ok 341 /checksum/MD5/reset/153 1719s ok 342 /checksum/MD5/reset/154 1719s ok 343 /checksum/MD5/reset/155 1719s ok 344 /checksum/MD5/reset/156 1719s ok 345 /checksum/MD5/reset/157 1719s ok 346 /checksum/MD5/reset/158 1719s ok 347 /checksum/MD5/reset/159 1719s ok 348 /checksum/MD5/reset/160 1719s ok 349 /checksum/MD5/reset/161 1719s ok 350 /checksum/MD5/reset/162 1719s ok 351 /checksum/MD5/reset/163 1719s ok 352 /checksum/MD5/reset/164 1719s ok 353 /checksum/MD5/reset/165 1719s ok 354 /checksum/MD5/reset/166 1719s ok 355 /checksum/MD5/reset/167 1719s ok 356 /checksum/MD5/reset/168 1719s ok 357 /checksum/MD5/reset/169 1719s ok 358 /checksum/MD5/reset/170 1719s ok 359 /checksum/MD5/reset/171 1719s ok 360 /checksum/MD5/reset/172 1719s ok 361 /checksum/MD5/reset/173 1719s ok 362 /checksum/MD5/reset/174 1719s ok 363 /checksum/MD5/reset/175 1719s ok 364 /checksum/MD5/reset/176 1719s ok 365 /checksum/MD5/reset/177 1719s ok 366 /checksum/MD5/reset/178 1719s ok 367 /checksum/MD5/reset/179 1719s ok 368 /checksum/MD5/reset/180 1719s ok 369 /checksum/MD5/reset/181 1719s ok 370 /checksum/MD5/reset/182 1719s ok 371 /checksum/MD5/reset/183 1719s # End of reset tests 1719s # End of MD5 tests 1719s # Start of SHA1 tests 1719s ok 372 /checksum/SHA1/0 1719s ok 373 /checksum/SHA1/1 1719s ok 374 /checksum/SHA1/2 1719s ok 375 /checksum/SHA1/3 1719s ok 376 /checksum/SHA1/4 1719s ok 377 /checksum/SHA1/5 1719s ok 378 /checksum/SHA1/6 1719s ok 379 /checksum/SHA1/7 1719s ok 380 /checksum/SHA1/8 1719s ok 381 /checksum/SHA1/9 1719s ok 382 /checksum/SHA1/10 1719s ok 383 /checksum/SHA1/11 1719s ok 384 /checksum/SHA1/12 1719s ok 385 /checksum/SHA1/13 1719s ok 386 /checksum/SHA1/14 1719s ok 387 /checksum/SHA1/15 1719s ok 388 /checksum/SHA1/16 1719s ok 389 /checksum/SHA1/17 1719s ok 390 /checksum/SHA1/18 1719s ok 391 /checksum/SHA1/19 1719s ok 392 /checksum/SHA1/20 1719s ok 393 /checksum/SHA1/21 1719s ok 394 /checksum/SHA1/22 1719s ok 395 /checksum/SHA1/23 1719s ok 396 /checksum/SHA1/24 1719s ok 397 /checksum/SHA1/25 1719s ok 398 /checksum/SHA1/26 1719s ok 399 /checksum/SHA1/27 1719s ok 400 /checksum/SHA1/28 1719s ok 401 /checksum/SHA1/29 1719s ok 402 /checksum/SHA1/30 1719s ok 403 /checksum/SHA1/31 1719s ok 404 /checksum/SHA1/32 1719s ok 405 /checksum/SHA1/33 1719s ok 406 /checksum/SHA1/34 1719s ok 407 /checksum/SHA1/35 1719s ok 408 /checksum/SHA1/36 1719s ok 409 /checksum/SHA1/37 1719s ok 410 /checksum/SHA1/38 1719s ok 411 /checksum/SHA1/39 1719s ok 412 /checksum/SHA1/40 1719s ok 413 /checksum/SHA1/41 1719s ok 414 /checksum/SHA1/42 1719s ok 415 /checksum/SHA1/43 1719s ok 416 /checksum/SHA1/44 1719s ok 417 /checksum/SHA1/45 1719s ok 418 /checksum/SHA1/46 1719s ok 419 /checksum/SHA1/47 1719s ok 420 /checksum/SHA1/48 1719s ok 421 /checksum/SHA1/49 1719s ok 422 /checksum/SHA1/50 1719s ok 423 /checksum/SHA1/51 1719s ok 424 /checksum/SHA1/52 1719s ok 425 /checksum/SHA1/53 1719s ok 426 /checksum/SHA1/54 1719s ok 427 /checksum/SHA1/55 1719s ok 428 /checksum/SHA1/56 1719s ok 429 /checksum/SHA1/57 1719s ok 430 /checksum/SHA1/58 1719s ok 431 /checksum/SHA1/59 1719s ok 432 /checksum/SHA1/60 1719s ok 433 /checksum/SHA1/61 1719s ok 434 /checksum/SHA1/62 1719s ok 435 /checksum/SHA1/63 1719s ok 436 /checksum/SHA1/64 1719s ok 437 /checksum/SHA1/65 1719s ok 438 /checksum/SHA1/66 1719s ok 439 /checksum/SHA1/67 1719s ok 440 /checksum/SHA1/68 1719s ok 441 /checksum/SHA1/69 1719s ok 442 /checksum/SHA1/70 1719s ok 443 /checksum/SHA1/71 1719s ok 444 /checksum/SHA1/72 1719s ok 445 /checksum/SHA1/73 1719s ok 446 /checksum/SHA1/74 1719s ok 447 /checksum/SHA1/75 1719s ok 448 /checksum/SHA1/76 1719s ok 449 /checksum/SHA1/77 1719s ok 450 /checksum/SHA1/78 1719s ok 451 /checksum/SHA1/79 1719s ok 452 /checksum/SHA1/80 1719s ok 453 /checksum/SHA1/81 1719s ok 454 /checksum/SHA1/82 1719s ok 455 /checksum/SHA1/83 1719s ok 456 /checksum/SHA1/84 1719s ok 457 /checksum/SHA1/85 1719s ok 458 /checksum/SHA1/86 1719s ok 459 /checksum/SHA1/87 1719s ok 460 /checksum/SHA1/88 1719s ok 461 /checksum/SHA1/89 1719s ok 462 /checksum/SHA1/90 1719s ok 463 /checksum/SHA1/91 1719s ok 464 /checksum/SHA1/92 1719s ok 465 /checksum/SHA1/93 1719s ok 466 /checksum/SHA1/94 1719s ok 467 /checksum/SHA1/95 1719s ok 468 /checksum/SHA1/96 1719s ok 469 /checksum/SHA1/97 1719s ok 470 /checksum/SHA1/98 1719s ok 471 /checksum/SHA1/99 1719s ok 472 /checksum/SHA1/100 1719s ok 473 /checksum/SHA1/101 1719s ok 474 /checksum/SHA1/102 1719s ok 475 /checksum/SHA1/103 1719s ok 476 /checksum/SHA1/104 1719s ok 477 /checksum/SHA1/105 1719s ok 478 /checksum/SHA1/106 1719s ok 479 /checksum/SHA1/107 1719s ok 480 /checksum/SHA1/108 1719s ok 481 /checksum/SHA1/109 1719s ok 482 /checksum/SHA1/110 1719s ok 483 /checksum/SHA1/111 1719s ok 484 /checksum/SHA1/112 1719s ok 485 /checksum/SHA1/113 1719s ok 486 /checksum/SHA1/114 1719s ok 487 /checksum/SHA1/115 1719s ok 488 /checksum/SHA1/116 1719s ok 489 /checksum/SHA1/117 1719s ok 490 /checksum/SHA1/118 1719s ok 491 /checksum/SHA1/119 1719s ok 492 /checksum/SHA1/120 1719s ok 493 /checksum/SHA1/121 1719s ok 494 /checksum/SHA1/122 1719s ok 495 /checksum/SHA1/123 1719s ok 496 /checksum/SHA1/124 1719s ok 497 /checksum/SHA1/125 1719s ok 498 /checksum/SHA1/126 1719s ok 499 /checksum/SHA1/127 1719s ok 500 /checksum/SHA1/128 1719s ok 501 /checksum/SHA1/129 1719s ok 502 /checksum/SHA1/130 1719s ok 503 /checksum/SHA1/131 1719s ok 504 /checksum/SHA1/132 1719s ok 505 /checksum/SHA1/133 1719s ok 506 /checksum/SHA1/134 1719s ok 507 /checksum/SHA1/135 1719s ok 508 /checksum/SHA1/136 1719s ok 509 /checksum/SHA1/137 1719s ok 510 /checksum/SHA1/138 1719s ok 511 /checksum/SHA1/139 1719s ok 512 /checksum/SHA1/140 1719s ok 513 /checksum/SHA1/141 1719s ok 514 /checksum/SHA1/142 1719s ok 515 /checksum/SHA1/143 1719s ok 516 /checksum/SHA1/144 1719s ok 517 /checksum/SHA1/145 1719s ok 518 /checksum/SHA1/146 1719s ok 519 /checksum/SHA1/147 1719s ok 520 /checksum/SHA1/148 1719s ok 521 /checksum/SHA1/149 1719s ok 522 /checksum/SHA1/150 1719s ok 523 /checksum/SHA1/151 1719s ok 524 /checksum/SHA1/152 1719s ok 525 /checksum/SHA1/153 1719s ok 526 /checksum/SHA1/154 1719s ok 527 /checksum/SHA1/155 1719s ok 528 /checksum/SHA1/156 1719s ok 529 /checksum/SHA1/157 1719s ok 530 /checksum/SHA1/158 1719s ok 531 /checksum/SHA1/159 1719s ok 532 /checksum/SHA1/160 1719s ok 533 /checksum/SHA1/161 1719s ok 534 /checksum/SHA1/162 1719s ok 535 /checksum/SHA1/163 1719s ok 536 /checksum/SHA1/164 1719s ok 537 /checksum/SHA1/165 1719s ok 538 /checksum/SHA1/166 1719s ok 539 /checksum/SHA1/167 1719s ok 540 /checksum/SHA1/168 1719s ok 541 /checksum/SHA1/169 1719s ok 542 /checksum/SHA1/170 1719s ok 543 /checksum/SHA1/171 1719s ok 544 /checksum/SHA1/172 1719s ok 545 /checksum/SHA1/173 1719s ok 546 /checksum/SHA1/174 1719s ok 547 /checksum/SHA1/175 1719s ok 548 /checksum/SHA1/176 1719s ok 549 /checksum/SHA1/177 1719s ok 550 /checksum/SHA1/178 1719s ok 551 /checksum/SHA1/179 1719s ok 552 /checksum/SHA1/180 1719s ok 553 /checksum/SHA1/181 1719s ok 554 /checksum/SHA1/182 1719s ok 555 /checksum/SHA1/183 1719s ok 556 /checksum/SHA1/string 1719s ok 557 /checksum/SHA1/bytes 1719s # Start of reset tests 1719s ok 558 /checksum/SHA1/reset/0 1719s ok 559 /checksum/SHA1/reset/1 1719s ok 560 /checksum/SHA1/reset/2 1719s ok 561 /checksum/SHA1/reset/3 1719s ok 562 /checksum/SHA1/reset/4 1719s ok 563 /checksum/SHA1/reset/5 1719s ok 564 /checksum/SHA1/reset/6 1719s ok 565 /checksum/SHA1/reset/7 1719s ok 566 /checksum/SHA1/reset/8 1719s ok 567 /checksum/SHA1/reset/9 1719s ok 568 /checksum/SHA1/reset/10 1719s ok 569 /checksum/SHA1/reset/11 1719s ok 570 /checksum/SHA1/reset/12 1719s ok 571 /checksum/SHA1/reset/13 1719s ok 572 /checksum/SHA1/reset/14 1719s ok 573 /checksum/SHA1/reset/15 1719s ok 574 /checksum/SHA1/reset/16 1719s ok 575 /checksum/SHA1/reset/17 1719s ok 576 /checksum/SHA1/reset/18 1719s ok 577 /checksum/SHA1/reset/19 1719s ok 578 /checksum/SHA1/reset/20 1719s ok 579 /checksum/SHA1/reset/21 1719s ok 580 /checksum/SHA1/reset/22 1719s ok 581 /checksum/SHA1/reset/23 1719s ok 582 /checksum/SHA1/reset/24 1719s ok 583 /checksum/SHA1/reset/25 1719s ok 584 /checksum/SHA1/reset/26 1719s ok 585 /checksum/SHA1/reset/27 1719s ok 586 /checksum/SHA1/reset/28 1719s ok 587 /checksum/SHA1/reset/29 1719s ok 588 /checksum/SHA1/reset/30 1719s ok 589 /checksum/SHA1/reset/31 1719s ok 590 /checksum/SHA1/reset/32 1719s ok 591 /checksum/SHA1/reset/33 1719s ok 592 /checksum/SHA1/reset/34 1719s ok 593 /checksum/SHA1/reset/35 1719s ok 594 /checksum/SHA1/reset/36 1719s ok 595 /checksum/SHA1/reset/37 1719s ok 596 /checksum/SHA1/reset/38 1719s ok 597 /checksum/SHA1/reset/39 1719s ok 598 /checksum/SHA1/reset/40 1719s ok 599 /checksum/SHA1/reset/41 1719s ok 600 /checksum/SHA1/reset/42 1719s ok 601 /checksum/SHA1/reset/43 1719s ok 602 /checksum/SHA1/reset/44 1719s ok 603 /checksum/SHA1/reset/45 1719s ok 604 /checksum/SHA1/reset/46 1719s ok 605 /checksum/SHA1/reset/47 1719s ok 606 /checksum/SHA1/reset/48 1719s ok 607 /checksum/SHA1/reset/49 1719s ok 608 /checksum/SHA1/reset/50 1719s ok 609 /checksum/SHA1/reset/51 1719s ok 610 /checksum/SHA1/reset/52 1719s ok 611 /checksum/SHA1/reset/53 1719s ok 612 /checksum/SHA1/reset/54 1719s ok 613 /checksum/SHA1/reset/55 1719s ok 614 /checksum/SHA1/reset/56 1719s ok 615 /checksum/SHA1/reset/57 1719s ok 616 /checksum/SHA1/reset/58 1719s ok 617 /checksum/SHA1/reset/59 1719s ok 618 /checksum/SHA1/reset/60 1719s ok 619 /checksum/SHA1/reset/61 1719s ok 620 /checksum/SHA1/reset/62 1719s ok 621 /checksum/SHA1/reset/63 1719s ok 622 /checksum/SHA1/reset/64 1719s ok 623 /checksum/SHA1/reset/65 1719s ok 624 /checksum/SHA1/reset/66 1719s ok 625 /checksum/SHA1/reset/67 1719s ok 626 /checksum/SHA1/reset/68 1719s ok 627 /checksum/SHA1/reset/69 1719s ok 628 /checksum/SHA1/reset/70 1719s ok 629 /checksum/SHA1/reset/71 1719s ok 630 /checksum/SHA1/reset/72 1719s ok 631 /checksum/SHA1/reset/73 1719s ok 632 /checksum/SHA1/reset/74 1719s ok 633 /checksum/SHA1/reset/75 1719s ok 634 /checksum/SHA1/reset/76 1719s ok 635 /checksum/SHA1/reset/77 1719s ok 636 /checksum/SHA1/reset/78 1719s ok 637 /checksum/SHA1/reset/79 1719s ok 638 /checksum/SHA1/reset/80 1719s ok 639 /checksum/SHA1/reset/81 1719s ok 640 /checksum/SHA1/reset/82 1719s ok 641 /checksum/SHA1/reset/83 1719s ok 642 /checksum/SHA1/reset/84 1719s ok 643 /checksum/SHA1/reset/85 1719s ok 644 /checksum/SHA1/reset/86 1719s ok 645 /checksum/SHA1/reset/87 1719s ok 646 /checksum/SHA1/reset/88 1719s ok 647 /checksum/SHA1/reset/89 1719s ok 648 /checksum/SHA1/reset/90 1719s ok 649 /checksum/SHA1/reset/91 1719s ok 650 /checksum/SHA1/reset/92 1719s ok 651 /checksum/SHA1/reset/93 1719s ok 652 /checksum/SHA1/reset/94 1719s ok 653 /checksum/SHA1/reset/95 1719s ok 654 /checksum/SHA1/reset/96 1719s ok 655 /checksum/SHA1/reset/97 1719s ok 656 /checksum/SHA1/reset/98 1719s ok 657 /checksum/SHA1/reset/99 1719s ok 658 /checksum/SHA1/reset/100 1719s ok 659 /checksum/SHA1/reset/101 1719s ok 660 /checksum/SHA1/reset/102 1719s ok 661 /checksum/SHA1/reset/103 1719s ok 662 /checksum/SHA1/reset/104 1719s ok 663 /checksum/SHA1/reset/105 1719s ok 664 /checksum/SHA1/reset/106 1719s ok 665 /checksum/SHA1/reset/107 1719s ok 666 /checksum/SHA1/reset/108 1719s ok 667 /checksum/SHA1/reset/109 1719s ok 668 /checksum/SHA1/reset/110 1719s ok 669 /checksum/SHA1/reset/111 1719s ok 670 /checksum/SHA1/reset/112 1719s ok 671 /checksum/SHA1/reset/113 1719s ok 672 /checksum/SHA1/reset/114 1719s ok 673 /checksum/SHA1/reset/115 1719s ok 674 /checksum/SHA1/reset/116 1719s ok 675 /checksum/SHA1/reset/117 1719s ok 676 /checksum/SHA1/reset/118 1719s ok 677 /checksum/SHA1/reset/119 1719s ok 678 /checksum/SHA1/reset/120 1719s ok 679 /checksum/SHA1/reset/121 1719s ok 680 /checksum/SHA1/reset/122 1719s ok 681 /checksum/SHA1/reset/123 1719s ok 682 /checksum/SHA1/reset/124 1719s ok 683 /checksum/SHA1/reset/125 1719s ok 684 /checksum/SHA1/reset/126 1719s ok 685 /checksum/SHA1/reset/127 1719s ok 686 /checksum/SHA1/reset/128 1719s ok 687 /checksum/SHA1/reset/129 1719s ok 688 /checksum/SHA1/reset/130 1719s ok 689 /checksum/SHA1/reset/131 1719s ok 690 /checksum/SHA1/reset/132 1719s ok 691 /checksum/SHA1/reset/133 1719s ok 692 /checksum/SHA1/reset/134 1719s ok 693 /checksum/SHA1/reset/135 1719s ok 694 /checksum/SHA1/reset/136 1719s ok 695 /checksum/SHA1/reset/137 1719s ok 696 /checksum/SHA1/reset/138 1719s ok 697 /checksum/SHA1/reset/139 1719s ok 698 /checksum/SHA1/reset/140 1719s ok 699 /checksum/SHA1/reset/141 1719s ok 700 /checksum/SHA1/reset/142 1719s ok 701 /checksum/SHA1/reset/143 1719s ok 702 /checksum/SHA1/reset/144 1719s ok 703 /checksum/SHA1/reset/145 1719s ok 704 /checksum/SHA1/reset/146 1719s ok 705 /checksum/SHA1/reset/147 1719s ok 706 /checksum/SHA1/reset/148 1719s ok 707 /checksum/SHA1/reset/149 1719s ok 708 /checksum/SHA1/reset/150 1719s ok 709 /checksum/SHA1/reset/151 1719s ok 710 /checksum/SHA1/reset/152 1719s ok 711 /checksum/SHA1/reset/153 1719s ok 712 /checksum/SHA1/reset/154 1719s ok 713 /checksum/SHA1/reset/155 1719s ok 714 /checksum/SHA1/reset/156 1719s ok 715 /checksum/SHA1/reset/157 1719s ok 716 /checksum/SHA1/reset/158 1719s ok 717 /checksum/SHA1/reset/159 1719s ok 718 /checksum/SHA1/reset/160 1719s ok 719 /checksum/SHA1/reset/161 1719s ok 720 /checksum/SHA1/reset/162 1719s ok 721 /checksum/SHA1/reset/163 1719s ok 722 /checksum/SHA1/reset/164 1719s ok 723 /checksum/SHA1/reset/165 1719s ok 724 /checksum/SHA1/reset/166 1719s ok 725 /checksum/SHA1/reset/167 1719s ok 726 /checksum/SHA1/reset/168 1719s ok 727 /checksum/SHA1/reset/169 1719s ok 728 /checksum/SHA1/reset/170 1719s ok 729 /checksum/SHA1/reset/171 1719s ok 730 /checksum/SHA1/reset/172 1719s ok 731 /checksum/SHA1/reset/173 1719s ok 732 /checksum/SHA1/reset/174 1719s ok 733 /checksum/SHA1/reset/175 1719s ok 734 /checksum/SHA1/reset/176 1719s ok 735 /checksum/SHA1/reset/177 1719s ok 736 /checksum/SHA1/reset/178 1719s ok 737 /checksum/SHA1/reset/179 1719s ok 738 /checksum/SHA1/reset/180 1719s ok 739 /checksum/SHA1/reset/181 1719s ok 740 /checksum/SHA1/reset/182 1719s ok 741 /checksum/SHA1/reset/183 1719s # End of reset tests 1719s # End of SHA1 tests 1719s # Start of SHA256 tests 1719s ok 742 /checksum/SHA256/0 1719s ok 743 /checksum/SHA256/1 1719s ok 744 /checksum/SHA256/2 1719s ok 745 /checksum/SHA256/3 1719s ok 746 /checksum/SHA256/4 1719s ok 747 /checksum/SHA256/5 1719s ok 748 /checksum/SHA256/6 1719s ok 749 /checksum/SHA256/7 1719s ok 750 /checksum/SHA256/8 1719s ok 751 /checksum/SHA256/9 1719s ok 752 /checksum/SHA256/10 1719s ok 753 /checksum/SHA256/11 1719s ok 754 /checksum/SHA256/12 1719s ok 755 /checksum/SHA256/13 1719s ok 756 /checksum/SHA256/14 1719s ok 757 /checksum/SHA256/15 1719s ok 758 /checksum/SHA256/16 1719s ok 759 /checksum/SHA256/17 1719s ok 760 /checksum/SHA256/18 1719s ok 761 /checksum/SHA256/19 1719s ok 762 /checksum/SHA256/20 1719s ok 763 /checksum/SHA256/21 1719s ok 764 /checksum/SHA256/22 1719s ok 765 /checksum/SHA256/23 1719s ok 766 /checksum/SHA256/24 1719s ok 767 /checksum/SHA256/25 1719s ok 768 /checksum/SHA256/26 1719s ok 769 /checksum/SHA256/27 1719s ok 770 /checksum/SHA256/28 1719s ok 771 /checksum/SHA256/29 1719s ok 772 /checksum/SHA256/30 1719s ok 773 /checksum/SHA256/31 1719s ok 774 /checksum/SHA256/32 1719s ok 775 /checksum/SHA256/33 1719s ok 776 /checksum/SHA256/34 1719s ok 777 /checksum/SHA256/35 1719s ok 778 /checksum/SHA256/36 1719s ok 779 /checksum/SHA256/37 1719s ok 780 /checksum/SHA256/38 1719s ok 781 /checksum/SHA256/39 1719s ok 782 /checksum/SHA256/40 1719s ok 783 /checksum/SHA256/41 1719s ok 784 /checksum/SHA256/42 1719s ok 785 /checksum/SHA256/43 1719s ok 786 /checksum/SHA256/44 1719s ok 787 /checksum/SHA256/45 1719s ok 788 /checksum/SHA256/46 1719s ok 789 /checksum/SHA256/47 1719s ok 790 /checksum/SHA256/48 1719s ok 791 /checksum/SHA256/49 1719s ok 792 /checksum/SHA256/50 1719s ok 793 /checksum/SHA256/51 1719s ok 794 /checksum/SHA256/52 1719s ok 795 /checksum/SHA256/53 1719s ok 796 /checksum/SHA256/54 1719s ok 797 /checksum/SHA256/55 1719s ok 798 /checksum/SHA256/56 1719s ok 799 /checksum/SHA256/57 1719s ok 800 /checksum/SHA256/58 1719s ok 801 /checksum/SHA256/59 1719s ok 802 /checksum/SHA256/60 1719s ok 803 /checksum/SHA256/61 1719s ok 804 /checksum/SHA256/62 1719s ok 805 /checksum/SHA256/63 1719s ok 806 /checksum/SHA256/64 1719s ok 807 /checksum/SHA256/65 1719s ok 808 /checksum/SHA256/66 1719s ok 809 /checksum/SHA256/67 1719s ok 810 /checksum/SHA256/68 1719s ok 811 /checksum/SHA256/69 1719s ok 812 /checksum/SHA256/70 1719s ok 813 /checksum/SHA256/71 1719s ok 814 /checksum/SHA256/72 1719s ok 815 /checksum/SHA256/73 1719s ok 816 /checksum/SHA256/74 1719s ok 817 /checksum/SHA256/75 1719s ok 818 /checksum/SHA256/76 1719s ok 819 /checksum/SHA256/77 1719s ok 820 /checksum/SHA256/78 1719s ok 821 /checksum/SHA256/79 1719s ok 822 /checksum/SHA256/80 1719s ok 823 /checksum/SHA256/81 1719s ok 824 /checksum/SHA256/82 1719s ok 825 /checksum/SHA256/83 1719s ok 826 /checksum/SHA256/84 1719s ok 827 /checksum/SHA256/85 1719s ok 828 /checksum/SHA256/86 1719s ok 829 /checksum/SHA256/87 1719s ok 830 /checksum/SHA256/88 1719s ok 831 /checksum/SHA256/89 1719s ok 832 /checksum/SHA256/90 1719s ok 833 /checksum/SHA256/91 1719s ok 834 /checksum/SHA256/92 1719s ok 835 /checksum/SHA256/93 1719s ok 836 /checksum/SHA256/94 1719s ok 837 /checksum/SHA256/95 1719s ok 838 /checksum/SHA256/96 1719s ok 839 /checksum/SHA256/97 1719s ok 840 /checksum/SHA256/98 1719s ok 841 /checksum/SHA256/99 1719s ok 842 /checksum/SHA256/100 1719s ok 843 /checksum/SHA256/101 1719s ok 844 /checksum/SHA256/102 1719s ok 845 /checksum/SHA256/103 1719s ok 846 /checksum/SHA256/104 1719s ok 847 /checksum/SHA256/105 1719s ok 848 /checksum/SHA256/106 1719s ok 849 /checksum/SHA256/107 1719s ok 850 /checksum/SHA256/108 1719s ok 851 /checksum/SHA256/109 1719s ok 852 /checksum/SHA256/110 1719s ok 853 /checksum/SHA256/111 1719s ok 854 /checksum/SHA256/112 1719s ok 855 /checksum/SHA256/113 1719s ok 856 /checksum/SHA256/114 1719s ok 857 /checksum/SHA256/115 1719s ok 858 /checksum/SHA256/116 1719s ok 859 /checksum/SHA256/117 1719s ok 860 /checksum/SHA256/118 1719s ok 861 /checksum/SHA256/119 1719s ok 862 /checksum/SHA256/120 1719s ok 863 /checksum/SHA256/121 1719s ok 864 /checksum/SHA256/122 1719s ok 865 /checksum/SHA256/123 1719s ok 866 /checksum/SHA256/124 1719s ok 867 /checksum/SHA256/125 1719s ok 868 /checksum/SHA256/126 1719s ok 869 /checksum/SHA256/127 1719s ok 870 /checksum/SHA256/128 1719s ok 871 /checksum/SHA256/129 1719s ok 872 /checksum/SHA256/130 1719s ok 873 /checksum/SHA256/131 1719s ok 874 /checksum/SHA256/132 1719s ok 875 /checksum/SHA256/133 1719s ok 876 /checksum/SHA256/134 1719s ok 877 /checksum/SHA256/135 1719s ok 878 /checksum/SHA256/136 1719s ok 879 /checksum/SHA256/137 1719s ok 880 /checksum/SHA256/138 1719s ok 881 /checksum/SHA256/139 1719s ok 882 /checksum/SHA256/140 1719s ok 883 /checksum/SHA256/141 1719s ok 884 /checksum/SHA256/142 1719s ok 885 /checksum/SHA256/143 1719s ok 886 /checksum/SHA256/144 1719s ok 887 /checksum/SHA256/145 1719s ok 888 /checksum/SHA256/146 1719s ok 889 /checksum/SHA256/147 1719s ok 890 /checksum/SHA256/148 1719s ok 891 /checksum/SHA256/149 1719s ok 892 /checksum/SHA256/150 1719s ok 893 /checksum/SHA256/151 1719s ok 894 /checksum/SHA256/152 1719s ok 895 /checksum/SHA256/153 1719s ok 896 /checksum/SHA256/154 1719s ok 897 /checksum/SHA256/155 1719s ok 898 /checksum/SHA256/156 1719s ok 899 /checksum/SHA256/157 1719s ok 900 /checksum/SHA256/158 1719s ok 901 /checksum/SHA256/159 1719s ok 902 /checksum/SHA256/160 1719s ok 903 /checksum/SHA256/161 1719s ok 904 /checksum/SHA256/162 1719s ok 905 /checksum/SHA256/163 1719s ok 906 /checksum/SHA256/164 1719s ok 907 /checksum/SHA256/165 1719s ok 908 /checksum/SHA256/166 1719s ok 909 /checksum/SHA256/167 1719s ok 910 /checksum/SHA256/168 1719s ok 911 /checksum/SHA256/169 1719s ok 912 /checksum/SHA256/170 1719s ok 913 /checksum/SHA256/171 1719s ok 914 /checksum/SHA256/172 1719s ok 915 /checksum/SHA256/173 1719s ok 916 /checksum/SHA256/174 1719s ok 917 /checksum/SHA256/175 1719s ok 918 /checksum/SHA256/176 1719s ok 919 /checksum/SHA256/177 1719s ok 920 /checksum/SHA256/178 1719s ok 921 /checksum/SHA256/179 1719s ok 922 /checksum/SHA256/180 1719s ok 923 /checksum/SHA256/181 1719s ok 924 /checksum/SHA256/182 1719s ok 925 /checksum/SHA256/183 1719s ok 926 /checksum/SHA256/string 1719s ok 927 /checksum/SHA256/bytes 1719s # Start of reset tests 1719s ok 928 /checksum/SHA256/reset/0 1719s ok 929 /checksum/SHA256/reset/1 1719s ok 930 /checksum/SHA256/reset/2 1719s ok 931 /checksum/SHA256/reset/3 1719s ok 932 /checksum/SHA256/reset/4 1719s ok 933 /checksum/SHA256/reset/5 1719s ok 934 /checksum/SHA256/reset/6 1719s ok 935 /checksum/SHA256/reset/7 1719s ok 936 /checksum/SHA256/reset/8 1719s ok 937 /checksum/SHA256/reset/9 1719s ok 938 /checksum/SHA256/reset/10 1719s ok 939 /checksum/SHA256/reset/11 1719s ok 940 /checksum/SHA256/reset/12 1719s ok 941 /checksum/SHA256/reset/13 1719s ok 942 /checksum/SHA256/reset/14 1719s ok 943 /checksum/SHA256/reset/15 1719s ok 944 /checksum/SHA256/reset/16 1719s ok 945 /checksum/SHA256/reset/17 1719s ok 946 /checksum/SHA256/reset/18 1719s ok 947 /checksum/SHA256/reset/19 1719s ok 948 /checksum/SHA256/reset/20 1719s ok 949 /checksum/SHA256/reset/21 1719s ok 950 /checksum/SHA256/reset/22 1719s ok 951 /checksum/SHA256/reset/23 1719s ok 952 /checksum/SHA256/reset/24 1719s ok 953 /checksum/SHA256/reset/25 1719s ok 954 /checksum/SHA256/reset/26 1719s ok 955 /checksum/SHA256/reset/27 1719s ok 956 /checksum/SHA256/reset/28 1719s ok 957 /checksum/SHA256/reset/29 1719s ok 958 /checksum/SHA256/reset/30 1719s ok 959 /checksum/SHA256/reset/31 1719s ok 960 /checksum/SHA256/reset/32 1719s ok 961 /checksum/SHA256/reset/33 1719s ok 962 /checksum/SHA256/reset/34 1719s ok 963 /checksum/SHA256/reset/35 1719s ok 964 /checksum/SHA256/reset/36 1719s ok 965 /checksum/SHA256/reset/37 1719s ok 966 /checksum/SHA256/reset/38 1719s ok 967 /checksum/SHA256/reset/39 1719s ok 968 /checksum/SHA256/reset/40 1719s ok 969 /checksum/SHA256/reset/41 1719s ok 970 /checksum/SHA256/reset/42 1719s ok 971 /checksum/SHA256/reset/43 1719s ok 972 /checksum/SHA256/reset/44 1719s ok 973 /checksum/SHA256/reset/45 1719s ok 974 /checksum/SHA256/reset/46 1719s ok 975 /checksum/SHA256/reset/47 1719s ok 976 /checksum/SHA256/reset/48 1719s ok 977 /checksum/SHA256/reset/49 1719s ok 978 /checksum/SHA256/reset/50 1719s ok 979 /checksum/SHA256/reset/51 1719s ok 980 /checksum/SHA256/reset/52 1719s ok 981 /checksum/SHA256/reset/53 1719s ok 982 /checksum/SHA256/reset/54 1719s ok 983 /checksum/SHA256/reset/55 1719s ok 984 /checksum/SHA256/reset/56 1719s ok 985 /checksum/SHA256/reset/57 1719s ok 986 /checksum/SHA256/reset/58 1719s ok 987 /checksum/SHA256/reset/59 1719s ok 988 /checksum/SHA256/reset/60 1719s ok 989 /checksum/SHA256/reset/61 1719s ok 990 /checksum/SHA256/reset/62 1719s ok 991 /checksum/SHA256/reset/63 1719s ok 992 /checksum/SHA256/reset/64 1719s ok 993 /checksum/SHA256/reset/65 1719s ok 994 /checksum/SHA256/reset/66 1719s ok 995 /checksum/SHA256/reset/67 1719s ok 996 /checksum/SHA256/reset/68 1719s ok 997 /checksum/SHA256/reset/69 1719s ok 998 /checksum/SHA256/reset/70 1719s ok 999 /checksum/SHA256/reset/71 1719s ok 1000 /checksum/SHA256/reset/72 1719s ok 1001 /checksum/SHA256/reset/73 1719s ok 1002 /checksum/SHA256/reset/74 1719s ok 1003 /checksum/SHA256/reset/75 1719s ok 1004 /checksum/SHA256/reset/76 1719s ok 1005 /checksum/SHA256/reset/77 1719s ok 1006 /checksum/SHA256/reset/78 1719s ok 1007 /checksum/SHA256/reset/79 1719s ok 1008 /checksum/SHA256/reset/80 1719s ok 1009 /checksum/SHA256/reset/81 1719s ok 1010 /checksum/SHA256/reset/82 1719s ok 1011 /checksum/SHA256/reset/83 1719s ok 1012 /checksum/SHA256/reset/84 1719s ok 1013 /checksum/SHA256/reset/85 1719s ok 1014 /checksum/SHA256/reset/86 1719s ok 1015 /checksum/SHA256/reset/87 1719s ok 1016 /checksum/SHA256/reset/88 1719s ok 1017 /checksum/SHA256/reset/89 1719s ok 1018 /checksum/SHA256/reset/90 1719s ok 1019 /checksum/SHA256/reset/91 1719s ok 1020 /checksum/SHA256/reset/92 1719s ok 1021 /checksum/SHA256/reset/93 1719s ok 1022 /checksum/SHA256/reset/94 1719s ok 1023 /checksum/SHA256/reset/95 1719s ok 1024 /checksum/SHA256/reset/96 1719s ok 1025 /checksum/SHA256/reset/97 1719s ok 1026 /checksum/SHA256/reset/98 1719s ok 1027 /checksum/SHA256/reset/99 1719s ok 1028 /checksum/SHA256/reset/100 1719s ok 1029 /checksum/SHA256/reset/101 1719s ok 1030 /checksum/SHA256/reset/102 1719s ok 1031 /checksum/SHA256/reset/103 1719s ok 1032 /checksum/SHA256/reset/104 1719s ok 1033 /checksum/SHA256/reset/105 1719s ok 1034 /checksum/SHA256/reset/106 1719s ok 1035 /checksum/SHA256/reset/107 1719s ok 1036 /checksum/SHA256/reset/108 1719s ok 1037 /checksum/SHA256/reset/109 1719s ok 1038 /checksum/SHA256/reset/110 1719s ok 1039 /checksum/SHA256/reset/111 1719s ok 1040 /checksum/SHA256/reset/112 1719s ok 1041 /checksum/SHA256/reset/113 1719s ok 1042 /checksum/SHA256/reset/114 1719s ok 1043 /checksum/SHA256/reset/115 1719s ok 1044 /checksum/SHA256/reset/116 1719s ok 1045 /checksum/SHA256/reset/117 1719s ok 1046 /checksum/SHA256/reset/118 1719s ok 1047 /checksum/SHA256/reset/119 1719s ok 1048 /checksum/SHA256/reset/120 1719s ok 1049 /checksum/SHA256/reset/121 1719s ok 1050 /checksum/SHA256/reset/122 1719s ok 1051 /checksum/SHA256/reset/123 1719s ok 1052 /checksum/SHA256/reset/124 1719s ok 1053 /checksum/SHA256/reset/125 1719s ok 1054 /checksum/SHA256/reset/126 1719s ok 1055 /checksum/SHA256/reset/127 1719s ok 1056 /checksum/SHA256/reset/128 1719s ok 1057 /checksum/SHA256/reset/129 1719s ok 1058 /checksum/SHA256/reset/130 1719s ok 1059 /checksum/SHA256/reset/131 1719s ok 1060 /checksum/SHA256/reset/132 1719s ok 1061 /checksum/SHA256/reset/133 1719s ok 1062 /checksum/SHA256/reset/134 1719s ok 1063 /checksum/SHA256/reset/135 1719s ok 1064 /checksum/SHA256/reset/136 1719s ok 1065 /checksum/SHA256/reset/137 1719s ok 1066 /checksum/SHA256/reset/138 1719s ok 1067 /checksum/SHA256/reset/139 1719s ok 1068 /checksum/SHA256/reset/140 1719s ok 1069 /checksum/SHA256/reset/141 1719s ok 1070 /checksum/SHA256/reset/142 1719s ok 1071 /checksum/SHA256/reset/143 1719s ok 1072 /checksum/SHA256/reset/144 1719s ok 1073 /checksum/SHA256/reset/145 1719s ok 1074 /checksum/SHA256/reset/146 1719s ok 1075 /checksum/SHA256/reset/147 1719s ok 1076 /checksum/SHA256/reset/148 1719s ok 1077 /checksum/SHA256/reset/149 1719s ok 1078 /checksum/SHA256/reset/150 1719s ok 1079 /checksum/SHA256/reset/151 1719s ok 1080 /checksum/SHA256/reset/152 1719s ok 1081 /checksum/SHA256/reset/153 1719s ok 1082 /checksum/SHA256/reset/154 1719s ok 1083 /checksum/SHA256/reset/155 1719s ok 1084 /checksum/SHA256/reset/156 1719s ok 1085 /checksum/SHA256/reset/157 1719s ok 1086 /checksum/SHA256/reset/158 1719s ok 1087 /checksum/SHA256/reset/159 1719s ok 1088 /checksum/SHA256/reset/160 1719s ok 1089 /checksum/SHA256/reset/161 1719s ok 1090 /checksum/SHA256/reset/162 1719s ok 1091 /checksum/SHA256/reset/163 1719s ok 1092 /checksum/SHA256/reset/164 1719s ok 1093 /checksum/SHA256/reset/165 1719s ok 1094 /checksum/SHA256/reset/166 1719s ok 1095 /checksum/SHA256/reset/167 1719s ok 1096 /checksum/SHA256/reset/168 1719s ok 1097 /checksum/SHA256/reset/169 1719s ok 1098 /checksum/SHA256/reset/170 1719s ok 1099 /checksum/SHA256/reset/171 1719s ok 1100 /checksum/SHA256/reset/172 1719s ok 1101 /checksum/SHA256/reset/173 1719s ok 1102 /checksum/SHA256/reset/174 1719s ok 1103 /checksum/SHA256/reset/175 1719s ok 1104 /checksum/SHA256/reset/176 1719s ok 1105 /checksum/SHA256/reset/177 1719s ok 1106 /checksum/SHA256/reset/178 1719s ok 1107 /checksum/SHA256/reset/179 1719s ok 1108 /checksum/SHA256/reset/180 1719s ok 1109 /checksum/SHA256/reset/181 1719s ok 1110 /checksum/SHA256/reset/182 1719s ok 1111 /checksum/SHA256/reset/183 1719s # End of reset tests 1719s # End of SHA256 tests 1719s # Start of SHA384 tests 1719s ok 1112 /checksum/SHA384/0 1719s ok 1113 /checksum/SHA384/1 1719s ok 1114 /checksum/SHA384/2 1719s ok 1115 /checksum/SHA384/3 1719s ok 1116 /checksum/SHA384/4 1719s ok 1117 /checksum/SHA384/5 1719s ok 1118 /checksum/SHA384/6 1719s ok 1119 /checksum/SHA384/7 1719s ok 1120 /checksum/SHA384/8 1719s ok 1121 /checksum/SHA384/9 1719s ok 1122 /checksum/SHA384/10 1719s ok 1123 /checksum/SHA384/11 1719s ok 1124 /checksum/SHA384/12 1719s ok 1125 /checksum/SHA384/13 1719s ok 1126 /checksum/SHA384/14 1719s ok 1127 /checksum/SHA384/15 1719s ok 1128 /checksum/SHA384/16 1719s ok 1129 /checksum/SHA384/17 1719s ok 1130 /checksum/SHA384/18 1719s ok 1131 /checksum/SHA384/19 1719s ok 1132 /checksum/SHA384/20 1719s ok 1133 /checksum/SHA384/21 1719s ok 1134 /checksum/SHA384/22 1719s ok 1135 /checksum/SHA384/23 1719s ok 1136 /checksum/SHA384/24 1719s ok 1137 /checksum/SHA384/25 1719s ok 1138 /checksum/SHA384/26 1719s ok 1139 /checksum/SHA384/27 1719s ok 1140 /checksum/SHA384/28 1719s ok 1141 /checksum/SHA384/29 1719s ok 1142 /checksum/SHA384/30 1719s ok 1143 /checksum/SHA384/31 1719s ok 1144 /checksum/SHA384/32 1719s ok 1145 /checksum/SHA384/33 1719s ok 1146 /checksum/SHA384/34 1719s ok 1147 /checksum/SHA384/35 1719s ok 1148 /checksum/SHA384/36 1719s ok 1149 /checksum/SHA384/37 1719s ok 1150 /checksum/SHA384/38 1719s ok 1151 /checksum/SHA384/39 1719s ok 1152 /checksum/SHA384/40 1719s ok 1153 /checksum/SHA384/41 1719s ok 1154 /checksum/SHA384/42 1719s ok 1155 /checksum/SHA384/43 1719s ok 1156 /checksum/SHA384/44 1719s ok 1157 /checksum/SHA384/45 1719s ok 1158 /checksum/SHA384/46 1719s ok 1159 /checksum/SHA384/47 1719s ok 1160 /checksum/SHA384/48 1719s ok 1161 /checksum/SHA384/49 1719s ok 1162 /checksum/SHA384/50 1719s ok 1163 /checksum/SHA384/51 1719s ok 1164 /checksum/SHA384/52 1719s ok 1165 /checksum/SHA384/53 1719s ok 1166 /checksum/SHA384/54 1719s ok 1167 /checksum/SHA384/55 1719s ok 1168 /checksum/SHA384/56 1719s ok 1169 /checksum/SHA384/57 1719s ok 1170 /checksum/SHA384/58 1719s ok 1171 /checksum/SHA384/59 1719s ok 1172 /checksum/SHA384/60 1719s ok 1173 /checksum/SHA384/61 1719s ok 1174 /checksum/SHA384/62 1719s ok 1175 /checksum/SHA384/63 1719s ok 1176 /checksum/SHA384/64 1719s ok 1177 /checksum/SHA384/65 1719s ok 1178 /checksum/SHA384/66 1719s ok 1179 /checksum/SHA384/67 1719s ok 1180 /checksum/SHA384/68 1719s ok 1181 /checksum/SHA384/69 1719s ok 1182 /checksum/SHA384/70 1719s ok 1183 /checksum/SHA384/71 1719s ok 1184 /checksum/SHA384/72 1719s ok 1185 /checksum/SHA384/73 1719s ok 1186 /checksum/SHA384/74 1719s ok 1187 /checksum/SHA384/75 1719s ok 1188 /checksum/SHA384/76 1719s ok 1189 /checksum/SHA384/77 1719s ok 1190 /checksum/SHA384/78 1719s ok 1191 /checksum/SHA384/79 1719s ok 1192 /checksum/SHA384/80 1719s ok 1193 /checksum/SHA384/81 1719s ok 1194 /checksum/SHA384/82 1719s ok 1195 /checksum/SHA384/83 1719s ok 1196 /checksum/SHA384/84 1719s ok 1197 /checksum/SHA384/85 1719s ok 1198 /checksum/SHA384/86 1719s ok 1199 /checksum/SHA384/87 1719s ok 1200 /checksum/SHA384/88 1719s ok 1201 /checksum/SHA384/89 1719s ok 1202 /checksum/SHA384/90 1719s ok 1203 /checksum/SHA384/91 1719s ok 1204 /checksum/SHA384/92 1719s ok 1205 /checksum/SHA384/93 1719s ok 1206 /checksum/SHA384/94 1719s ok 1207 /checksum/SHA384/95 1719s ok 1208 /checksum/SHA384/96 1719s ok 1209 /checksum/SHA384/97 1719s ok 1210 /checksum/SHA384/98 1719s ok 1211 /checksum/SHA384/99 1719s ok 1212 /checksum/SHA384/100 1719s ok 1213 /checksum/SHA384/101 1719s ok 1214 /checksum/SHA384/102 1719s ok 1215 /checksum/SHA384/103 1719s ok 1216 /checksum/SHA384/104 1719s ok 1217 /checksum/SHA384/105 1719s ok 1218 /checksum/SHA384/106 1719s ok 1219 /checksum/SHA384/107 1719s ok 1220 /checksum/SHA384/108 1719s ok 1221 /checksum/SHA384/109 1719s ok 1222 /checksum/SHA384/110 1719s ok 1223 /checksum/SHA384/111 1719s ok 1224 /checksum/SHA384/112 1719s ok 1225 /checksum/SHA384/113 1719s ok 1226 /checksum/SHA384/114 1719s ok 1227 /checksum/SHA384/115 1719s ok 1228 /checksum/SHA384/116 1719s ok 1229 /checksum/SHA384/117 1719s ok 1230 /checksum/SHA384/118 1719s ok 1231 /checksum/SHA384/119 1719s ok 1232 /checksum/SHA384/120 1719s ok 1233 /checksum/SHA384/121 1719s ok 1234 /checksum/SHA384/122 1719s ok 1235 /checksum/SHA384/123 1719s ok 1236 /checksum/SHA384/124 1719s ok 1237 /checksum/SHA384/125 1719s ok 1238 /checksum/SHA384/126 1719s ok 1239 /checksum/SHA384/127 1719s ok 1240 /checksum/SHA384/128 1719s ok 1241 /checksum/SHA384/129 1719s ok 1242 /checksum/SHA384/130 1719s ok 1243 /checksum/SHA384/131 1719s ok 1244 /checksum/SHA384/132 1719s ok 1245 /checksum/SHA384/133 1719s ok 1246 /checksum/SHA384/134 1719s ok 1247 /checksum/SHA384/135 1719s ok 1248 /checksum/SHA384/136 1719s ok 1249 /checksum/SHA384/137 1719s ok 1250 /checksum/SHA384/138 1719s ok 1251 /checksum/SHA384/139 1719s ok 1252 /checksum/SHA384/140 1719s ok 1253 /checksum/SHA384/141 1719s ok 1254 /checksum/SHA384/142 1719s ok 1255 /checksum/SHA384/143 1719s ok 1256 /checksum/SHA384/144 1719s ok 1257 /checksum/SHA384/145 1719s ok 1258 /checksum/SHA384/146 1719s ok 1259 /checksum/SHA384/147 1719s ok 1260 /checksum/SHA384/148 1719s ok 1261 /checksum/SHA384/149 1719s ok 1262 /checksum/SHA384/150 1719s ok 1263 /checksum/SHA384/151 1719s ok 1264 /checksum/SHA384/152 1719s ok 1265 /checksum/SHA384/153 1719s ok 1266 /checksum/SHA384/154 1719s ok 1267 /checksum/SHA384/155 1719s ok 1268 /checksum/SHA384/156 1719s ok 1269 /checksum/SHA384/157 1719s ok 1270 /checksum/SHA384/158 1719s ok 1271 /checksum/SHA384/159 1719s ok 1272 /checksum/SHA384/160 1719s ok 1273 /checksum/SHA384/161 1719s ok 1274 /checksum/SHA384/162 1719s ok 1275 /checksum/SHA384/163 1719s ok 1276 /checksum/SHA384/164 1719s ok 1277 /checksum/SHA384/165 1719s ok 1278 /checksum/SHA384/166 1719s ok 1279 /checksum/SHA384/167 1719s ok 1280 /checksum/SHA384/168 1719s ok 1281 /checksum/SHA384/169 1719s ok 1282 /checksum/SHA384/170 1719s ok 1283 /checksum/SHA384/171 1719s ok 1284 /checksum/SHA384/172 1719s ok 1285 /checksum/SHA384/173 1719s ok 1286 /checksum/SHA384/174 1719s ok 1287 /checksum/SHA384/175 1719s ok 1288 /checksum/SHA384/176 1719s ok 1289 /checksum/SHA384/177 1719s ok 1290 /checksum/SHA384/178 1719s ok 1291 /checksum/SHA384/179 1719s ok 1292 /checksum/SHA384/180 1719s ok 1293 /checksum/SHA384/181 1719s ok 1294 /checksum/SHA384/182 1719s ok 1295 /checksum/SHA384/183 1719s ok 1296 /checksum/SHA384/string 1719s ok 1297 /checksum/SHA384/bytes 1719s # Start of reset tests 1719s ok 1298 /checksum/SHA384/reset/0 1719s ok 1299 /checksum/SHA384/reset/1 1719s ok 1300 /checksum/SHA384/reset/2 1719s ok 1301 /checksum/SHA384/reset/3 1719s ok 1302 /checksum/SHA384/reset/4 1719s ok 1303 /checksum/SHA384/reset/5 1719s ok 1304 /checksum/SHA384/reset/6 1719s ok 1305 /checksum/SHA384/reset/7 1719s ok 1306 /checksum/SHA384/reset/8 1719s ok 1307 /checksum/SHA384/reset/9 1719s ok 1308 /checksum/SHA384/reset/10 1719s ok 1309 /checksum/SHA384/reset/11 1719s ok 1310 /checksum/SHA384/reset/12 1719s ok 1311 /checksum/SHA384/reset/13 1719s ok 1312 /checksum/SHA384/reset/14 1719s ok 1313 /checksum/SHA384/reset/15 1719s ok 1314 /checksum/SHA384/reset/16 1719s ok 1315 /checksum/SHA384/reset/17 1719s ok 1316 /checksum/SHA384/reset/18 1719s ok 1317 /checksum/SHA384/reset/19 1719s ok 1318 /checksum/SHA384/reset/20 1719s ok 1319 /checksum/SHA384/reset/21 1719s ok 1320 /checksum/SHA384/reset/22 1719s ok 1321 /checksum/SHA384/reset/23 1719s ok 1322 /checksum/SHA384/reset/24 1719s ok 1323 /checksum/SHA384/reset/25 1719s ok 1324 /checksum/SHA384/reset/26 1719s ok 1325 /checksum/SHA384/reset/27 1719s ok 1326 /checksum/SHA384/reset/28 1719s ok 1327 /checksum/SHA384/reset/29 1719s ok 1328 /checksum/SHA384/reset/30 1719s ok 1329 /checksum/SHA384/reset/31 1719s ok 1330 /checksum/SHA384/reset/32 1719s ok 1331 /checksum/SHA384/reset/33 1719s ok 1332 /checksum/SHA384/reset/34 1719s ok 1333 /checksum/SHA384/reset/35 1719s ok 1334 /checksum/SHA384/reset/36 1719s ok 1335 /checksum/SHA384/reset/37 1719s ok 1336 /checksum/SHA384/reset/38 1719s ok 1337 /checksum/SHA384/reset/39 1719s ok 1338 /checksum/SHA384/reset/40 1719s ok 1339 /checksum/SHA384/reset/41 1719s ok 1340 /checksum/SHA384/reset/42 1719s ok 1341 /checksum/SHA384/reset/43 1719s ok 1342 /checksum/SHA384/reset/44 1719s ok 1343 /checksum/SHA384/reset/45 1719s ok 1344 /checksum/SHA384/reset/46 1719s ok 1345 /checksum/SHA384/reset/47 1719s ok 1346 /checksum/SHA384/reset/48 1719s ok 1347 /checksum/SHA384/reset/49 1719s ok 1348 /checksum/SHA384/reset/50 1719s ok 1349 /checksum/SHA384/reset/51 1719s ok 1350 /checksum/SHA384/reset/52 1719s ok 1351 /checksum/SHA384/reset/53 1719s ok 1352 /checksum/SHA384/reset/54 1719s ok 1353 /checksum/SHA384/reset/55 1719s ok 1354 /checksum/SHA384/reset/56 1719s ok 1355 /checksum/SHA384/reset/57 1719s ok 1356 /checksum/SHA384/reset/58 1719s ok 1357 /checksum/SHA384/reset/59 1719s ok 1358 /checksum/SHA384/reset/60 1719s ok 1359 /checksum/SHA384/reset/61 1719s ok 1360 /checksum/SHA384/reset/62 1719s ok 1361 /checksum/SHA384/reset/63 1719s ok 1362 /checksum/SHA384/reset/64 1719s ok 1363 /checksum/SHA384/reset/65 1719s ok 1364 /checksum/SHA384/reset/66 1719s ok 1365 /checksum/SHA384/reset/67 1719s ok 1366 /checksum/SHA384/reset/68 1719s ok 1367 /checksum/SHA384/reset/69 1719s ok 1368 /checksum/SHA384/reset/70 1719s ok 1369 /checksum/SHA384/reset/71 1719s ok 1370 /checksum/SHA384/reset/72 1719s ok 1371 /checksum/SHA384/reset/73 1719s ok 1372 /checksum/SHA384/reset/74 1719s ok 1373 /checksum/SHA384/reset/75 1719s ok 1374 /checksum/SHA384/reset/76 1719s ok 1375 /checksum/SHA384/reset/77 1719s ok 1376 /checksum/SHA384/reset/78 1719s ok 1377 /checksum/SHA384/reset/79 1719s ok 1378 /checksum/SHA384/reset/80 1719s ok 1379 /checksum/SHA384/reset/81 1719s ok 1380 /checksum/SHA384/reset/82 1719s ok 1381 /checksum/SHA384/reset/83 1719s ok 1382 /checksum/SHA384/reset/84 1719s ok 1383 /checksum/SHA384/reset/85 1719s ok 1384 /checksum/SHA384/reset/86 1719s ok 1385 /checksum/SHA384/reset/87 1719s ok 1386 /checksum/SHA384/reset/88 1719s ok 1387 /checksum/SHA384/reset/89 1719s ok 1388 /checksum/SHA384/reset/90 1719s ok 1389 /checksum/SHA384/reset/91 1719s ok 1390 /checksum/SHA384/reset/92 1719s ok 1391 /checksum/SHA384/reset/93 1719s ok 1392 /checksum/SHA384/reset/94 1719s ok 1393 /checksum/SHA384/reset/95 1719s ok 1394 /checksum/SHA384/reset/96 1719s ok 1395 /checksum/SHA384/reset/97 1719s ok 1396 /checksum/SHA384/reset/98 1719s ok 1397 /checksum/SHA384/reset/99 1719s ok 1398 /checksum/SHA384/reset/100 1719s ok 1399 /checksum/SHA384/reset/101 1719s ok 1400 /checksum/SHA384/reset/102 1719s ok 1401 /checksum/SHA384/reset/103 1719s ok 1402 /checksum/SHA384/reset/104 1719s ok 1403 /checksum/SHA384/reset/105 1719s ok 1404 /checksum/SHA384/reset/106 1719s ok 1405 /checksum/SHA384/reset/107 1719s ok 1406 /checksum/SHA384/reset/108 1719s ok 1407 /checksum/SHA384/reset/109 1719s ok 1408 /checksum/SHA384/reset/110 1719s ok 1409 /checksum/SHA384/reset/111 1719s ok 1410 /checksum/SHA384/reset/112 1719s ok 1411 /checksum/SHA384/reset/113 1719s ok 1412 /checksum/SHA384/reset/114 1719s ok 1413 /checksum/SHA384/reset/115 1719s ok 1414 /checksum/SHA384/reset/116 1719s ok 1415 /checksum/SHA384/reset/117 1719s ok 1416 /checksum/SHA384/reset/118 1719s ok 1417 /checksum/SHA384/reset/119 1719s ok 1418 /checksum/SHA384/reset/120 1719s ok 1419 /checksum/SHA384/reset/121 1719s ok 1420 /checksum/SHA384/reset/122 1719s ok 1421 /checksum/SHA384/reset/123 1719s ok 1422 /checksum/SHA384/reset/124 1719s ok 1423 /checksum/SHA384/reset/125 1719s ok 1424 /checksum/SHA384/reset/126 1719s ok 1425 /checksum/SHA384/reset/127 1719s ok 1426 /checksum/SHA384/reset/128 1719s ok 1427 /checksum/SHA384/reset/129 1719s ok 1428 /checksum/SHA384/reset/130 1719s ok 1429 /checksum/SHA384/reset/131 1719s ok 1430 /checksum/SHA384/reset/132 1719s ok 1431 /checksum/SHA384/reset/133 1719s ok 1432 /checksum/SHA384/reset/134 1719s ok 1433 /checksum/SHA384/reset/135 1719s ok 1434 /checksum/SHA384/reset/136 1719s ok 1435 /checksum/SHA384/reset/137 1719s ok 1436 /checksum/SHA384/reset/138 1719s ok 1437 /checksum/SHA384/reset/139 1719s ok 1438 /checksum/SHA384/reset/140 1719s ok 1439 /checksum/SHA384/reset/141 1719s ok 1440 /checksum/SHA384/reset/142 1719s ok 1441 /checksum/SHA384/reset/143 1719s ok 1442 /checksum/SHA384/reset/144 1719s ok 1443 /checksum/SHA384/reset/145 1719s ok 1444 /checksum/SHA384/reset/146 1719s ok 1445 /checksum/SHA384/reset/147 1719s ok 1446 /checksum/SHA384/reset/148 1719s ok 1447 /checksum/SHA384/reset/149 1719s ok 1448 /checksum/SHA384/reset/150 1719s ok 1449 /checksum/SHA384/reset/151 1719s ok 1450 /checksum/SHA384/reset/152 1719s ok 1451 /checksum/SHA384/reset/153 1719s ok 1452 /checksum/SHA384/reset/154 1719s ok 1453 /checksum/SHA384/reset/155 1719s ok 1454 /checksum/SHA384/reset/156 1719s ok 1455 /checksum/SHA384/reset/157 1719s ok 1456 /checksum/SHA384/reset/158 1719s ok 1457 /checksum/SHA384/reset/159 1719s ok 1458 /checksum/SHA384/reset/160 1719s ok 1459 /checksum/SHA384/reset/161 1719s ok 1460 /checksum/SHA384/reset/162 1719s ok 1461 /checksum/SHA384/reset/163 1719s ok 1462 /checksum/SHA384/reset/164 1719s ok 1463 /checksum/SHA384/reset/165 1719s ok 1464 /checksum/SHA384/reset/166 1719s ok 1465 /checksum/SHA384/reset/167 1719s ok 1466 /checksum/SHA384/reset/168 1719s ok 1467 /checksum/SHA384/reset/169 1719s ok 1468 /checksum/SHA384/reset/170 1719s ok 1469 /checksum/SHA384/reset/171 1719s ok 1470 /checksum/SHA384/reset/172 1719s ok 1471 /checksum/SHA384/reset/173 1719s ok 1472 /checksum/SHA384/reset/174 1719s ok 1473 /checksum/SHA384/reset/175 1719s ok 1474 /checksum/SHA384/reset/176 1719s ok 1475 /checksum/SHA384/reset/177 1719s ok 1476 /checksum/SHA384/reset/178 1719s ok 1477 /checksum/SHA384/reset/179 1719s ok 1478 /checksum/SHA384/reset/180 1719s ok 1479 /checksum/SHA384/reset/181 1719s ok 1480 /checksum/SHA384/reset/182 1719s ok 1481 /checksum/SHA384/reset/183 1719s # End of reset tests 1719s # End of SHA384 tests 1719s # Start of SHA512 tests 1719s ok 1482 /checksum/SHA512/0 1719s ok 1483 /checksum/SHA512/1 1719s ok 1484 /checksum/SHA512/2 1719s ok 1485 /checksum/SHA512/3 1719s ok 1486 /checksum/SHA512/4 1719s ok 1487 /checksum/SHA512/5 1719s ok 1488 /checksum/SHA512/6 1719s ok 1489 /checksum/SHA512/7 1719s ok 1490 /checksum/SHA512/8 1719s ok 1491 /checksum/SHA512/9 1719s ok 1492 /checksum/SHA512/10 1719s ok 1493 /checksum/SHA512/11 1719s ok 1494 /checksum/SHA512/12 1719s ok 1495 /checksum/SHA512/13 1719s ok 1496 /checksum/SHA512/14 1719s ok 1497 /checksum/SHA512/15 1719s ok 1498 /checksum/SHA512/16 1719s ok 1499 /checksum/SHA512/17 1719s ok 1500 /checksum/SHA512/18 1719s ok 1501 /checksum/SHA512/19 1719s ok 1502 /checksum/SHA512/20 1719s ok 1503 /checksum/SHA512/21 1719s ok 1504 /checksum/SHA512/22 1719s ok 1505 /checksum/SHA512/23 1719s ok 1506 /checksum/SHA512/24 1719s ok 1507 /checksum/SHA512/25 1719s ok 1508 /checksum/SHA512/26 1719s ok 1509 /checksum/SHA512/27 1719s ok 1510 /checksum/SHA512/28 1719s ok 1511 /checksum/SHA512/29 1719s ok 1512 /checksum/SHA512/30 1719s ok 1513 /checksum/SHA512/31 1719s ok 1514 /checksum/SHA512/32 1719s ok 1515 /checksum/SHA512/33 1719s ok 1516 /checksum/SHA512/34 1719s ok 1517 /checksum/SHA512/35 1719s ok 1518 /checksum/SHA512/36 1719s ok 1519 /checksum/SHA512/37 1719s ok 1520 /checksum/SHA512/38 1719s ok 1521 /checksum/SHA512/39 1719s ok 1522 /checksum/SHA512/40 1719s ok 1523 /checksum/SHA512/41 1719s ok 1524 /checksum/SHA512/42 1719s ok 1525 /checksum/SHA512/43 1719s ok 1526 /checksum/SHA512/44 1719s ok 1527 /checksum/SHA512/45 1719s ok 1528 /checksum/SHA512/46 1719s ok 1529 /checksum/SHA512/47 1719s ok 1530 /checksum/SHA512/48 1719s ok 1531 /checksum/SHA512/49 1719s ok 1532 /checksum/SHA512/50 1719s ok 1533 /checksum/SHA512/51 1719s ok 1534 /checksum/SHA512/52 1719s ok 1535 /checksum/SHA512/53 1719s ok 1536 /checksum/SHA512/54 1719s ok 1537 /checksum/SHA512/55 1719s ok 1538 /checksum/SHA512/56 1719s ok 1539 /checksum/SHA512/57 1719s ok 1540 /checksum/SHA512/58 1719s ok 1541 /checksum/SHA512/59 1719s ok 1542 /checksum/SHA512/60 1719s ok 1543 /checksum/SHA512/61 1719s ok 1544 /checksum/SHA512/62 1719s ok 1545 /checksum/SHA512/63 1719s ok 1546 /checksum/SHA512/64 1719s ok 1547 /checksum/SHA512/65 1719s ok 1548 /checksum/SHA512/66 1719s ok 1549 /checksum/SHA512/67 1719s ok 1550 /checksum/SHA512/68 1719s ok 1551 /checksum/SHA512/69 1719s ok 1552 /checksum/SHA512/70 1719s ok 1553 /checksum/SHA512/71 1719s ok 1554 /checksum/SHA512/72 1719s ok 1555 /checksum/SHA512/73 1719s ok 1556 /checksum/SHA512/74 1719s ok 1557 /checksum/SHA512/75 1719s ok 1558 /checksum/SHA512/76 1719s ok 1559 /checksum/SHA512/77 1719s ok 1560 /checksum/SHA512/78 1719s ok 1561 /checksum/SHA512/79 1719s ok 1562 /checksum/SHA512/80 1719s ok 1563 /checksum/SHA512/81 1719s ok 1564 /checksum/SHA512/82 1719s ok 1565 /checksum/SHA512/83 1719s ok 1566 /checksum/SHA512/84 1719s ok 1567 /checksum/SHA512/85 1719s ok 1568 /checksum/SHA512/86 1719s ok 1569 /checksum/SHA512/87 1719s ok 1570 /checksum/SHA512/88 1719s ok 1571 /checksum/SHA512/89 1719s ok 1572 /checksum/SHA512/90 1719s ok 1573 /checksum/SHA512/91 1719s ok 1574 /checksum/SHA512/92 1719s ok 1575 /checksum/SHA512/93 1719s ok 1576 /checksum/SHA512/94 1719s ok 1577 /checksum/SHA512/95 1719s ok 1578 /checksum/SHA512/96 1719s ok 1579 /checksum/SHA512/97 1719s ok 1580 /checksum/SHA512/98 1719s ok 1581 /checksum/SHA512/99 1719s ok 1582 /checksum/SHA512/100 1719s ok 1583 /checksum/SHA512/101 1719s ok 1584 /checksum/SHA512/102 1719s ok 1585 /checksum/SHA512/103 1719s ok 1586 /checksum/SHA512/104 1719s ok 1587 /checksum/SHA512/105 1719s ok 1588 /checksum/SHA512/106 1719s ok 1589 /checksum/SHA512/107 1719s ok 1590 /checksum/SHA512/108 1719s ok 1591 /checksum/SHA512/109 1719s ok 1592 /checksum/SHA512/110 1719s ok 1593 /checksum/SHA512/111 1719s ok 1594 /checksum/SHA512/112 1719s ok 1595 /checksum/SHA512/113 1719s ok 1596 /checksum/SHA512/114 1719s ok 1597 /checksum/SHA512/115 1719s ok 1598 /checksum/SHA512/116 1719s ok 1599 /checksum/SHA512/117 1719s ok 1600 /checksum/SHA512/118 1719s ok 1601 /checksum/SHA512/119 1719s ok 1602 /checksum/SHA512/120 1719s ok 1603 /checksum/SHA512/121 1719s ok 1604 /checksum/SHA512/122 1719s ok 1605 /checksum/SHA512/123 1719s ok 1606 /checksum/SHA512/124 1719s ok 1607 /checksum/SHA512/125 1719s ok 1608 /checksum/SHA512/126 1719s ok 1609 /checksum/SHA512/127 1719s ok 1610 /checksum/SHA512/128 1719s ok 1611 /checksum/SHA512/129 1719s ok 1612 /checksum/SHA512/130 1719s ok 1613 /checksum/SHA512/131 1719s ok 1614 /checksum/SHA512/132 1719s ok 1615 /checksum/SHA512/133 1719s ok 1616 /checksum/SHA512/134 1719s ok 1617 /checksum/SHA512/135 1719s ok 1618 /checksum/SHA512/136 1719s ok 1619 /checksum/SHA512/137 1719s ok 1620 /checksum/SHA512/138 1719s ok 1621 /checksum/SHA512/139 1719s ok 1622 /checksum/SHA512/140 1719s ok 1623 /checksum/SHA512/141 1719s ok 1624 /checksum/SHA512/142 1719s ok 1625 /checksum/SHA512/143 1719s ok 1626 /checksum/SHA512/144 1719s ok 1627 /checksum/SHA512/145 1719s ok 1628 /checksum/SHA512/146 1719s ok 1629 /checksum/SHA512/147 1719s ok 1630 /checksum/SHA512/148 1719s ok 1631 /checksum/SHA512/149 1719s ok 1632 /checksum/SHA512/150 1719s ok 1633 /checksum/SHA512/151 1719s ok 1634 /checksum/SHA512/152 1719s ok 1635 /checksum/SHA512/153 1719s ok 1636 /checksum/SHA512/154 1719s ok 1637 /checksum/SHA512/155 1719s ok 1638 /checksum/SHA512/156 1719s ok 1639 /checksum/SHA512/157 1719s ok 1640 /checksum/SHA512/158 1719s ok 1641 /checksum/SHA512/159 1719s ok 1642 /checksum/SHA512/160 1719s ok 1643 /checksum/SHA512/161 1719s ok 1644 /checksum/SHA512/162 1719s ok 1645 /checksum/SHA512/163 1719s ok 1646 /checksum/SHA512/164 1719s ok 1647 /checksum/SHA512/165 1719s ok 1648 /checksum/SHA512/166 1719s ok 1649 /checksum/SHA512/167 1719s ok 1650 /checksum/SHA512/168 1719s ok 1651 /checksum/SHA512/169 1719s ok 1652 /checksum/SHA512/170 1719s ok 1653 /checksum/SHA512/171 1719s ok 1654 /checksum/SHA512/172 1719s ok 1655 /checksum/SHA512/173 1719s ok 1656 /checksum/SHA512/174 1719s ok 1657 /checksum/SHA512/175 1719s ok 1658 /checksum/SHA512/176 1719s ok 1659 /checksum/SHA512/177 1719s ok 1660 /checksum/SHA512/178 1719s ok 1661 /checksum/SHA512/179 1719s ok 1662 /checksum/SHA512/180 1719s ok 1663 /checksum/SHA512/181 1719s ok 1664 /checksum/SHA512/182 1719s ok 1665 /checksum/SHA512/183 1719s ok 1666 /checksum/SHA512/string 1719s ok 1667 /checksum/SHA512/bytes 1719s # Start of reset tests 1719s ok 1668 /checksum/SHA512/reset/0 1719s ok 1669 /checksum/SHA512/reset/1 1719s ok 1670 /checksum/SHA512/reset/2 1719s ok 1671 /checksum/SHA512/reset/3 1719s ok 1672 /checksum/SHA512/reset/4 1719s ok 1673 /checksum/SHA512/reset/5 1719s ok 1674 /checksum/SHA512/reset/6 1719s ok 1675 /checksum/SHA512/reset/7 1719s ok 1676 /checksum/SHA512/reset/8 1719s ok 1677 /checksum/SHA512/reset/9 1719s ok 1678 /checksum/SHA512/reset/10 1719s ok 1679 /checksum/SHA512/reset/11 1719s ok 1680 /checksum/SHA512/reset/12 1719s ok 1681 /checksum/SHA512/reset/13 1719s ok 1682 /checksum/SHA512/reset/14 1719s ok 1683 /checksum/SHA512/reset/15 1719s ok 1684 /checksum/SHA512/reset/16 1719s ok 1685 /checksum/SHA512/reset/17 1719s ok 1686 /checksum/SHA512/reset/18 1719s ok 1687 /checksum/SHA512/reset/19 1719s ok 1688 /checksum/SHA512/reset/20 1719s ok 1689 /checksum/SHA512/reset/21 1719s ok 1690 /checksum/SHA512/reset/22 1719s ok 1691 /checksum/SHA512/reset/23 1719s ok 1692 /checksum/SHA512/reset/24 1719s ok 1693 /checksum/SHA512/reset/25 1719s ok 1694 /checksum/SHA512/reset/26 1719s ok 1695 /checksum/SHA512/reset/27 1719s ok 1696 /checksum/SHA512/reset/28 1719s ok 1697 /checksum/SHA512/reset/29 1719s ok 1698 /checksum/SHA512/reset/30 1719s ok 1699 /checksum/SHA512/reset/31 1719s ok 1700 /checksum/SHA512/reset/32 1719s ok 1701 /checksum/SHA512/reset/33 1719s ok 1702 /checksum/SHA512/reset/34 1719s ok 1703 /checksum/SHA512/reset/35 1719s ok 1704 /checksum/SHA512/reset/36 1719s ok 1705 /checksum/SHA512/reset/37 1719s ok 1706 /checksum/SHA512/reset/38 1719s ok 1707 /checksum/SHA512/reset/39 1719s ok 1708 /checksum/SHA512/reset/40 1719s ok 1709 /checksum/SHA512/reset/41 1719s ok 1710 /checksum/SHA512/reset/42 1719s ok 1711 /checksum/SHA512/reset/43 1719s ok 1712 /checksum/SHA512/reset/44 1719s ok 1713 /checksum/SHA512/reset/45 1719s ok 1714 /checksum/SHA512/reset/46 1719s ok 1715 /checksum/SHA512/reset/47 1719s ok 1716 /checksum/SHA512/reset/48 1719s ok 1717 /checksum/SHA512/reset/49 1719s ok 1718 /checksum/SHA512/reset/50 1719s ok 1719 /checksum/SHA512/reset/51 1719s ok 1720 /checksum/SHA512/reset/52 1719s ok 1721 /checksum/SHA512/reset/53 1719s ok 1722 /checksum/SHA512/reset/54 1719s ok 1723 /checksum/SHA512/reset/55 1719s ok 1724 /checksum/SHA512/reset/56 1719s ok 1725 /checksum/SHA512/reset/57 1719s ok 1726 /checksum/SHA512/reset/58 1719s ok 1727 /checksum/SHA512/reset/59 1719s ok 1728 /checksum/SHA512/reset/60 1719s ok 1729 /checksum/SHA512/reset/61 1719s ok 1730 /checksum/SHA512/reset/62 1719s ok 1731 /checksum/SHA512/reset/63 1719s ok 1732 /checksum/SHA512/reset/64 1719s ok 1733 /checksum/SHA512/reset/65 1719s ok 1734 /checksum/SHA512/reset/66 1719s ok 1735 /checksum/SHA512/reset/67 1719s ok 1736 /checksum/SHA512/reset/68 1719s ok 1737 /checksum/SHA512/reset/69 1719s ok 1738 /checksum/SHA512/reset/70 1719s ok 1739 /checksum/SHA512/reset/71 1719s ok 1740 /checksum/SHA512/reset/72 1719s ok 1741 /checksum/SHA512/reset/73 1719s ok 1742 /checksum/SHA512/reset/74 1719s ok 1743 /checksum/SHA512/reset/75 1719s ok 1744 /checksum/SHA512/reset/76 1719s ok 1745 /checksum/SHA512/reset/77 1719s ok 1746 /checksum/SHA512/reset/78 1719s ok 1747 /checksum/SHA512/reset/79 1719s ok 1748 /checksum/SHA512/reset/80 1719s ok 1749 /checksum/SHA512/reset/81 1719s ok 1750 /checksum/SHA512/reset/82 1719s ok 1751 /checksum/SHA512/reset/83 1719s ok 1752 /checksum/SHA512/reset/84 1719s ok 1753 /checksum/SHA512/reset/85 1719s ok 1754 /checksum/SHA512/reset/86 1719s ok 1755 /checksum/SHA512/reset/87 1719s ok 1756 /checksum/SHA512/reset/88 1719s ok 1757 /checksum/SHA512/reset/89 1719s ok 1758 /checksum/SHA512/reset/90 1719s ok 1759 /checksum/SHA512/reset/91 1719s ok 1760 /checksum/SHA512/reset/92 1719s ok 1761 /checksum/SHA512/reset/93 1719s ok 1762 /checksum/SHA512/reset/94 1719s ok 1763 /checksum/SHA512/reset/95 1719s ok 1764 /checksum/SHA512/reset/96 1719s ok 1765 /checksum/SHA512/reset/97 1719s ok 1766 /checksum/SHA512/reset/98 1719s ok 1767 /checksum/SHA512/reset/99 1719s ok 1768 /checksum/SHA512/reset/100 1719s ok 1769 /checksum/SHA512/reset/101 1719s ok 1770 /checksum/SHA512/reset/102 1719s ok 1771 /checksum/SHA512/reset/103 1719s ok 1772 /checksum/SHA512/reset/104 1719s ok 1773 /checksum/SHA512/reset/105 1719s ok 1774 /checksum/SHA512/reset/106 1719s ok 1775 /checksum/SHA512/reset/107 1719s ok 1776 /checksum/SHA512/reset/108 1719s ok 1777 /checksum/SHA512/reset/109 1719s ok 1778 /checksum/SHA512/reset/110 1719s ok 1779 /checksum/SHA512/reset/111 1719s ok 1780 /checksum/SHA512/reset/112 1719s ok 1781 /checksum/SHA512/reset/113 1719s ok 1782 /checksum/SHA512/reset/114 1719s ok 1783 /checksum/SHA512/reset/115 1719s ok 1784 /checksum/SHA512/reset/116 1719s ok 1785 /checksum/SHA512/reset/117 1719s ok 1786 /checksum/SHA512/reset/118 1719s ok 1787 /checksum/SHA512/reset/119 1719s ok 1788 /checksum/SHA512/reset/120 1719s ok 1789 /checksum/SHA512/reset/121 1719s ok 1790 /checksum/SHA512/reset/122 1719s ok 1791 /checksum/SHA512/reset/123 1719s ok 1792 /checksum/SHA512/reset/124 1719s ok 1793 /checksum/SHA512/reset/125 1719s ok 1794 /checksum/SHA512/reset/126 1719s ok 1795 /checksum/SHA512/reset/127 1719s ok 1796 /checksum/SHA512/reset/128 1719s ok 1797 /checksum/SHA512/reset/129 1719s ok 1798 /checksum/SHA512/reset/130 1719s ok 1799 /checksum/SHA512/reset/131 1719s ok 1800 /checksum/SHA512/reset/132 1719s ok 1801 /checksum/SHA512/reset/133 1719s ok 1802 /checksum/SHA512/reset/134 1719s ok 1803 /checksum/SHA512/reset/135 1719s ok 1804 /checksum/SHA512/reset/136 1719s ok 1805 /checksum/SHA512/reset/137 1719s ok 1806 /checksum/SHA512/reset/138 1719s ok 1807 /checksum/SHA512/reset/139 1719s ok 1808 /checksum/SHA512/reset/140 1719s ok 1809 /checksum/SHA512/reset/141 1719s ok 1810 /checksum/SHA512/reset/142 1719s ok 1811 /checksum/SHA512/reset/143 1719s ok 1812 /checksum/SHA512/reset/144 1719s ok 1813 /checksum/SHA512/reset/145 1719s ok 1814 /checksum/SHA512/reset/146 1719s ok 1815 /checksum/SHA512/reset/147 1719s ok 1816 /checksum/SHA512/reset/148 1719s ok 1817 /checksum/SHA512/reset/149 1719s ok 1818 /checksum/SHA512/reset/150 1719s ok 1819 /checksum/SHA512/reset/151 1719s ok 1820 /checksum/SHA512/reset/152 1719s ok 1821 /checksum/SHA512/reset/153 1719s ok 1822 /checksum/SHA512/reset/154 1719s ok 1823 /checksum/SHA512/reset/155 1719s ok 1824 /checksum/SHA512/reset/156 1719s ok 1825 /checksum/SHA512/reset/157 1719s ok 1826 /checksum/SHA512/reset/158 1719s ok 1827 /checksum/SHA512/reset/159 1719s ok 1828 /checksum/SHA512/reset/160 1719s ok 1829 /checksum/SHA512/reset/161 1719s ok 1830 /checksum/SHA512/reset/162 1719s ok 1831 /checksum/SHA512/reset/163 1719s ok 1832 /checksum/SHA512/reset/164 1719s ok 1833 /checksum/SHA512/reset/165 1719s ok 1834 /checksum/SHA512/reset/166 1719s ok 1835 /checksum/SHA512/reset/167 1719s ok 1836 /checksum/SHA512/reset/168 1719s ok 1837 /checksum/SHA512/reset/169 1719s ok 1838 /checksum/SHA512/reset/170 1719s ok 1839 /checksum/SHA512/reset/171 1719s ok 1840 /checksum/SHA512/reset/172 1719s ok 1841 /checksum/SHA512/reset/173 1719s ok 1842 /checksum/SHA512/reset/174 1719s ok 1843 /checksum/SHA512/reset/175 1719s ok 1844 /checksum/SHA512/reset/176 1719s ok 1845 /checksum/SHA512/reset/177 1719s ok 1846 /checksum/SHA512/reset/178 1719s ok 1847 /checksum/SHA512/reset/179 1719s ok 1848 /checksum/SHA512/reset/180 1719s ok 1849 /checksum/SHA512/reset/181 1719s ok 1850 /checksum/SHA512/reset/182 1719s ok 1851 /checksum/SHA512/reset/183 1719s # End of reset tests 1719s # End of SHA512 tests 1719s # End of checksum tests 1719s ok - glib/checksum.test 1719s # Running test: glib/debugcontroller.test 1719s TAP version 14 1719s # random seed: R02S019acb2e71562c8e8cbb8f6279707216 1719s 1..3 1719s # Start of debug-controller tests 1719s # Start of dbus tests 1719s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1719s ok - glib/debugcontroller.test 1719s # GLib-GIO-DEBUG: Debug output enabled 1719s # GLib-GIO-DEBUG: Debug output disabled 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s ok 1 /debug-controller/dbus/basic 1719s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1719s ok 2 /debug-controller/dbus/duplicate 1719s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1719s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1719s # End of dbus tests 1719s # End of debug-controller tests 1719s # Running test: glib/giomodule.test 1719s ok - glib/giomodule.test 1719s # Running test: glib/portal-support-flatpak-gsettings-only.test 1719s TAP version 14 1719s # random seed: R02S81c2941aa0291d8fb3cda4911e105e90 1719s 1..3 1719s # Start of giomodule tests 1719s ok 1 /giomodule/extension-point 1719s ok 2 /giomodule/module-scan-all 1719s ok 3 /giomodule/module-scan-all-with-scope 1719s # End of giomodule tests 1719s TAP version 14 1719s # random seed: R02S73a19013f27a911f02a685af3e2d1e5d 1719s 1..1 1719s # Start of portal-support tests 1719s # Start of flatpak tests 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_J6SLK3/portal-support/flatpak/gsettings/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_J6SLK3/portal-support/flatpak/gsettings/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_J6SLK3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_J6SLK3/portal-support/flatpak/gsettings/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_J6SLK3/portal-support/flatpak/gsettings/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_J6SLK3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_J6SLK3/portal-support/flatpak/gsettings/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_J6SLK3/portal-support/flatpak/gsettings/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_J6SLK3/portal-support/flatpak/gsettings/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_J6SLK3/portal-support/flatpak/gsettings/.dirs/runtime 1719s ok - glib/portal-support-flatpak-gsettings-only.test 1719s # Running test: glib/array-test.test 1719s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_J6SLK3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1719s ok 1 /portal-support/flatpak/gsettings 1719s # End of flatpak tests 1719s # End of portal-support tests 1719s TAP version 14 1719s # random seed: R02S45a1741aca6f9c19bcb7805f8afab3c0 1719s 1..120 1719s # Start of array tests 1719s ok 1 /array/ref-count 1719s ok 2 /array/steal 1719s ok 3 /array/clear-func 1719s ok 4 /array/binary-search 1719s ok 5 /array/overflow-append-vals 1719s ok 6 /array/overflow-set-size 1719s # Start of new tests 1719s ok 7 /array/new/zero-terminated 1719s ok 8 /array/new/take 1719s ok 9 /array/new/take-zero-terminated 1719s # Start of take tests 1719s ok 10 /array/new/take/empty 1719s ok 11 /array/new/take/overflow 1719s ok 12 /array/new/take/zero-size 1719s # End of take tests 1719s # Start of take-zero-terminated tests 1719s ok 13 /array/new/take-zero-terminated/zero-size 1719s ok 14 /array/new/take-zero-terminated/null 1719s # End of take-zero-terminated tests 1719s # End of new tests 1719s # Start of copy tests 1719s # /array/copy/sized summary: Test that copying a newly-allocated sized array works. 1719s ok 15 /array/copy/sized 1719s ok 16 /array/copy/zero-terminated 1719s ok 17 /array/copy/non-zero-terminated-no-clear 1719s ok 18 /array/copy/non-zero-terminated-clear 1719s ok 19 /array/copy/zero-terminated-no-clear 1719s ok 20 /array/copy/zero-terminated-clear 1719s # End of copy tests 1719s # Start of remove-range tests 1719s ok 21 /array/remove-range/zero-terminated-null 1719s ok 22 /array/remove-range/non-zero-terminated-no-clear 1719s ok 23 /array/remove-range/non-zero-terminated-clear 1719s ok 24 /array/remove-range/zero-terminated-no-clear 1719s ok 25 /array/remove-range/zero-terminated-clear 1719s # End of remove-range tests 1719s # Start of set-size tests 1719s ok 26 /array/set-size/zero-terminated-null 1719s ok 27 /array/set-size/non-zero-terminated-no-clear 1719s ok 28 /array/set-size/non-zero-terminated-clear 1719s ok 29 /array/set-size/zero-terminated-no-clear 1719s ok 30 /array/set-size/zero-terminated-clear 1719s # Start of sized tests 1719s ok 31 /array/set-size/sized/non-zero-terminated-no-clear 1719s ok 32 /array/set-size/sized/non-zero-terminated-clear 1719s ok 33 /array/set-size/sized/zero-terminated-no-clear 1719s ok 34 /array/set-size/sized/zero-terminated-clear 1719s # End of sized tests 1719s # End of set-size tests 1719s # Start of append-val tests 1719s ok 35 /array/append-val/non-zero-terminated-no-clear 1719s ok 36 /array/append-val/non-zero-terminated-clear 1719s ok 37 /array/append-val/zero-terminated-no-clear 1719s ok 38 /array/append-val/zero-terminated-clear 1719s # End of append-val tests 1719s # Start of prepend-val tests 1719s ok 39 /array/prepend-val/non-zero-terminated-no-clear 1719s ok 40 /array/prepend-val/non-zero-terminated-clear 1719s ok 41 /array/prepend-val/zero-terminated-no-clear 1719s ok 42 /array/prepend-val/zero-terminated-clear 1719s # End of prepend-val tests 1719s # Start of prepend-vals tests 1719s ok 43 /array/prepend-vals/non-zero-terminated-no-clear 1719s ok 44 /array/prepend-vals/non-zero-terminated-clear 1719s ok 45 /array/prepend-vals/zero-terminated-no-clear 1719s ok 46 /array/prepend-vals/zero-terminated-clear 1719s # End of prepend-vals tests 1719s # Start of insert-vals tests 1719s ok 47 /array/insert-vals/non-zero-terminated-no-clear 1719s ok 48 /array/insert-vals/non-zero-terminated-clear 1719s ok 49 /array/insert-vals/zero-terminated-no-clear 1719s ok 50 /array/insert-vals/zero-terminated-clear 1719s # End of insert-vals tests 1719s # Start of remove-index tests 1719s ok 51 /array/remove-index/non-zero-terminated-no-clear 1719s ok 52 /array/remove-index/non-zero-terminated-clear 1719s ok 53 /array/remove-index/zero-terminated-no-clear 1719s ok 54 /array/remove-index/zero-terminated-clear 1719s # End of remove-index tests 1719s # Start of remove-index-fast tests 1719s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear 1719s ok 56 /array/remove-index-fast/non-zero-terminated-clear 1719s ok 57 /array/remove-index-fast/zero-terminated-no-clear 1719s ok 58 /array/remove-index-fast/zero-terminated-clear 1719s # End of remove-index-fast tests 1719s # Start of sort tests 1719s ok 59 /array/sort/non-zero-terminated-no-clear 1719s ok 60 /array/sort/non-zero-terminated-clear 1719s ok 61 /array/sort/zero-terminated-no-clear 1719s ok 62 /array/sort/zero-terminated-clear 1719s # End of sort tests 1719s # Start of sort-with-data tests 1719s ok 63 /array/sort-with-data/non-zero-terminated-no-clear 1719s ok 64 /array/sort-with-data/non-zero-terminated-clear 1719s ok 65 /array/sort-with-data/zero-terminated-no-clear 1719s ok 66 /array/sort-with-data/zero-terminated-clear 1719s # End of sort-with-data tests 1719s # End of array tests 1719s # Start of pointerarray tests 1719s ok 67 /pointerarray/add 1719s ok 68 /pointerarray/insert 1719s ok 69 /pointerarray/new-take 1719s ok 70 /pointerarray/new-take-null-terminated 1719s ok 71 /pointerarray/new-from-array 1719s ok 72 /pointerarray/new-from-null-terminated-array 1719s ok 73 /pointerarray/free-func 1719s ok 74 /pointerarray/array_extend_and_steal 1719s ok 75 /pointerarray/sort 1719s ok 76 /pointerarray/sort-with-data 1719s ok 77 /pointerarray/sort-values 1719s ok 78 /pointerarray/sort-values-with-data 1719s ok 79 /pointerarray/remove-range 1719s ok 80 /pointerarray/steal 1719s # Start of free tests 1719s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1719s ok 81 /pointerarray/free/null-terminated 1719s # End of free tests 1719s # Start of new-take tests 1719s ok 82 /pointerarray/new-take/empty 1719s ok 83 /pointerarray/new-take/overflow 1719s ok 84 /pointerarray/new-take/with-free-func 1719s # End of new-take tests 1719s # Start of new-take-null-terminated tests 1719s ok 85 /pointerarray/new-take-null-terminated/empty 1719s ok 86 /pointerarray/new-take-null-terminated/with-free-func 1719s ok 87 /pointerarray/new-take-null-terminated/from-gstrv 1719s # End of new-take-null-terminated tests 1719s # Start of new-from-array tests 1719s ok 88 /pointerarray/new-from-array/empty 1719s ok 89 /pointerarray/new-from-array/overflow 1719s ok 90 /pointerarray/new-from-array/with-copy-and-free-func 1719s # End of new-from-array tests 1719s # Start of new-from-null-terminated-array tests 1719s ok 91 /pointerarray/new-from-null-terminated-array/empty 1719s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1719s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv 1719s # End of new-from-null-terminated-array tests 1719s # Start of ref-count tests 1719s ok 94 /pointerarray/ref-count/not-null-terminated 1719s ok 95 /pointerarray/ref-count/null-terminated 1719s # End of ref-count tests 1719s # Start of array_copy tests 1719s # /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 1719s ok 96 /pointerarray/array_copy/not-null-terminated 1719s # /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 1719s ok 97 /pointerarray/array_copy/null-terminated 1719s # End of array_copy tests 1719s # Start of array_extend tests 1719s ok 98 /pointerarray/array_extend/not-null-terminated 1719s ok 99 /pointerarray/array_extend/null-terminated 1719s # End of array_extend tests 1719s # Start of sort tests 1719s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1719s ok 100 /pointerarray/sort/example 1719s # End of sort tests 1719s # Start of sort-with-data tests 1719s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1719s ok 101 /pointerarray/sort-with-data/example 1719s # End of sort-with-data tests 1719s # Start of sort-values tests 1719s ok 102 /pointerarray/sort-values/example 1719s # End of sort-values tests 1719s # Start of sort-values-with-data tests 1719s ok 103 /pointerarray/sort-values-with-data/example 1719s # End of sort-values-with-data tests 1719s # Start of find tests 1719s ok 104 /pointerarray/find/empty 1719s ok 105 /pointerarray/find/non-empty 1719s # End of find tests 1719s # Start of steal_index tests 1719s ok 106 /pointerarray/steal_index/not-null-terminated 1719s ok 107 /pointerarray/steal_index/null-terminated 1719s # End of steal_index tests 1719s # End of pointerarray tests 1719s # Start of bytearray tests 1719s ok 108 /bytearray/steal 1719s ok 109 /bytearray/append 1719s ok 110 /bytearray/prepend 1719s ok 111 /bytearray/remove 1719s ok 112 /bytearray/remove-fast 1719s ok 113 /bytearray/remove-range 1719s ok 114 /bytearray/ref-count 1719s ok 115 /bytearray/set-size 1719s ok 116 /bytearray/sort 1719s ok 117 /bytearray/sort-with-data 1719s ok 118 /bytearray/new-take 1719s ok 119 /bytearray/new-take-overflow 1719s ok 120 /bytearray/free-to-bytes 1719s # End of bytearray tests 1719s ok - glib/array-test.test 1719s # Running test: glib/gobject-query.py.test 1719s TAP version 13 1719s ok 1 __main__.TestGobjectQuery.test_froots 1719s # gobject-query: /usr/bin/gobject-query 1719s # tmpdir: /tmp/tmp9kel_2ul 1719s # Running: ['/usr/bin/gobject-query', 'froots'] 1719s # Return code: 0 1719s # Output: 1719s # ├void 1719s # ├GInterface 1719s # │ └GTypePlugin 1719s # ├gchar 1719s # ├guchar 1719s # ├gboolean 1719s # ├gint 1719s # ├guint 1719s # ├glong 1719s # ├gulong 1719s # ├gint64 1719s # ├guint64 1719s # ├GEnum 1719s # ├GFlags 1719s # ├gfloat 1719s # ├gdouble 1719s # ├gchararray 1719s # ├gpointer 1719s # │ └GType 1719s # ├GBoxed 1719s # │ └GValueArray 1719s # ├GParam 1719s # │ ├GParamChar 1719s # │ ├GParamUChar 1719s # │ ├GParamBoolean 1719s # │ ├GParamInt 1719s # │ ├GParamUInt 1719s # │ ├GParamLong 1719s # │ ├GParamULong 1719s # │ ├GParamInt64 1719s # │ ├GParamUInt64 1719s # │ ├GParamUnichar 1719s # │ ├GParamEnum 1719s # │ ├GParamFlags 1719s # │ ├GParamFloat 1719s # │ ├GParamDouble 1719s # │ ├GParamString 1719s # │ ├GParamParam 1719s # │ ├GParamBoxed 1719s # │ ├GParamPointer 1719s # │ ├GParamValueArray 1719s # │ ├GParamObject 1719s # │ ├GParamOverride 1719s # │ ├GParamGType 1719s # │ └GParamVariant 1719s # ├GObject 1719s # └GVariant 1719s # Error: 1719s ok 2 __main__.TestGobjectQuery.test_help 1719s # gobject-query: /usr/bin/gobject-query 1719s # tmpdir: /tmp/tmpsbqza073 1719s # Running: ['/usr/bin/gobject-query', '--help'] 1719s # Return code: 0 1719s # Output: 1719s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1719s # -r specify root type 1719s # -n don't descend type tree 1719s # -h show help 1719s # -b specify indent string 1719s # -i specify incremental indent string 1719s # -s specify line spacing 1719s # qualifiers: 1719s # froots iterate over fundamental roots 1719s # tree print type tree 1719s # Error: 1719s ok 3 __main__.TestGobjectQuery.test_tree 1719s # gobject-query: /usr/bin/gobject-query 1719s # tmpdir: /tmp/tmp3rxng3kg 1719s # Running: ['/usr/bin/gobject-query', 'tree'] 1719s # Return code: 0 1719s # Output: 1719s # GObject 1719s # Error: 1719s ok 4 __main__.TestGobjectQuery.test_version 1719s # gobject-query: /usr/bin/gobject-query 1719s # tmpdir: /tmp/tmppc7lp578 1719s # Running: ['/usr/bin/gobject-query', '--version'] 1719s # Return code: 0 1719s # Output: 1719s # 2.87.2 1719s # Error: 1719s 1..4 1719s ok - glib/gobject-query.py.test 1719s # Running test: glib/object-info.test 1719s TAP version 14 1719s # random seed: R02S35c54b513a41e458d77a303e34b08555 1719s 1..2 1719s # Start of object-info tests 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_IK5MK3/object-info/find-method-using-interfaces/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_IK5MK3/object-info/find-method-using-interfaces/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_IK5MK3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_IK5MK3/object-info/find-method-using-interfaces/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_IK5MK3/object-info/find-method-using-interfaces/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_IK5MK3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_IK5MK3/object-info/find-method-using-interfaces/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_IK5MK3/object-info/find-method-using-interfaces/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_IK5MK3/object-info/find-method-using-interfaces/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_IK5MK3/object-info/find-method-using-interfaces/.dirs/runtime 1719s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1719s ok 1 /object-info/find-method-using-interfaces 1719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_IK5MK3/object-info/find-vfunc-using-interfaces/.dirs/home 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_IK5MK3/object-info/find-vfunc-using-interfaces/.dirs/cache 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_IK5MK3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_IK5MK3/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_IK5MK3/object-info/find-vfunc-using-interfaces/.dirs/config 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_IK5MK3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_IK5MK3/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_IK5MK3/object-info/find-vfunc-using-interfaces/.dirs/data 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_IK5MK3/object-info/find-vfunc-using-interfaces/.dirs/state 1719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_IK5MK3/object-info/find-vfunc-using-interfaces/.dirs/runtime 1719s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1719s ok 2 /object-info/find-vfunc-using-interfaces 1719s # End of object-info tests 1719s ok - glib/object-info.test 1719s # Running test: glib/macros-c-17.test 1719s TAP version 14 1719s # random seed: R02Sebcb50a6b92679c2f57c68d6f905c61c 1719s 1..4 1719s # Start of C tests 1719s # G_C_STD_VERSION is 201710 1719s ok 1 /C/standard-17 1719s # End of C tests 1719s # Start of alignof tests 1719s ok 2 /alignof/fallback 1719s # End of alignof tests 1719s # Start of assert tests 1719s ok 3 /assert/static 1719s # End of assert tests 1719s # Start of struct tests 1719s ok 4 /struct/sizeof_member 1719s # End of struct tests 1719s ok - glib/macros-c-17.test 1719s # Running test: glib/cxx-20.test 1719s TAP version 14 1719s # random seed: R02Sec0f47e51cf1d60e54be27fba38579aa 1719s 1..2 1719s # Start of gtask tests 1719s # 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. 1719s ok 1 /gtask/name 1719s # Start of name tests 1719s # 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. 1719s ok 2 /gtask/name/macro-wrapper 1719s # End of name tests 1719s # End of gtask tests 1719s ok - glib/cxx-20.test 1719s # Running test: glib/markup.test 1719s TAP version 14 1719s # random seed: R02S6a18911c0e5a37700702f4191c1576ce 1719s 1..1 1719s # Start of markup tests 1719s ok - glib/markup.test 1719s ok 1 /markup/stack 1719s # End of markup tests 1719s # Running test: glib/private.test 1719s TAP version 14 1719s # random seed: R02S25e356785a18a04a45ba198f2ea90399 1719s 1..8 1719s # Start of thread tests 1719s ok 1 /thread/private1 1720s ok 2 /thread/private2 1720s # slow test /thread/private2 executed in 1.07 secs 1720s ok 3 /thread/private3 1720s ok 4 /thread/staticprivate1 1720s ok 5 /thread/staticprivate2 1720s ok 6 /thread/staticprivate3 1721s ok 7 /thread/staticprivate4 1721s # slow test /thread/staticprivate4 executed in 1.07 secs 1721s ok 8 /thread/staticprivate5 1721s # End of thread tests 1721s ok - glib/private.test 1721s # Running test: glib/filter-streams.test 1721s TAP version 14 1721s # random seed: R02S35564c29f5f9edd53e9ad98edaf3d35d 1721s 1..4 1721s # Start of filter-stream tests 1721s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1721s ok 1 /filter-stream/input 1721s ok 2 /filter-stream/output 1721s ok 3 /filter-stream/async-input 1721s ok 4 /filter-stream/async-output 1721s # End of filter-stream tests 1721s ok - glib/filter-streams.test 1721s # Running test: glib/assert-msg-test.py.test 1721s TAP version 13 1721s ok 1 __main__.TestAssertMessage.test_gassert 1721s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1721s # tmpdir: /tmp/tmp3vlig08a 1721s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1721s # Return code: -6 1721s # Output: 1721s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1721s # Error: 1721s # ** 1721s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1721s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1721s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1721s # tmpdir: /tmp/tmpfi4vle71 1721s 1..2 1721s ok - glib/assert-msg-test.py.test 1721s # Running test: glib/unix-mounts.test 1721s TAP version 14 1721s ok - glib/unix-mounts.test 1721s # random seed: R02S4d44093dcfc04ecd4dc7cc3a4ea05e71 1721s 1..5 1721s # Start of unix-mounts tests 1721s ok 1 /unix-mounts/is-system-fs-type 1721s ok 2 /unix-mounts/is-system-device-path 1721s # /unix-mounts/system-mount-paths-sorted summary: Verify that system_mount_paths array is sorted for bsearch 1721s ok 3 /unix-mounts/system-mount-paths-sorted 1721s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1721s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1721s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1721s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1721s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1721s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1721s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1721s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1721s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1721s ok 4 /unix-mounts/get-mount-points 1721s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1721s ok 5 /unix-mounts/get-mount-entries 1721s # End of unix-mounts tests 1721s # Running test: glib/portal-support-snap-classic.test 1721s ok - glib/portal-support-snap-classic.test 1721s TAP version 14 1721s # random seed: R02S9a639d9854e163e1523bde87677ea226 1721s 1..3 1721s # Start of portal-support tests 1721s # Start of snap-classic tests 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/no-snapctl/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/no-snapctl/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/no-snapctl/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/no-snapctl/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/no-snapctl/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/no-snapctl/.dirs/runtime 1721s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/no-snapctl: No such file or directory 1721s ok 1 /portal-support/snap-classic/no-snapctl 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/none/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/none/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/none/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/none/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/none/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/none/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/none/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/none/.dirs/runtime 1721s # Created snap.yaml in /tmp/test_portal-support-snap-classic_T3U4J3/meta/snap.yaml 1721s # Created snapctl in /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/none/.dirs/runtime/snapctl 1721s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/none: No such file or directory 1721s ok 2 /portal-support/snap-classic/none 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/all/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/all/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/all/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/all/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/all/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/all/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/all/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/all/.dirs/runtime 1721s # Created snap.yaml in /tmp/test_portal-support-snap-classic_T3U4J3/meta/snap.yaml 1721s # Created snapctl in /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/all/.dirs/runtime/snapctl 1721s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_T3U4J3/portal-support/snap-classic/all: No such file or directory 1721s ok 3 /portal-support/snap-classic/all 1721s # End of snap-classic tests 1721s # End of portal-support tests 1721s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_T3U4J3: No such file or directory 1721s TAP version 14 1721s # random seed: R02Sf2452a2df809fcc731269acde31bfdee 1721s 1..37 1721s # Start of hmac tests 1721s ok 1 /hmac/sha1-1 1721s ok 2 /hmac/sha1-2 1721s ok 3 /hmac/sha1-3 1721s ok 4 /hmac/sha1-4 1721s ok 5 /hmac/sha1-5 1721s ok 6 /hmac/sha1-6 1721s ok 7 /hmac/sha1-7 1721s ok 8 /hmac/sha256-1 1721s ok 9 /hmac/sha256-2 1721s ok 10 /hmac/sha256-3 1721s ok 11 /hmac/sha256-4 1721s ok 12 /hmac/sha256-5 1721s ok 13 /hmac/sha256-6 1721s ok 14 /hmac/sha384-1 1721s ok 15 /hmac/sha384-2 1721s ok 16 /hmac/sha384-3 1721s ok 17 /hmac/sha384-4 1721s ok 18 /hmac/sha384-5 1721s ok 19 /hmac/sha384-6 1721s ok 20 /hmac/sha512-1 1721s ok 21 /hmac/sha512-2 1721s ok 22 /hmac/sha512-3 1721s ok 23 /hmac/sha512-4 1721s ok 24 /hmac/sha512-5 1721s ok 25 /hmac/sha512-6 1721s ok 26 /hmac/md5-1 1721s ok 27 /hmac/md5-2 1721s ok 28 /hmac/md5-3 1721s ok 29 /hmac/md5-4 1721s ok 30 /hmac/md5-5 1721s ok 31 /hmac/md5-6 1721s ok 32 /hmac/md5-7 1721s ok 33 /hmac/ref-unref 1721s ok 34 /hmac/copy 1721s ok 35 /hmac/for-data 1721s ok 36 /hmac/for-string 1721s ok 37 /hmac/for-bytes 1721s # End of hmac tests 1721s TAP version 14 1721s # random seed: R02Scc19016dbeefa2927120f78f2107b41f 1721s 1..3 1721s # Start of static-proxy tests 1721s ok 1 /static-proxy/uri 1721s ok 2 /static-proxy/socks 1721s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000 1721s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000 1721s ok 3 /static-proxy/ignore 1721s # End of static-proxy tests 1721s TAP version 14 1721s # random seed: R02S87aab9fdebb8a409c414f9fd298348c2 1721s 1..72 1721s # Start of network-address tests 1721s ok 1 /network-address/basic 1721s ok 2 /network-address/scope-id 1721s ok 3 /network-address/uri-scope-id 1721s ok 4 /network-address/to-string 1721s # Start of parse-host tests 1721s ok 5 /network-address/parse-host/0 1721s ok 6 /network-address/parse-host/1 1721s ok 7 /network-address/parse-host/2 1721s ok 8 /network-address/parse-host/3 1721s ok 9 /network-address/parse-host/4 1721s ok 10 /network-address/parse-host/5 1721s ok 11 /network-address/parse-host/6 1721s ok 12 /network-address/parse-host/7 1721s ok 13 /network-address/parse-host/8 1721s ok 14 /network-address/parse-host/9 1721s ok 15 /network-address/parse-host/10 1721s ok 16 /network-address/parse-host/11 1721s ok 17 /network-address/parse-host/12 1721s ok 18 /network-address/parse-host/13 1721s # End of parse-host tests 1721s # Start of parse-uri tests 1721s ok 19 /network-address/parse-uri/0 1721s ok 20 /network-address/parse-uri/1 1721s ok 21 /network-address/parse-uri/2 1721s ok 22 /network-address/parse-uri/3 1721s ok 23 /network-address/parse-uri/4 1721s ok 24 /network-address/parse-uri/5 1721s ok 25 /network-address/parse-uri/6 1721s ok 26 /network-address/parse-uri/7 1721s ok 27 /network-address/parse-uri/8 1721s ok 28 /network-address/parse-uri/9 1721s # End of parse-uri tests 1721s # Start of resolve-address tests 1721s # Input: 192.168.1.2 1721s ok 29 /network-address/resolve-address/0 1721s # Input: fe80::42 1721s ok 30 /network-address/resolve-address/1 1721s # Input: 192.168.1.2:80 1721s ok 31 /network-address/resolve-address/2 1721s # Input: [fe80::42] 1721s ok 32 /network-address/resolve-address/3 1721s # Input: [fe80::42]:80 1721s ok 33 /network-address/resolve-address/4 1721s # Input: 192.168.258 1721s ok 34 /network-address/resolve-address/5 1721s # Input: 192.11010306 1721s ok 35 /network-address/resolve-address/6 1721s # Input: 3232235778 1721s ok 36 /network-address/resolve-address/7 1721s # Input: 0300.0250.0001.0001 1721s ok 37 /network-address/resolve-address/8 1721s # Input: 0xC0.0xA8.0x01.0x02 1721s ok 38 /network-address/resolve-address/9 1721s # Input: 0xc0.0xa8.0x01.0x02 1721s ok 39 /network-address/resolve-address/10 1721s # Input: 0xc0a80102 1721s ok 40 /network-address/resolve-address/11 1721s # End of resolve-address tests 1721s # Start of loopback tests 1721s ok 41 /network-address/loopback/basic 1721s ok 42 /network-address/loopback/sync 1721s ok 43 /network-address/loopback/async 1721s # End of loopback tests 1721s # Start of localhost tests 1721s ok 44 /network-address/localhost/async 1721s ok 45 /network-address/localhost/sync 1721s # End of localhost tests 1721s # Start of happy-eyeballs tests 1721s # Running test: glib/hmac.test 1721s ok - glib/hmac.test 1721s # Running test: glib/simple-proxy.test 1721s ok - glib/simple-proxy.test 1721s # Running test: glib/network-address.test 1721s ok 46 /network-address/happy-eyeballs/basic 1722s ok 47 /network-address/happy-eyeballs/parallel 1722s ok 48 /network-address/happy-eyeballs/slow-ipv4 1722s ok 49 /network-address/happy-eyeballs/slow-ipv6 1722s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1722s # Executing: glib/network-address.test 1722s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1722s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1723s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1723s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1723s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1723s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1723s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1723s # /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. 1723s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1723s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1723s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1723s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1723s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1723s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1723s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1723s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1723s ok 57 /network-address/happy-eyeballs/both-error 1723s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1723s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1723s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1723s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1723s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1723s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1723s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1723s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1723s # End of happy-eyeballs tests 1723s # End of network-address tests 1723s # Start of gresolver tests 1723s # Start of resolve-address tests 1723s # Input: 192.168.1.2 1723s ok 61 /gresolver/resolve-address/0 1723s # Input: fe80::42 1723s ok 62 /gresolver/resolve-address/1 1723s # Input: 192.168.1.2:80 1723s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80 1723s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1723s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1723s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1723s # Error: Error resolving “192.168.1.2:80”: Name or service not known 1723s ok 63 /gresolver/resolve-address/2 1723s # Input: [fe80::42] 1723s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42] 1723s # Error: Error resolving “[fe80::42]”: Name or service not known 1723s ok 64 /gresolver/resolve-address/3 1723s # Input: [fe80::42]:80 1723s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80 1723s # Error: Error resolving “[fe80::42]:80”: Name or service not known 1723s ok 65 /gresolver/resolve-address/4 1723s # Input: 192.168.258 1723s # Error: Error resolving “192.168.258”: Name or service not known 1723s ok 66 /gresolver/resolve-address/5 1723s # Input: 192.11010306 1723s # Error: Error resolving “192.11010306”: Name or service not known 1723s ok 67 /gresolver/resolve-address/6 1723s # Input: 3232235778 1723s # Error: Error resolving “3232235778”: Name or service not known 1723s ok 68 /gresolver/resolve-address/7 1723s # Input: 0300.0250.0001.0001 1723s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known 1723s ok 69 /gresolver/resolve-address/8 1723s # Input: 0xC0.0xA8.0x01.0x02 1723s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known 1723s ok 70 /gresolver/resolve-address/9 1723s # Input: 0xc0.0xa8.0x01.0x02 1723s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known 1723s ok 71 /gresolver/resolve-address/10 1723s # Input: 0xc0a80102 1723s # Error: Error resolving “0xc0a80102”: Name or service not known 1723s ok 72 /gresolver/resolve-address/11 1723s # End of resolve-address tests 1723s # End of gresolver tests 1723s ok - glib/network-address.test 1723s # Running test: glib/objects-refcount2.test 1723s TAP version 14 1723s # random seed: R02Sa6e56596306beb8eadc5e046098e3bcd 1723s 1..1 1723s # Start of gobject tests 1723s # Start of refcount tests 1723s # init 0x5a91fdd96b90 1723s # 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # dispose 0x5a91fdd96b90! 1725s # 1725s ok 1 /gobject/refcount/object-advanced 1725s # slow test /gobject/refcount/object-advanced executed in 2.24 secs 1725s # End of refcount tests 1725s # End of gobject tests 1725s ok - glib/objects-refcount2.test 1725s # Running test: glib/buffered-input-stream.test 1725s TAP version 14 1725s # random seed: R02S750137f4bc9106aac6a967f1df484f8a 1725s 1..10 1725s # Start of buffered-input-stream tests 1725s ok 1 /buffered-input-stream/peek 1725s ok 2 /buffered-input-stream/peek-buffer 1725s ok 3 /buffered-input-stream/set-buffer-size 1725s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1725s ok 4 /buffered-input-stream/read-byte 1725s ok 5 /buffered-input-stream/read 1725s ok 6 /buffered-input-stream/read-async 1725s ok 7 /buffered-input-stream/skip 1725s ok 8 /buffered-input-stream/skip-async 1725s ok 9 /buffered-input-stream/seek 1725s # End of buffered-input-stream tests 1725s # Start of filter-input-stream tests 1725s ok 10 /filter-input-stream/close 1725s # End of filter-input-stream tests 1725s ok - glib/buffered-input-stream.test 1725s # Running test: glib/cxx-14.test 1725s TAP version 14 1725s # random seed: R02S7da626109ea587edcb5dc01ff0d2dac3 1725s 1..2 1725s # Start of gtask tests 1725s # 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. 1725s ok 1 /gtask/name 1725s # Start of name tests 1725s # 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. 1725s ok 2 /gtask/name/macro-wrapper 1725s # End of name tests 1725s # End of gtask tests 1725s ok - glib/cxx-14.test 1725s # Running test: glib/accumulator.test 1725s TAP version 14 1725s # random seed: R02S4c0ad1c3910dd65f03e8e696f60f22c9 1725s 1..1 1725s # Start of gobject tests 1725s ok 1 /gobject/accumulator 1725s # End of gobject tests 1725s ok - glib/accumulator.test 1725s # Running test: glib/cxx-23.test 1725s TAP version 14 1725s # random seed: R02Sbcbe7d769ec781fce9987229fdabc701 1725s 1..2 1725s # Start of gtask tests 1725s # 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. 1725s ok 1 /gtask/name 1725s # Start of name tests 1725s # 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. 1725s ok 2 /gtask/name/macro-wrapper 1725s # End of name tests 1725s # End of gtask tests 1725s ok - glib/cxx-23.test 1725s # Running test: glib/signals-refcount2.test 1725s TAP version 14 1725s # random seed: R02S97adaf6e6e67cd3c9f3204b224f5d084 1725s 1..1 1725s # Start of gobject tests 1725s # Start of refcount tests 1725s # init 0x59467f16c2c0 1725s # 1725s # init 0x59467f164580 1725s # 1727s # Executing: glib/signals-refcount2.test 1730s ok - glib/signals-refcount2.test 1730s # Running test: glib/struct-info.test 1730s # dispose 0x59467f16c2c0! 1730s # 1730s # dispose 0x59467f164580! 1730s # 1730s ok 1 /gobject/refcount/signals 1730s # slow test /gobject/refcount/signals executed in 5.00 secs 1730s # End of refcount tests 1730s # End of gobject tests 1730s TAP version 14 1730s # random seed: R02S8a76786d7be8192127dc8a15e456be92 1730s 1..4 1730s # Start of struct-info tests 1730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7RBPK3/struct-info/field-iterators/.dirs/home 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7RBPK3/struct-info/field-iterators/.dirs/cache 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7RBPK3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_7RBPK3/struct-info/field-iterators/.dirs/system-config2 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7RBPK3/struct-info/field-iterators/.dirs/config 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7RBPK3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_7RBPK3/struct-info/field-iterators/.dirs/system-data2 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7RBPK3/struct-info/field-iterators/.dirs/data 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7RBPK3/struct-info/field-iterators/.dirs/state 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7RBPK3/struct-info/field-iterators/.dirs/runtime 1730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1730s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1730s ok 1 /struct-info/field-iterators 1730s ok - glib/struct-info.test 1730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7RBPK3/struct-info/sizeof-gvalue/.dirs/home 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7RBPK3/struct-info/sizeof-gvalue/.dirs/cache 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7RBPK3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_7RBPK3/struct-info/sizeof-gvalue/.dirs/system-config2 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7RBPK3/struct-info/sizeof-gvalue/.dirs/config 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7RBPK3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_7RBPK3/struct-info/sizeof-gvalue/.dirs/system-data2 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7RBPK3/struct-info/sizeof-gvalue/.dirs/data 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7RBPK3/struct-info/sizeof-gvalue/.dirs/state 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7RBPK3/struct-info/sizeof-gvalue/.dirs/runtime 1730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1730s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1730s ok 2 /struct-info/sizeof-gvalue 1730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7RBPK3/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7RBPK3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7RBPK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_7RBPK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7RBPK3/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7RBPK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_7RBPK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7RBPK3/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7RBPK3/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7RBPK3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1730s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1730s ok 3 /struct-info/is-pointer-for-struct-method-arg 1730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7RBPK3/struct-info/boxed/.dirs/home 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7RBPK3/struct-info/boxed/.dirs/cache 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7RBPK3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_7RBPK3/struct-info/boxed/.dirs/system-config2 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7RBPK3/struct-info/boxed/.dirs/config 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7RBPK3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_7RBPK3/struct-info/boxed/.dirs/system-data2 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7RBPK3/struct-info/boxed/.dirs/data 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7RBPK3/struct-info/boxed/.dirs/state 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7RBPK3/struct-info/boxed/.dirs/runtime 1730s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1730s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1730s ok 4 /struct-info/boxed 1730s # End of struct-info tests 1730s # Running test: glib/deftype.test 1730s TAP version 14 1730s # random seed: R02S25302e081ba51b7405417a4c085b276c 1730s 1..1 1730s # Start of gio tests 1730s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1730s # random seed: R02S3c6fa59321fed6e66d77a93e1f6577f6 1730s ok - glib/deftype.test 1730s # Running test: glib/io-channel-basic.test 1730s # GLib-DEBUG: io-channel-basic: child writing 8+4699 bytes to 6 1730s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1730s # GLib-DEBUG: io-channel-basic: ...from 5: 4699 bytes 1730s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1731s # GLib-DEBUG: io-channel-basic: child writing 8+3091 bytes to 6 1731s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1731s # GLib-DEBUG: io-channel-basic: ...from 5: 3091 bytes 1731s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1731s # GLib-DEBUG: io-channel-basic: child writing 8+186 bytes to 6 1731s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1731s # GLib-DEBUG: io-channel-basic: ...from 5: 186 bytes 1731s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1731s # GLib-DEBUG: io-channel-basic: child writing 8+357 bytes to 6 1731s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1731s # GLib-DEBUG: io-channel-basic: ...from 5: 357 bytes 1731s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1731s # GLib-DEBUG: io-channel-basic: child writing 8+728 bytes to 6 1731s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1731s # GLib-DEBUG: io-channel-basic: ...from 5: 728 bytes 1731s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1732s # GLib-DEBUG: io-channel-basic: child writing 8+2987 bytes to 6 1732s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1732s # GLib-DEBUG: io-channel-basic: ...from 5: 2987 bytes 1732s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1732s # GLib-DEBUG: io-channel-basic: child writing 8+1952 bytes to 6 1732s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1732s # GLib-DEBUG: io-channel-basic: ...from 5: 1952 bytes 1732s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1732s # Executing: glib/io-channel-basic.test 1732s # GLib-DEBUG: io-channel-basic: child writing 8+2853 bytes to 6 1732s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1732s # GLib-DEBUG: io-channel-basic: ...from 5: 2853 bytes 1732s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1732s # GLib-DEBUG: io-channel-basic: child writing 8+2457 bytes to 6 1732s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1732s # GLib-DEBUG: io-channel-basic: ...from 5: 2457 bytes 1732s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1733s # GLib-DEBUG: io-channel-basic: child writing 8+529 bytes to 6 1733s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1733s # GLib-DEBUG: io-channel-basic: ...from 5: 529 bytes 1733s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1733s # GLib-DEBUG: io-channel-basic: child writing 8+1917 bytes to 6 1733s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1733s # GLib-DEBUG: io-channel-basic: ...from 5: 1917 bytes 1733s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1733s # GLib-DEBUG: io-channel-basic: child writing 8+3593 bytes to 6 1733s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1733s # GLib-DEBUG: io-channel-basic: ...from 5: 3593 bytes 1733s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1733s # GLib-DEBUG: io-channel-basic: child writing 8+523 bytes to 6 1733s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1733s # GLib-DEBUG: io-channel-basic: ...from 5: 523 bytes 1733s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1734s # GLib-DEBUG: io-channel-basic: child writing 8+4753 bytes to 6 1734s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1734s # GLib-DEBUG: io-channel-basic: ...from 5: 4753 bytes 1734s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1734s # GLib-DEBUG: io-channel-basic: child writing 8+4979 bytes to 6 1734s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1734s # GLib-DEBUG: io-channel-basic: ...from 5: 4979 bytes 1734s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1734s # GLib-DEBUG: io-channel-basic: child writing 8+2601 bytes to 6 1734s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1734s # GLib-DEBUG: io-channel-basic: ...from 5: 2601 bytes 1734s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1735s # GLib-DEBUG: io-channel-basic: child writing 8+132 bytes to 6 1735s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1735s # GLib-DEBUG: io-channel-basic: ...from 5: 132 bytes 1735s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1735s # GLib-DEBUG: io-channel-basic: child writing 8+1917 bytes to 6 1735s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1735s # GLib-DEBUG: io-channel-basic: ...from 5: 1917 bytes 1735s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1735s # GLib-DEBUG: io-channel-basic: child writing 8+2750 bytes to 6 1735s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1735s # GLib-DEBUG: io-channel-basic: ...from 5: 2750 bytes 1735s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1735s # GLib-DEBUG: io-channel-basic: child writing 8+2069 bytes to 6 1735s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1735s # GLib-DEBUG: io-channel-basic: ...from 5: 2069 bytes 1735s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1736s # GLib-DEBUG: io-channel-basic: child writing 8+232 bytes to 6 1736s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1736s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1736s # GLib-DEBUG: io-channel-basic: ...from 5: 232 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1736s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1736s # random seed: R02Sa14e898441dfb719f0e8d38e81241221 1736s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1736s # random seed: R02Sb7d00cf1f2637832fe29ff7d0bbe50ab 1736s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1736s # random seed: R02Sec1e2e2d647add0217adea6c80ba3ff9 1736s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1736s # random seed: R02Sf44677c3e9d49aa8c7a5f9f47d9cc417 1736s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1736s # random seed: R02Sc7db1b806ba5125152bc804e09123e76 1736s # GLib-DEBUG: io-channel-basic: child writing 8+4872 bytes to 13 1736s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1736s # GLib-DEBUG: io-channel-basic: ...from 12: 4872 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1736s # GLib-DEBUG: io-channel-basic: child writing 8+2813 bytes to 17 1736s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1736s # GLib-DEBUG: io-channel-basic: ...from 16: 2813 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1736s # GLib-DEBUG: io-channel-basic: child writing 8+4944 bytes to 9 1736s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1736s # GLib-DEBUG: io-channel-basic: ...from 8: 4944 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1736s # GLib-DEBUG: io-channel-basic: child writing 8+4151 bytes to 15 1736s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1736s # GLib-DEBUG: io-channel-basic: ...from 14: 4151 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1736s # GLib-DEBUG: io-channel-basic: child writing 8+1305 bytes to 11 1736s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1736s # GLib-DEBUG: io-channel-basic: ...from 10: 1305 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1736s # GLib-DEBUG: io-channel-basic: child writing 8+2728 bytes to 13 1736s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1736s # GLib-DEBUG: io-channel-basic: ...from 12: 2728 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1736s # GLib-DEBUG: io-channel-basic: child writing 8+36 bytes to 17 1736s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1736s # GLib-DEBUG: io-channel-basic: ...from 16: 36 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1736s # GLib-DEBUG: io-channel-basic: child writing 8+1787 bytes to 9 1736s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1736s # GLib-DEBUG: io-channel-basic: ...from 8: 1787 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1736s # GLib-DEBUG: io-channel-basic: child writing 8+16 bytes to 15 1736s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1736s # GLib-DEBUG: io-channel-basic: ...from 14: 16 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1736s # GLib-DEBUG: io-channel-basic: child writing 8+1580 bytes to 11 1736s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1736s # GLib-DEBUG: io-channel-basic: ...from 10: 1580 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1736s # GLib-DEBUG: io-channel-basic: child writing 8+2587 bytes to 13 1736s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1736s # GLib-DEBUG: io-channel-basic: ...from 12: 2587 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1736s # GLib-DEBUG: io-channel-basic: child writing 8+550 bytes to 11 1736s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1736s # GLib-DEBUG: io-channel-basic: ...from 10: 550 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1736s # GLib-DEBUG: io-channel-basic: child writing 8+1721 bytes to 9 1736s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1736s # GLib-DEBUG: io-channel-basic: ...from 8: 1721 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1736s # GLib-DEBUG: io-channel-basic: child writing 8+2397 bytes to 17 1736s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1736s # GLib-DEBUG: io-channel-basic: ...from 16: 2397 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1736s # GLib-DEBUG: io-channel-basic: child writing 8+2541 bytes to 15 1736s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1736s # GLib-DEBUG: io-channel-basic: ...from 14: 2541 bytes 1736s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+380 bytes to 13 1737s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 12: 380 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+1264 bytes to 9 1737s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 8: 1264 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+2788 bytes to 17 1737s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 16: 2788 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+727 bytes to 11 1737s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 10: 727 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+3625 bytes to 15 1737s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 14: 3625 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+750 bytes to 13 1737s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 12: 750 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+4357 bytes to 9 1737s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 8: 4357 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+374 bytes to 17 1737s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 16: 374 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+4184 bytes to 11 1737s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 10: 4184 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+108 bytes to 15 1737s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 14: 108 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1737s # Executing: glib/io-channel-basic.test 1737s # GLib-DEBUG: io-channel-basic: child writing 8+479 bytes to 13 1737s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 12: 479 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+3838 bytes to 9 1737s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 8: 3838 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+2896 bytes to 17 1737s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 16: 2896 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+4163 bytes to 11 1737s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 10: 4163 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+1063 bytes to 15 1737s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 14: 1063 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+952 bytes to 13 1737s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 12: 952 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+41 bytes to 9 1737s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 8: 41 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+3857 bytes to 11 1737s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 10: 3857 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+1472 bytes to 17 1737s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 16: 1472 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1737s # GLib-DEBUG: io-channel-basic: child writing 8+3679 bytes to 15 1737s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1737s # GLib-DEBUG: io-channel-basic: ...from 14: 3679 bytes 1737s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+2876 bytes to 13 1738s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 12: 2876 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+4322 bytes to 9 1738s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 8: 4322 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+2115 bytes to 17 1738s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 16: 2115 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+1416 bytes to 11 1738s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 10: 1416 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+2289 bytes to 15 1738s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 14: 2289 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+1864 bytes to 13 1738s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 12: 1864 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+1622 bytes to 9 1738s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 8: 1622 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+2487 bytes to 17 1738s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 16: 2487 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+2331 bytes to 11 1738s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 10: 2331 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+4909 bytes to 15 1738s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 14: 4909 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+4041 bytes to 13 1738s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 12: 4041 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+1579 bytes to 17 1738s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 16: 1579 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+2652 bytes to 9 1738s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 8: 2652 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+182 bytes to 11 1738s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 10: 182 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+2847 bytes to 15 1738s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 14: 2847 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+1975 bytes to 13 1738s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 12: 1975 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+2044 bytes to 17 1738s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 16: 2044 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+3541 bytes to 9 1738s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 8: 3541 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1738s # GLib-DEBUG: io-channel-basic: child writing 8+1030 bytes to 11 1738s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1738s # GLib-DEBUG: io-channel-basic: ...from 10: 1030 bytes 1738s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+1324 bytes to 15 1739s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 14: 1324 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+3361 bytes to 13 1739s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 12: 3361 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+3621 bytes to 17 1739s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 16: 3621 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+4112 bytes to 9 1739s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 8: 4112 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+1620 bytes to 11 1739s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 10: 1620 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+1745 bytes to 15 1739s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 14: 1745 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+3476 bytes to 13 1739s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 12: 3476 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+3858 bytes to 17 1739s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 16: 3858 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+1716 bytes to 9 1739s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 8: 1716 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+104 bytes to 11 1739s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 10: 104 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+1966 bytes to 15 1739s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 14: 1966 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+500 bytes to 13 1739s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 12: 500 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+3908 bytes to 9 1739s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 8: 3908 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+1435 bytes to 17 1739s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 16: 1435 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+583 bytes to 11 1739s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 10: 583 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+3728 bytes to 15 1739s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 14: 3728 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+752 bytes to 13 1739s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 12: 752 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+117 bytes to 17 1740s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 16: 117 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+2932 bytes to 9 1740s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 8: 2932 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+4775 bytes to 11 1740s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 10: 4775 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+3846 bytes to 15 1740s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 14: 3846 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+4552 bytes to 13 1740s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 12: 4552 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+2075 bytes to 17 1740s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 16: 2075 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+4832 bytes to 11 1740s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 10: 4832 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+3681 bytes to 9 1740s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 8: 3681 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+1389 bytes to 15 1740s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 14: 1389 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+2314 bytes to 13 1740s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 12: 2314 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+1365 bytes to 17 1740s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 16: 1365 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+2952 bytes to 11 1740s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 10: 2952 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+1855 bytes to 9 1740s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 8: 1855 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+3478 bytes to 15 1740s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 14: 3478 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+3844 bytes to 13 1740s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 12: 3844 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+1386 bytes to 17 1740s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 16: 1386 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+2612 bytes to 9 1740s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 8: 2612 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+4771 bytes to 11 1740s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 10: 4771 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+3181 bytes to 15 1740s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 14: 3181 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+4186 bytes to 13 1741s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 12: 4186 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+3604 bytes to 9 1741s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 8: 3604 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+3376 bytes to 17 1741s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 16: 3376 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+3471 bytes to 11 1741s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 10: 3471 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+4762 bytes to 15 1741s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 14: 4762 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+1059 bytes to 13 1741s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 12: 1059 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+3693 bytes to 9 1741s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 8: 3693 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+96 bytes to 11 1741s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 10: 96 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+412 bytes to 17 1741s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 16: 412 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+4227 bytes to 15 1741s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 14: 4227 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+3419 bytes to 13 1741s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 12: 3419 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+2100 bytes to 9 1741s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1741s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1741s # GLib-DEBUG: io-channel-basic: ...from 8: 2100 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+2328 bytes to 17 1741s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 16: 2328 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+3966 bytes to 11 1741s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 10: 3966 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+3298 bytes to 15 1741s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1741s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1741s # GLib-DEBUG: io-channel-basic: ...from 14: 3298 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+2833 bytes to 13 1741s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 12: 2833 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+1084 bytes to 11 1741s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1741s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1741s # GLib-DEBUG: io-channel-basic: ...from 10: 1084 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+621 bytes to 17 1741s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 16: 621 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1742s # GLib-DEBUG: io-channel-basic: child writing 8+2253 bytes to 13 1742s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1742s # GLib-DEBUG: io-channel-basic: ...from 12: 2253 bytes 1742s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1742s # GLib-DEBUG: io-channel-basic: child writing 8+535 bytes to 17 1742s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1742s # GLib-DEBUG: io-channel-basic: ...from 16: 535 bytes 1742s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1742s # GLib-DEBUG: io-channel-basic: child writing 8+2505 bytes to 13 1742s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1742s # GLib-DEBUG: io-channel-basic: ...from 12: 2505 bytes 1742s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1742s # GLib-DEBUG: io-channel-basic: child writing 8+4955 bytes to 17 1742s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1742s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1742s # GLib-DEBUG: io-channel-basic: ...from 16: 4955 bytes 1742s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1742s # GLib-DEBUG: io-channel-basic: ...from 16: HUP 1742s # Executing: glib/io-channel-basic.test 1742s # GLib-DEBUG: io-channel-basic: child writing 8+686 bytes to 13 1742s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1742s # GLib-DEBUG: io-channel-basic: ...from 12: 686 bytes 1742s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1742s # GLib-DEBUG: io-channel-basic: child writing 8+3613 bytes to 13 1742s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1742s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1742s # GLib-DEBUG: io-channel-basic: ...from 12: 3613 bytes 1742s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1742s ok 1 /gio/io-basics 1742s # slow test /gio/io-basics executed in 12.30 secs 1742s # End of gio tests 1742s ok - glib/io-channel-basic.test 1742s # Running test: glib/markup-subparser.test 1742s TAP version 14 1742s # random seed: R02Se5769df55a236e1703f268e9879fbbec 1742s 1..14 1742s # Start of glib tests 1742s # Start of markup tests 1742s # Start of subparser tests 1742s # Start of success tests 1742s ok 1 /glib/markup/subparser/success/0 1742s ok 2 /glib/markup/subparser/success/1 1742s ok 3 /glib/markup/subparser/success/2 1742s ok 4 /glib/markup/subparser/success/3 1742s ok 5 /glib/markup/subparser/success/4 1742s ok 6 /glib/markup/subparser/success/5 1742s ok 7 /glib/markup/subparser/success/6 1742s # End of success tests 1742s # Start of failure tests 1742s ok 8 /glib/markup/subparser/failure/0 1742s ok 9 /glib/markup/subparser/failure/1 1742s ok 10 /glib/markup/subparser/failure/2 1742s ok 11 /glib/markup/subparser/failure/3 1742s ok 12 /glib/markup/subparser/failure/4 1742s ok 13 /glib/markup/subparser/failure/5 1742s ok 14 /glib/markup/subparser/failure/6 1742s # End of failure tests 1742s # End of subparser tests 1742s # End of markup tests 1742s # End of glib tests 1742s ok - glib/markup-subparser.test 1742s # Running test: glib/tls-database.test 1742s TAP version 14 1742s # random seed: R02Sc6c1095f6fd8cdf23321f99565120465 1742s 1..1 1742s # Start of tls-backend tests 1742s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1742s ok - glib/tls-database.test 1742s # Running test: glib/signals-refcount1.test 1742s ok 1 /tls-backend/set-default-database 1742s # End of tls-backend tests 1742s TAP version 14 1742s # random seed: R02S16f1364f27772210818a0e72767b12f0 1742s 1..1 1742s # Start of gobject tests 1742s # Start of refcount tests 1742s # init 0x6134a1e3d2c0 1742s # 1742s # init 0x6134a1e35580 1742s # 1747s # Executing: glib/signals-refcount1.test 1747s # dispose 0x6134a1e3d2c0! 1747s # 1747s # dispose 0x6134a1e35580! 1747s # 1747s ok 1 /gobject/refcount/signals 1747s # slow test /gobject/refcount/signals executed in 5.00 secs 1747s # End of refcount tests 1747s # End of gobject tests 1747s ok - glib/signals-refcount1.test 1747s # Running test: glib/slist.test 1747s TAP version 14 1747s # random seed: R02Seb07dd8512e2ea8d1522e33bc22a102a 1747s 1..14 1747s # Start of slist tests 1747s ok 1 /slist/sort 1747s ok 2 /slist/sort-with-data 1747s ok 3 /slist/insert-sorted 1747s ok 4 /slist/insert-sorted-with-data 1747s ok 5 /slist/reverse 1747s ok 6 /slist/nth 1747s ok 7 /slist/remove 1747s ok 8 /slist/remove-all 1747s ok 9 /slist/insert 1747s ok 10 /slist/position 1747s ok 11 /slist/concat 1747s ok 12 /slist/copy 1747s # Start of sort tests 1747s ok 13 /slist/sort/stable 1747s # End of sort tests 1747s # Start of copy tests 1747s ok 14 /slist/copy/deep 1747s # End of copy tests 1747s # End of slist tests 1747s ok - glib/slist.test 1747s # Running test: glib/gdbus-subscribe.test 1747s TAP version 14 1747s # random seed: R02S74694e4ebed3cc54cd954d4a02925b25 1747s 1..24 1747s # Start of gdbus tests 1747s # Start of subscribe tests 1747s # Start of conn tests 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/simple/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/simple/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/simple/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/simple/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/simple/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/simple/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/simple/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/simple/.dirs/runtime 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1747s # Step 0: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 1: adding subscription 1747s # Sender: (any) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Waiting for AddMatch to be processed 1747s # Step 2: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 2 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 1 /gdbus/subscribe/conn/simple 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1747s # Step 0: adding subscription 1747s # Sender: (any) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Waiting for AddMatch to be processed 1747s # Step 1: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 2: emitting signal 1747s # Sender: service 2 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 3: emitting signal 1747s # Sender: service 1747s # Destination: subscriber :1.0 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 4: emitting signal 1747s # Sender: service 2 1747s # Destination: subscriber :1.0 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 1 1747s # Signal received from service 2 :1.2 1747s # Signal received from service 2 :1.2 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 2 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 3 1747s # Signal received from service 2 :1.2 1747s # Signal received from service 2 :1.2 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 4 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1747s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1747s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1747s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/match_twice/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/match_twice/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/match_twice/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/match_twice/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/match_twice/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/match_twice/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1747s # Step 0: adding subscription 1747s # Sender: service :1.1 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Waiting for AddMatch to be processed 1747s # Step 1: adding subscription 1747s # Sender: (any) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: (any) 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Waiting for AddMatch to be processed 1747s # Step 2: adding subscription 1747s # Sender: (any) 1747s # Path: (any) 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Waiting for AddMatch to be processed 1747s # Step 3: adding subscription 1747s # Sender: service :1.1 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Waiting for AddMatch to be processed 1747s # Step 4: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 4 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 4 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 4 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 4 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 3 /gdbus/subscribe/conn/match_twice 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1747s # Step 0: adding subscription 1747s # Sender: service :1.1 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Waiting for AddMatch to be processed 1747s # Step 1: emitting signal 1747s # Sender: attacker 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 2: emitting signal 1747s # Sender: attacker 1747s # Destination: subscriber :1.0 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 3: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 3 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1747s # Step 0: adding subscription 1747s # Sender: :0.this.had.better.not.exist 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Waiting for AddMatch to be processed 1747s # Step 1: emitting signal 1747s # Sender: attacker 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 2: emitting signal 1747s # Sender: attacker 1747s # Destination: subscriber :1.0 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /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 1747s # Step 0: claiming bus name 1747s # Name: org.gtk.Test.AlreadyOwned 1747s # Owner: service 1747s # Step 1: adding subscription 1747s # Sender: org.gtk.Test.AlreadyOwned 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Waiting for AddMatch to be processed 1747s # Step 2: adding subscription 1747s # Sender: org.gtk.Test.OwnedLater 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Waiting for AddMatch to be processed 1747s # Step 3: emitting signal 1747s # Sender: attacker 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 4: emitting signal 1747s # Sender: attacker 1747s # Destination: subscriber :1.0 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 5: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 6: claiming bus name 1747s # Name: org.gtk.Test.OwnedLater 1747s # Owner: service 1747s # Step 7: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 5 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 7 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 7 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1747s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1747s # Step 0: adding subscription 1747s # Sender: org.freedesktop.DBus 1747s # Path: /org/freedesktop/DBus 1747s # Interface: org.freedesktop.DBus 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Waiting for AddMatch to be processed 1747s # Step 1: emitting signal 1747s # Sender: attacker 1747s # Destination: (broadcast) 1747s # Path: /org/freedesktop/DBus 1747s # Interface: org.freedesktop.DBus 1747s # Member: NameOwnerChanged 1747s # String argument 0: would I lie to you? 1747s # Waiting for signal to reach message bus 1747s # Step 2: emitting signal 1747s # Sender: attacker 1747s # Destination: subscriber :1.0 1747s # Path: /org/freedesktop/DBus 1747s # Interface: org.freedesktop.DBus 1747s # Member: NameOwnerChanged 1747s # Waiting for signal to reach message bus 1747s # Step 3: claiming bus name 1747s # Name: org.gtk.Test.OwnedLater 1747s # Owner: service 1747s # Signal received from message bus org.freedesktop.DBus 1747s # Signal received from (unused) org.freedesktop.DBus via connection 1747s # Path: /org/freedesktop/DBus 1747s # Interface: org.freedesktop.DBus 1747s # Member: NameOwnerChanged 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1747s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1747s # Step 0: claiming bus name 1747s # Name: org.gtk.Test.AlreadyOwned 1747s # Owner: service 1747s # Step 1: adding subscription 1747s # Sender: org.gtk.Test.AlreadyOwned 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Immediately unsubscribing 1747s # Waiting for AddMatch to be processed 1747s # Step 2: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1747s # End of conn tests 1747s # Start of proxy tests 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/simple/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/simple/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/simple/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/simple/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/simple/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/simple/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/simple/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/simple/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1747s # Step 0: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 1: adding subscription 1747s # Sender: (any) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Cannot subscribe via proxy: no bus name 1747s # Waiting for AddMatch to be processed 1747s # Step 2: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 9 /gdbus/subscribe/proxy/simple 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1747s # Step 0: adding subscription 1747s # Sender: (any) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Cannot subscribe via proxy: no bus name 1747s # Waiting for AddMatch to be processed 1747s # Step 1: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 2: emitting signal 1747s # Sender: service 2 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 3: emitting signal 1747s # Sender: service 1747s # Destination: subscriber :1.0 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 4: emitting signal 1747s # Sender: service 2 1747s # Destination: subscriber :1.0 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/match_twice/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/match_twice/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/match_twice/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/match_twice/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/match_twice/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1747s # Step 0: adding subscription 1747s # Sender: service :1.1 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via proxy 1747s # Waiting for AddMatch to be processed 1747s # Step 1: adding subscription 1747s # Sender: (any) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: (any) 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Cannot subscribe via proxy: no bus name 1747s # Waiting for AddMatch to be processed 1747s # Step 2: adding subscription 1747s # Sender: (any) 1747s # Path: (any) 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Cannot subscribe via proxy: no bus name 1747s # Waiting for AddMatch to be processed 1747s # Step 3: adding subscription 1747s # Sender: service :1.1 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via proxy 1747s # Waiting for AddMatch to be processed 1747s # Step 4: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via proxy 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 4 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via proxy 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 4 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 11 /gdbus/subscribe/proxy/match_twice 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1747s # Step 0: adding subscription 1747s # Sender: service :1.1 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via proxy 1747s # Waiting for AddMatch to be processed 1747s # Step 1: emitting signal 1747s # Sender: attacker 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 2: emitting signal 1747s # Sender: attacker 1747s # Destination: subscriber :1.0 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 3: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via proxy 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 3 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1747s # Step 0: adding subscription 1747s # Sender: :0.this.had.better.not.exist 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via proxy 1747s # Waiting for AddMatch to be processed 1747s # Step 1: emitting signal 1747s # Sender: attacker 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 2: emitting signal 1747s # Sender: attacker 1747s # Destination: subscriber :1.0 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /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 1747s # Step 0: claiming bus name 1747s # Name: org.gtk.Test.AlreadyOwned 1747s # Owner: service 1747s # Step 1: adding subscription 1747s # Sender: org.gtk.Test.AlreadyOwned 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via proxy 1747s # Waiting for AddMatch to be processed 1747s # Step 2: adding subscription 1747s # Sender: org.gtk.Test.OwnedLater 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via proxy 1747s # Waiting for AddMatch to be processed 1747s # Step 3: emitting signal 1747s # Sender: attacker 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 4: emitting signal 1747s # Sender: attacker 1747s # Destination: subscriber :1.0 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 5: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 6: claiming bus name 1747s # Name: org.gtk.Test.OwnedLater 1747s # Owner: service 1747s # Step 7: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via proxy 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 5 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via proxy 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 7 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via proxy 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 7 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1747s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1747s # Step 0: adding subscription 1747s # Sender: org.freedesktop.DBus 1747s # Path: /org/freedesktop/DBus 1747s # Interface: org.freedesktop.DBus 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via proxy 1747s # Waiting for AddMatch to be processed 1747s # Step 1: emitting signal 1747s # Sender: attacker 1747s # Destination: (broadcast) 1747s # Path: /org/freedesktop/DBus 1747s # Interface: org.freedesktop.DBus 1747s # Member: NameOwnerChanged 1747s # String argument 0: would I lie to you? 1747s # Waiting for signal to reach message bus 1747s # Step 2: emitting signal 1747s # Sender: attacker 1747s # Destination: subscriber :1.0 1747s # Path: /org/freedesktop/DBus 1747s # Interface: org.freedesktop.DBus 1747s # Member: NameOwnerChanged 1747s # Waiting for signal to reach message bus 1747s # Step 3: claiming bus name 1747s # Name: org.gtk.Test.OwnedLater 1747s # Owner: service 1747s # Signal received from message bus org.freedesktop.DBus 1747s # Signal received from (unused) org.freedesktop.DBus via proxy 1747s # Path: /org/freedesktop/DBus 1747s # Interface: org.freedesktop.DBus 1747s # Member: NameOwnerChanged 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1747s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1747s # Step 0: claiming bus name 1747s # Name: org.gtk.Test.AlreadyOwned 1747s # Owner: service 1747s # Step 1: adding subscription 1747s # Sender: org.gtk.Test.AlreadyOwned 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via proxy 1747s # Waiting for AddMatch to be processed 1747s # Step 2: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via proxy 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 2 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1747s # End of proxy tests 1747s # Start of parallel tests 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/simple/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/simple/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/simple/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/simple/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/simple/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/simple/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/simple/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/simple/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1747s # Step 0: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 1: adding subscription 1747s # Sender: (any) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Cannot subscribe via proxy: no bus name 1747s # Waiting for AddMatch to be processed 1747s # Step 2: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 2 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1747s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 17 /gdbus/subscribe/parallel/simple 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1747s # Step 0: adding subscription 1747s # Sender: (any) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Cannot subscribe via proxy: no bus name 1747s # Waiting for AddMatch to be processed 1747s # Step 1: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 2: emitting signal 1747s # Sender: service 2 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 3: emitting signal 1747s # Sender: service 1747s # Destination: subscriber :1.0 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 4: emitting signal 1747s # Sender: service 2 1747s # Destination: subscriber :1.0 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 1 1747s # Signal received from service 2 :1.2 1747s # Signal received from service 2 :1.2 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 2 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 3 1747s # Signal received from service 2 :1.2 1747s # Signal received from service 2 :1.2 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 4 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1747s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1747s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1747s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1747s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/match_twice/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/match_twice/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/match_twice/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/match_twice/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/match_twice/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1747s # Step 0: adding subscription 1747s # Sender: service :1.1 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Subscribing via proxy 1747s # Waiting for AddMatch to be processed 1747s # Step 1: adding subscription 1747s # Sender: (any) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: (any) 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Cannot subscribe via proxy: no bus name 1747s # Waiting for AddMatch to be processed 1747s # Step 2: adding subscription 1747s # Sender: (any) 1747s # Path: (any) 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Cannot subscribe via proxy: no bus name 1747s # Waiting for AddMatch to be processed 1747s # Step 3: adding subscription 1747s # Sender: service :1.1 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Subscribing via proxy 1747s # Waiting for AddMatch to be processed 1747s # Step 4: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 4 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via proxy 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 4 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 4 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via proxy 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 4 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 4 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 4 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1747s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 19 /gdbus/subscribe/parallel/match_twice 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1747s # Step 0: adding subscription 1747s # Sender: service :1.1 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Subscribing via proxy 1747s # Waiting for AddMatch to be processed 1747s # Step 1: emitting signal 1747s # Sender: attacker 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 2: emitting signal 1747s # Sender: attacker 1747s # Destination: subscriber :1.0 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 3: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 3 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via proxy 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 3 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1747s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1747s # Step 0: adding subscription 1747s # Sender: :0.this.had.better.not.exist 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Subscribing via proxy 1747s # Waiting for AddMatch to be processed 1747s # Step 1: emitting signal 1747s # Sender: attacker 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 2: emitting signal 1747s # Sender: attacker 1747s # Destination: subscriber :1.0 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /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 1747s # Step 0: claiming bus name 1747s # Name: org.gtk.Test.AlreadyOwned 1747s # Owner: service 1747s # Step 1: adding subscription 1747s # Sender: org.gtk.Test.AlreadyOwned 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Subscribing via proxy 1747s # Waiting for AddMatch to be processed 1747s # Step 2: adding subscription 1747s # Sender: org.gtk.Test.OwnedLater 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Subscribing via proxy 1747s # Waiting for AddMatch to be processed 1747s # Step 3: emitting signal 1747s # Sender: attacker 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 4: emitting signal 1747s # Sender: attacker 1747s # Destination: subscriber :1.0 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 5: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Step 6: claiming bus name 1747s # Name: org.gtk.Test.OwnedLater 1747s # Owner: service 1747s # Step 7: emitting signal 1747s # Sender: service 1747s # Destination: (broadcast) 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Waiting for signal to reach message bus 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 5 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via proxy 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 5 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 7 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via proxy 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 7 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via connection 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 7 1747s # Signal received from service :1.1 1747s # Signal received from service :1.1 via proxy 1747s # Path: /org/gtk/GDBus/ExampleInterface 1747s # Interface: org.gtk.GDBus.ExampleInterface 1747s # Member: Foo 1747s # Argument 0: (not a string) 1747s # Sent in step: 7 1747s # Received Finished signal from subscriber :1.0 1747s # Received Finished signal from service :1.1 1747s # Received Finished signal from service 2 :1.2 1747s # Received Finished signal from attacker :1.3 1747s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1747s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1747s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1747s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1747s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1747s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1747s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1747s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1747s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1747s # subscriber is :1.0 1747s # service is :1.1 1747s # service 2 is :1.2 1747s # attacker is :1.3 1747s # Waiting for AddMatch to be processed 1747s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1747s # Step 0: adding subscription 1747s # Sender: org.freedesktop.DBus 1747s # Path: /org/freedesktop/DBus 1747s # Interface: org.freedesktop.DBus 1747s # Member: (any) 1747s # String argument 0: (any) 1747s # Flags: 0 1747s # Subscribing via connection 1747s # Subscribing via proxy 1747s # Waiting for AddMatch to be processed 1747s # Step 1: emitting signal 1747s # Sender: attacker 1747s # Destination: (broadcast) 1747s # Path: /org/freedesktop/DBus 1747s # Interface: org.freedesktop.DBus 1747s # Member: NameOwnerChanged 1747s # String argument 0: would I lie to you? 1747s # Waiting for signal to reach message bus 1747s # Step 2: emitting signal 1747s # Sender: attacker 1747s # Destination: subscriber :1.0 1747s # Path: /org/freedesktop/DBus 1747s # Interface: org.freedesktop.DBus 1747s # Member: NameOwnerChanged 1747s # Waiting for signal to reach message bus 1747s # Step 3: claiming bus name 1747s # Name: org.gtk.Test.OwnedLater 1747s # Owner: service 1748s # Signal received from message bus org.freedesktop.DBus 1748s # Signal received from (unused) org.freedesktop.DBus via connection 1748s # Path: /org/freedesktop/DBus 1748s # Interface: org.freedesktop.DBus 1748s # Member: NameOwnerChanged 1748s # Signal received from message bus org.freedesktop.DBus 1748s # Signal received from (unused) org.freedesktop.DBus via proxy 1748s # Path: /org/freedesktop/DBus 1748s # Interface: org.freedesktop.DBus 1748s # Member: NameOwnerChanged 1748s # Received Finished signal from subscriber :1.0 1748s # Received Finished signal from service :1.1 1748s # Received Finished signal from service 2 :1.2 1748s # Received Finished signal from attacker :1.3 1748s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1748s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1748s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1748s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1748s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1748s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1748s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_3R07J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1748s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1748s # subscriber is :1.0 1748s # service is :1.1 1748s # service 2 is :1.2 1748s # attacker is :1.3 1748s # Waiting for AddMatch to be processed 1748s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1748s # Step 0: claiming bus name 1748s # Name: org.gtk.Test.AlreadyOwned 1748s # Owner: service 1748s # Step 1: adding subscription 1748s # Sender: org.gtk.Test.AlreadyOwned 1748s # Path: /org/gtk/GDBus/ExampleInterface 1748s # Interface: org.gtk.GDBus.ExampleInterface 1748s # Member: (any) 1748s # String argument 0: (any) 1748s # Flags: 0 1748s # Subscribing via connection 1748s # Immediately unsubscribing 1748s # Subscribing via proxy 1748s # Waiting for AddMatch to be processed 1748s # Step 2: emitting signal 1748s # Sender: service 1748s # Destination: (broadcast) 1748s # Path: /org/gtk/GDBus/ExampleInterface 1748s # Interface: org.gtk.GDBus.ExampleInterface 1748s # Member: Foo 1748s # Argument 0: (not a string) 1748s # Waiting for signal to reach message bus 1748s # Signal received from service :1.1 1748s # Signal received from service :1.1 via proxy 1748s # Path: /org/gtk/GDBus/ExampleInterface 1748s # Interface: org.gtk.GDBus.ExampleInterface 1748s # Member: Foo 1748s # Argument 0: (not a string) 1748s # Sent in step: 2 1748s # Received Finished signal from subscriber :1.0 1748s # Received Finished signal from service :1.1 1748s # Received Finished signal from service 2 :1.2 1748s # Received Finished signal from attacker :1.3 1748s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1748s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1748s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1748s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1748s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1748s # End of parallel tests 1748s # End of subscribe tests 1748s # End of gdbus tests 1748s TAP version 14 1748s # random seed: R02S5a631283dc806e6e561e69089f73bafe 1748s 1..41 1748s # Start of unicode tests 1748s ok 1 /unicode/alnum 1748s ok 2 /unicode/alpha 1748s ok 3 /unicode/break-type 1748s ok 4 /unicode/canonical-decomposition 1748s ok 5 /unicode/casefold 1748s # Converting 'i' => 'İ' (line 6) 1748s # Converting 'I' => 'I' (line 7) 1748s # Converting 'İ' => 'İ' (line 8) 1748s # Converting 'i' => 'İ' (line 9) 1748s # Converting 'I' => 'I' (line 10) 1748s # Converting 'İ' => 'İ' (line 11) 1748s # Converting 'ᾁ' => 'ἉΙ' (line 13) 1748s # Converting 'ᾁ' => 'ἉΙ' (line 14) 1748s # Converting 'ΜΆΙΟΣ ' => 'ΜΆΙΟΣ ' (line 16) 1748s # Converting 'ΜΆΙΟΣ' => 'ΜΆΙΟΣ' (line 17) 1748s # Converting 'ΣΙΓΜΑ' => 'ΣΙΓΜΑ' (line 18) 1748s # Cannot set locale to lt_LT, skipping 1748s # Cannot set locale to lt_LT, skipping 1748s # Cannot set locale to lt_LT, skipping 1748s # Cannot set locale to lt_LT, skipping 1748s # Cannot set locale to lt_LT, skipping 1748s # Cannot set locale to lt_LT, skipping 1748s # Cannot set locale to lt_LT, skipping 1748s # Cannot set locale to lt_LT, skipping 1748s # Cannot set locale to lt_LT, skipping 1748s # Cannot set locale to lt_LT, skipping 1748s # Cannot set locale to lt_LT, skipping 1748s # Converting 'iė' => 'IE' (line 32) 1748s # Converting 'iė' => 'IE' (line 33) 1748s # Converting 'Ì' => 'Ì' (line 34) 1748s # Converting 'Í' => 'Í' (line 35) 1748s # Converting 'Ĩ' => 'Ĩ' (line 36) 1748s # Converting 'Í' => 'Í' (line 37) 1748s # Converting 'Ì' => 'Ì' (line 38) 1748s # Converting 'Ĩ' => 'Ĩ' (line 39) 1748s # Converting 'Į́' => 'Į́' (line 40) 1748s # Converting 'J́' => 'J́' (line 41) 1748s # Converting 'Į́' => 'Į́' (line 42) 1748s # Converting 'affl' => 'AFFL' (line 44) 1748s # Converting 'A' => 'A' (line 48) 1748s # Converting 'B' => 'B' (line 49) 1748s # Converting 'C' => 'C' (line 50) 1748s # Converting 'D' => 'D' (line 51) 1748s # Converting 'E' => 'E' (line 52) 1748s # Converting 'F' => 'F' (line 53) 1748s # Converting 'G' => 'G' (line 54) 1748s # Converting 'H' => 'H' (line 55) 1748s # Converting 'I' => 'I' (line 56) 1748s # Converting 'J' => 'J' (line 57) 1748s # Converting 'K' => 'K' (line 58) 1748s # Converting 'L' => 'L' (line 59) 1748s # Converting 'M' => 'M' (line 60) 1748s # Converting 'N' => 'N' (line 61) 1748s # Converting 'O' => 'O' (line 62) 1748s # Converting 'P' => 'P' (line 63) 1748s # Converting 'Q' => 'Q' (line 64) 1748s # Converting 'R' => 'R' (line 65) 1748s # Converting 'S' => 'S' (line 66) 1748s # Converting 'T' => 'T' (line 67) 1748s # Converting 'U' => 'U' (line 68) 1748s # Converting 'V' => 'V' (line 69) 1748s # Converting 'W' => 'W' (line 70) 1748s # Converting 'X' => 'X' (line 71) 1748s # Converting 'Y' => 'Y' (line 72) 1748s # Converting 'Z' => 'Z' (line 73) 1748s # Converting 'a' => 'A' (line 74) 1748s # Converting 'b' => 'B' (line 75) 1748s # Converting 'c' => 'C' (line 76) 1748s # Converting 'd' => 'D' (line 77) 1748s # Converting 'e' => 'E' (line 78) 1748s # Converting 'f' => 'F' (line 79) 1748s # Converting 'g' => 'G' (line 80) 1748s # Converting 'h' => 'H' (line 81) 1748s # Converting 'i' => 'I' (line 82) 1748s # Converting 'j' => 'J' (line 83) 1748s # Converting 'k' => 'K' (line 84) 1748s # Converting 'l' => 'L' (line 85) 1748s # Converting 'm' => 'M' (line 86) 1748s # Converting 'n' => 'N' (line 87) 1748s # Converting 'o' => 'O' (line 88) 1748s # Converting 'p' => 'P' (line 89) 1748s # Converting 'q' => 'Q' (line 90) 1748s # Converting 'r' => 'R' (line 91) 1748s # Converting 's' => 'S' (line 92) 1748s # Converting 't' => 'T' (line 93) 1748s # Converting 'u' => 'U' (line 94) 1748s # Converting 'v' => 'V' (line 95) 1748s # Converting 'w' => 'W' (line 96) 1748s # Converting 'x' => 'X' (line 97) 1748s # Converting 'y' => 'Y' (line 98) 1748s # Converting 'z' => 'Z' (line 99) 1748s # Converting 'µ' => 'Μ' (line 100) 1748s # Converting 'À' => 'À' (line 101) 1748s # Converting 'Á' => 'Á' (line 102) 1748s # Converting 'Â' => 'Â' (line 103) 1748s # Converting 'Ã' => 'Ã' (line 104) 1748s # Converting 'Ä' => 'Ä' (line 105) 1748s # Converting 'Å' => 'Å' (line 106) 1748s # Converting 'Æ' => 'Æ' (line 107) 1748s # Converting 'Ç' => 'Ç' (line 108) 1748s # Converting 'È' => 'È' (line 109) 1748s # Converting 'É' => 'É' (line 110) 1748s # Converting 'Ê' => 'Ê' (line 111) 1748s # Converting 'Ë' => 'Ë' (line 112) 1748s # Converting 'Ì' => 'Ì' (line 113) 1748s # Converting 'Í' => 'Í' (line 114) 1748s # Converting 'Î' => 'Î' (line 115) 1748s # Converting 'Ï' => 'Ï' (line 116) 1748s # Converting 'Ð' => 'Ð' (line 117) 1748s # Converting 'Ñ' => 'Ñ' (line 118) 1748s # Converting 'Ò' => 'Ò' (line 119) 1748s # Converting 'Ó' => 'Ó' (line 120) 1748s # Converting 'Ô' => 'Ô' (line 121) 1748s # Converting 'Õ' => 'Õ' (line 122) 1748s # Converting 'Ö' => 'Ö' (line 123) 1748s # Converting 'Ø' => 'Ø' (line 124) 1748s # Converting 'Ù' => 'Ù' (line 125) 1748s # Converting 'Ú' => 'Ú' (line 126) 1748s # Converting 'Û' => 'Û' (line 127) 1748s # Converting 'Ü' => 'Ü' (line 128) 1748s # Converting 'Ý' => 'Ý' (line 129) 1748s # Converting 'Þ' => 'Þ' (line 130) 1748s # Converting 'ß' => 'SS' (line 131) 1748s # Converting 'à' => 'À' (line 132) 1748s # Converting 'á' => 'Á' (line 133) 1748s # Converting 'â' => 'Â' (line 134) 1748s # Converting 'ã' => 'Ã' (line 135) 1748s # Converting 'ä' => 'Ä' (line 136) 1748s # Converting 'å' => 'Å' (line 137) 1748s # Converting 'æ' => 'Æ' (line 138) 1748s # Converting 'ç' => 'Ç' (line 139) 1748s # Converting 'è' => 'È' (line 140) 1748s # Converting 'é' => 'É' (line 141) 1748s # Converting 'ê' => 'Ê' (line 142) 1748s # Converting 'ë' => 'Ë' (line 143) 1748s # Converting 'ì' => 'Ì' (line 144) 1748s # Converting 'í' => 'Í' (line 145) 1748s # Converting 'î' => 'Î' (line 146) 1748s # Converting 'ï' => 'Ï' (line 147) 1748s # Converting 'ð' => 'Ð' (line 148) 1748s # Converting 'ñ' => 'Ñ' (line 149) 1748s # Converting 'ò' => 'Ò' (line 150) 1748s # Converting 'ó' => 'Ó' (line 151) 1748s # Converting 'ô' => 'Ô' (line 152) 1748s # Converting 'õ' => 'Õ' (line 153) 1748s # Converting 'ö' => 'Ö' (line 154) 1748s # Converting 'ø' => 'Ø' (line 155) 1748s # Converting 'ù' => 'Ù' (line 156) 1748s # Converting 'ú' => 'Ú' (line 157) 1748s # Converting 'û' => 'Û' (line 158) 1748s # Converting 'ü' => 'Ü' (line 159) 1748s # Converting 'ý' => 'Ý' (line 160) 1748s # Converting 'þ' => 'Þ' (line 161) 1748s # Converting 'ÿ' => 'Ÿ' (line 162) 1748s # Converting 'Ā' => 'Ā' (line 163) 1748s # Converting 'ā' => 'Ā' (line 164) 1748s # Converting 'Ă' => 'Ă' (line 165) 1748s # Converting 'ă' => 'Ă' (line 166) 1748s # Converting 'Ą' => 'Ą' (line 167) 1748s # Converting 'ą' => 'Ą' (line 168) 1748s # Converting 'Ć' => 'Ć' (line 169) 1748s # Converting 'ć' => 'Ć' (line 170) 1748s # Converting 'Ĉ' => 'Ĉ' (line 171) 1748s # Converting 'ĉ' => 'Ĉ' (line 172) 1748s # Converting 'Ċ' => 'Ċ' (line 173) 1748s # Converting 'ċ' => 'Ċ' (line 174) 1748s # Converting 'Č' => 'Č' (line 175) 1748s # Converting 'č' => 'Č' (line 176) 1748s # Converting 'Ď' => 'Ď' (line 177) 1748s # Converting 'ď' => 'Ď' (line 178) 1748s # Converting 'Đ' => 'Đ' (line 179) 1748s # Converting 'đ' => 'Đ' (line 180) 1748s # Converting 'Ē' => 'Ē' (line 181) 1748s # Converting 'ē' => 'Ē' (line 182) 1748s # Converting 'Ĕ' => 'Ĕ' (line 183) 1748s # Converting 'ĕ' => 'Ĕ' (line 184) 1748s # Converting 'Ė' => 'Ė' (line 185) 1748s # Converting 'ė' => 'Ė' (line 186) 1748s # Converting 'Ę' => 'Ę' (line 187) 1748s # Converting 'ę' => 'Ę' (line 188) 1748s # Converting 'Ě' => 'Ě' (line 189) 1748s # Converting 'ě' => 'Ě' (line 190) 1748s # Converting 'Ĝ' => 'Ĝ' (line 191) 1748s # Converting 'ĝ' => 'Ĝ' (line 192) 1748s # Converting 'Ğ' => 'Ğ' (line 193) 1748s # Converting 'ğ' => 'Ğ' (line 194) 1748s # Converting 'Ġ' => 'Ġ' (line 195) 1748s # Converting 'ġ' => 'Ġ' (line 196) 1748s # Converting 'Ģ' => 'Ģ' (line 197) 1748s # Converting 'ģ' => 'Ģ' (line 198) 1748s # Converting 'Ĥ' => 'Ĥ' (line 199) 1748s # Converting 'ĥ' => 'Ĥ' (line 200) 1748s # Converting 'Ħ' => 'Ħ' (line 201) 1748s # Converting 'ħ' => 'Ħ' (line 202) 1748s # Converting 'Ĩ' => 'Ĩ' (line 203) 1748s # Converting 'ĩ' => 'Ĩ' (line 204) 1748s # Converting 'Ī' => 'Ī' (line 205) 1748s # Converting 'ī' => 'Ī' (line 206) 1748s # Converting 'Ĭ' => 'Ĭ' (line 207) 1748s # Converting 'ĭ' => 'Ĭ' (line 208) 1748s # Converting 'Į' => 'Į' (line 209) 1748s # Converting 'į' => 'Į' (line 210) 1748s # Converting 'İ' => 'İ' (line 211) 1748s # Converting 'ı' => 'I' (line 212) 1748s # Converting 'IJ' => 'IJ' (line 213) 1748s # Converting 'ij' => 'IJ' (line 214) 1748s # Converting 'Ĵ' => 'Ĵ' (line 215) 1748s # Converting 'ĵ' => 'Ĵ' (line 216) 1748s # Converting 'Ķ' => 'Ķ' (line 217) 1748s # Converting 'ķ' => 'Ķ' (line 218) 1748s # Converting 'ĸ' => 'ĸ' (line 219) 1748s # Converting 'Ĺ' => 'Ĺ' (line 220) 1748s # Converting 'ĺ' => 'Ĺ' (line 221) 1748s # Converting 'Ļ' => 'Ļ' (line 222) 1748s # Converting 'ļ' => 'Ļ' (line 223) 1748s # Converting 'Ľ' => 'Ľ' (line 224) 1748s # Converting 'ľ' => 'Ľ' (line 225) 1748s # Converting 'Ŀ' => 'Ŀ' (line 226) 1748s # Converting 'ŀ' => 'Ŀ' (line 227) 1748s # Converting 'Ł' => 'Ł' (line 228) 1748s # Converting 'ł' => 'Ł' (line 229) 1748s # Converting 'Ń' => 'Ń' (line 230) 1748s # Converting 'ń' => 'Ń' (line 231) 1748s # Converting 'Ņ' => 'Ņ' (line 232) 1748s # Converting 'ņ' => 'Ņ' (line 233) 1748s # Converting 'Ň' => 'Ň' (line 234) 1748s # Converting 'ň' => 'Ň' (line 235) 1748s # Converting 'ʼn' => 'ʼN' (line 236) 1748s # Converting 'Ŋ' => 'Ŋ' (line 237) 1748s # Converting 'ŋ' => 'Ŋ' (line 238) 1748s # Converting 'Ō' => 'Ō' (line 239) 1748s # Converting 'ō' => 'Ō' (line 240) 1748s # Converting 'Ŏ' => 'Ŏ' (line 241) 1748s # Converting 'ŏ' => 'Ŏ' (line 242) 1748s # Converting 'Ő' => 'Ő' (line 243) 1748s # Converting 'ő' => 'Ő' (line 244) 1748s # Converting 'Œ' => 'Œ' (line 245) 1748s # Converting 'œ' => 'Œ' (line 246) 1748s # Converting 'Ŕ' => 'Ŕ' (line 247) 1748s # Converting 'ŕ' => 'Ŕ' (line 248) 1748s # Converting 'Ŗ' => 'Ŗ' (line 249) 1748s # Converting 'ŗ' => 'Ŗ' (line 250) 1748s # Converting 'Ř' => 'Ř' (line 251) 1748s # Converting 'ř' => 'Ř' (line 252) 1748s # Converting 'Ś' => 'Ś' (line 253) 1748s # Converting 'ś' => 'Ś' (line 254) 1748s # Converting 'Ŝ' => 'Ŝ' (line 255) 1748s # Converting 'ŝ' => 'Ŝ' (line 256) 1748s # Converting 'Ş' => 'Ş' (line 257) 1748s # Converting 'ş' => 'Ş' (line 258) 1748s # Converting 'Š' => 'Š' (line 259) 1748s # Converting 'š' => 'Š' (line 260) 1748s # Converting 'Ţ' => 'Ţ' (line 261) 1748s # Converting 'ţ' => 'Ţ' (line 262) 1748s # Converting 'Ť' => 'Ť' (line 263) 1748s # Converting 'ť' => 'Ť' (line 264) 1748s # Converting 'Ŧ' => 'Ŧ' (line 265) 1748s # Converting 'ŧ' => 'Ŧ' (line 266) 1748s # Converting 'Ũ' => 'Ũ' (line 267) 1748s # Converting 'ũ' => 'Ũ' (line 268) 1748s # Converting 'Ū' => 'Ū' (line 269) 1748s # Converting 'ū' => 'Ū' (line 270) 1748s # Converting 'Ŭ' => 'Ŭ' (line 271) 1748s # Converting 'ŭ' => 'Ŭ' (line 272) 1748s # Converting 'Ů' => 'Ů' (line 273) 1748s # Converting 'ů' => 'Ů' (line 274) 1748s # Converting 'Ű' => 'Ű' (line 275) 1748s # Converting 'ű' => 'Ű' (line 276) 1748s # Converting 'Ų' => 'Ų' (line 277) 1748s # Converting 'ų' => 'Ų' (line 278) 1748s # Converting 'Ŵ' => 'Ŵ' (line 279) 1748s # Converting 'ŵ' => 'Ŵ' (line 280) 1748s # Converting 'Ŷ' => 'Ŷ' (line 281) 1748s # Converting 'ŷ' => 'Ŷ' (line 282) 1748s # Converting 'Ÿ' => 'Ÿ' (line 283) 1748s # Converting 'Ź' => 'Ź' (line 284) 1748s # Converting 'ź' => 'Ź' (line 285) 1748s # Converting 'Ż' => 'Ż' (line 286) 1748s # Converting 'ż' => 'Ż' (line 287) 1748s # Converting 'Ž' => 'Ž' (line 288) 1748s # Converting 'ž' => 'Ž' (line 289) 1748s # Converting 'ſ' => 'S' (line 290) 1748s # Converting 'ƀ' => 'Ƀ' (line 291) 1748s # Converting 'Ɓ' => 'Ɓ' (line 292) 1748s # Converting 'Ƃ' => 'Ƃ' (line 293) 1748s # Converting 'ƃ' => 'Ƃ' (line 294) 1748s # Converting 'Ƅ' => 'Ƅ' (line 295) 1748s # Converting 'ƅ' => 'Ƅ' (line 296) 1748s # Converting 'Ɔ' => 'Ɔ' (line 297) 1748s # Converting 'Ƈ' => 'Ƈ' (line 298) 1748s # Converting 'ƈ' => 'Ƈ' (line 299) 1748s # Converting 'Ɖ' => 'Ɖ' (line 300) 1748s # Converting 'Ɗ' => 'Ɗ' (line 301) 1748s # Converting 'Ƌ' => 'Ƌ' (line 302) 1748s # Converting 'ƌ' => 'Ƌ' (line 303) 1748s # Converting 'ƍ' => 'ƍ' (line 304) 1748s # Converting 'Ǝ' => 'Ǝ' (line 305) 1748s # Converting 'Ə' => 'Ə' (line 306) 1748s # Converting 'Ɛ' => 'Ɛ' (line 307) 1748s # Converting 'Ƒ' => 'Ƒ' (line 308) 1748s # Converting 'ƒ' => 'Ƒ' (line 309) 1748s # Converting 'Ɠ' => 'Ɠ' (line 310) 1748s # Converting 'Ɣ' => 'Ɣ' (line 311) 1748s # Converting 'ƕ' => 'Ƕ' (line 312) 1748s # Converting 'Ɩ' => 'Ɩ' (line 313) 1748s # Converting 'Ɨ' => 'Ɨ' (line 314) 1748s # Converting 'Ƙ' => 'Ƙ' (line 315) 1748s # Converting 'ƙ' => 'Ƙ' (line 316) 1748s # Converting 'ƚ' => 'Ƚ' (line 317) 1748s # Converting 'ƛ' => 'Ƛ' (line 318) 1748s # Converting 'Ɯ' => 'Ɯ' (line 319) 1748s # Converting 'Ɲ' => 'Ɲ' (line 320) 1748s # Converting 'ƞ' => 'Ƞ' (line 321) 1748s # Converting 'Ɵ' => 'Ɵ' (line 322) 1748s # Converting 'Ơ' => 'Ơ' (line 323) 1748s # Converting 'ơ' => 'Ơ' (line 324) 1748s # Converting 'Ƣ' => 'Ƣ' (line 325) 1748s # Converting 'ƣ' => 'Ƣ' (line 326) 1748s # Converting 'Ƥ' => 'Ƥ' (line 327) 1748s # Converting 'ƥ' => 'Ƥ' (line 328) 1748s # Converting 'Ʀ' => 'Ʀ' (line 329) 1748s # Converting 'Ƨ' => 'Ƨ' (line 330) 1748s # Converting 'ƨ' => 'Ƨ' (line 331) 1748s # Converting 'Ʃ' => 'Ʃ' (line 332) 1748s # Converting 'ƪ' => 'ƪ' (line 333) 1748s # Converting 'ƫ' => 'ƫ' (line 334) 1748s # Converting 'Ƭ' => 'Ƭ' (line 335) 1748s ok - glib/gdbus-subscribe.test 1748s # Running test: glib/unicode.test 1748s # Converting 'ƭ' => 'Ƭ' (line 336) 1748s # Converting 'Ʈ' => 'Ʈ' (line 337) 1748s # Converting 'Ư' => 'Ư' (line 338) 1748s # Converting 'ư' => 'Ư' (line 339) 1748s # Converting 'Ʊ' => 'Ʊ' (line 340) 1748s # Converting 'Ʋ' => 'Ʋ' (line 341) 1748s # Converting 'Ƴ' => 'Ƴ' (line 342) 1748s # Converting 'ƴ' => 'Ƴ' (line 343) 1748s # Converting 'Ƶ' => 'Ƶ' (line 344) 1748s # Converting 'ƶ' => 'Ƶ' (line 345) 1748s # Converting 'Ʒ' => 'Ʒ' (line 346) 1748s # Converting 'Ƹ' => 'Ƹ' (line 347) 1748s # Converting 'ƹ' => 'Ƹ' (line 348) 1748s # Converting 'ƺ' => 'ƺ' (line 349) 1748s # Converting 'Ƽ' => 'Ƽ' (line 350) 1748s # Converting 'ƽ' => 'Ƽ' (line 351) 1748s # Converting 'ƾ' => 'ƾ' (line 352) 1748s # Converting 'ƿ' => 'Ƿ' (line 353) 1748s # Converting 'DŽ' => 'DŽ' (line 354) 1748s # Converting 'Dž' => 'DŽ' (line 355) 1748s # Converting 'dž' => 'DŽ' (line 356) 1748s # Converting 'LJ' => 'LJ' (line 357) 1748s # Converting 'Lj' => 'LJ' (line 358) 1748s # Converting 'lj' => 'LJ' (line 359) 1748s # Converting 'NJ' => 'NJ' (line 360) 1748s # Converting 'Nj' => 'NJ' (line 361) 1748s # Converting 'nj' => 'NJ' (line 362) 1748s # Converting 'Ǎ' => 'Ǎ' (line 363) 1748s # Converting 'ǎ' => 'Ǎ' (line 364) 1748s # Converting 'Ǐ' => 'Ǐ' (line 365) 1748s # Converting 'ǐ' => 'Ǐ' (line 366) 1748s # Converting 'Ǒ' => 'Ǒ' (line 367) 1748s # Converting 'ǒ' => 'Ǒ' (line 368) 1748s # Converting 'Ǔ' => 'Ǔ' (line 369) 1748s # Converting 'ǔ' => 'Ǔ' (line 370) 1748s # Converting 'Ǖ' => 'Ǖ' (line 371) 1748s # Converting 'ǖ' => 'Ǖ' (line 372) 1748s # Converting 'Ǘ' => 'Ǘ' (line 373) 1748s # Converting 'ǘ' => 'Ǘ' (line 374) 1748s # Converting 'Ǚ' => 'Ǚ' (line 375) 1748s # Converting 'ǚ' => 'Ǚ' (line 376) 1748s # Converting 'Ǜ' => 'Ǜ' (line 377) 1748s # Converting 'ǜ' => 'Ǜ' (line 378) 1748s # Converting 'ǝ' => 'Ǝ' (line 379) 1748s # Converting 'Ǟ' => 'Ǟ' (line 380) 1748s # Converting 'ǟ' => 'Ǟ' (line 381) 1748s # Converting 'Ǡ' => 'Ǡ' (line 382) 1748s # Converting 'ǡ' => 'Ǡ' (line 383) 1748s # Converting 'Ǣ' => 'Ǣ' (line 384) 1748s # Converting 'ǣ' => 'Ǣ' (line 385) 1748s # Converting 'Ǥ' => 'Ǥ' (line 386) 1748s # Converting 'ǥ' => 'Ǥ' (line 387) 1748s # Converting 'Ǧ' => 'Ǧ' (line 388) 1748s # Converting 'ǧ' => 'Ǧ' (line 389) 1748s # Converting 'Ǩ' => 'Ǩ' (line 390) 1748s # Converting 'ǩ' => 'Ǩ' (line 391) 1748s # Converting 'Ǫ' => 'Ǫ' (line 392) 1748s # Converting 'ǫ' => 'Ǫ' (line 393) 1748s # Converting 'Ǭ' => 'Ǭ' (line 394) 1748s # Converting 'ǭ' => 'Ǭ' (line 395) 1748s # Converting 'Ǯ' => 'Ǯ' (line 396) 1748s # Converting 'ǯ' => 'Ǯ' (line 397) 1748s # Converting 'ǰ' => 'J̌' (line 398) 1748s # Converting 'DZ' => 'DZ' (line 399) 1748s # Converting 'Dz' => 'DZ' (line 400) 1748s # Converting 'dz' => 'DZ' (line 401) 1748s # Converting 'Ǵ' => 'Ǵ' (line 402) 1748s # Converting 'ǵ' => 'Ǵ' (line 403) 1748s # Converting 'Ƕ' => 'Ƕ' (line 404) 1748s # Converting 'Ƿ' => 'Ƿ' (line 405) 1748s # Converting 'Ǹ' => 'Ǹ' (line 406) 1748s # Converting 'ǹ' => 'Ǹ' (line 407) 1748s # Converting 'Ǻ' => 'Ǻ' (line 408) 1748s # Converting 'ǻ' => 'Ǻ' (line 409) 1748s # Converting 'Ǽ' => 'Ǽ' (line 410) 1748s # Converting 'ǽ' => 'Ǽ' (line 411) 1748s # Converting 'Ǿ' => 'Ǿ' (line 412) 1748s # Converting 'ǿ' => 'Ǿ' (line 413) 1748s # Converting 'Ȁ' => 'Ȁ' (line 414) 1748s # Converting 'ȁ' => 'Ȁ' (line 415) 1748s # Converting 'Ȃ' => 'Ȃ' (line 416) 1748s # Converting 'ȃ' => 'Ȃ' (line 417) 1748s # Converting 'Ȅ' => 'Ȅ' (line 418) 1748s # Converting 'ȅ' => 'Ȅ' (line 419) 1748s # Converting 'Ȇ' => 'Ȇ' (line 420) 1748s # Converting 'ȇ' => 'Ȇ' (line 421) 1748s # Converting 'Ȉ' => 'Ȉ' (line 422) 1748s # Converting 'ȉ' => 'Ȉ' (line 423) 1748s # Converting 'Ȋ' => 'Ȋ' (line 424) 1748s # Converting 'ȋ' => 'Ȋ' (line 425) 1748s # Converting 'Ȍ' => 'Ȍ' (line 426) 1748s # Converting 'ȍ' => 'Ȍ' (line 427) 1748s # Converting 'Ȏ' => 'Ȏ' (line 428) 1748s # Converting 'ȏ' => 'Ȏ' (line 429) 1748s # Converting 'Ȑ' => 'Ȑ' (line 430) 1748s # Converting 'ȑ' => 'Ȑ' (line 431) 1748s # Converting 'Ȓ' => 'Ȓ' (line 432) 1748s # Converting 'ȓ' => 'Ȓ' (line 433) 1748s # Converting 'Ȕ' => 'Ȕ' (line 434) 1748s # Converting 'ȕ' => 'Ȕ' (line 435) 1748s # Converting 'Ȗ' => 'Ȗ' (line 436) 1748s # Converting 'ȗ' => 'Ȗ' (line 437) 1748s # Converting 'Ș' => 'Ș' (line 438) 1748s # Converting 'ș' => 'Ș' (line 439) 1748s # Converting 'Ț' => 'Ț' (line 440) 1748s # Converting 'ț' => 'Ț' (line 441) 1748s # Converting 'Ȝ' => 'Ȝ' (line 442) 1748s # Converting 'ȝ' => 'Ȝ' (line 443) 1748s # Converting 'Ȟ' => 'Ȟ' (line 444) 1748s # Converting 'ȟ' => 'Ȟ' (line 445) 1748s # Converting 'Ƞ' => 'Ƞ' (line 446) 1748s # Converting 'ȡ' => 'ȡ' (line 447) 1748s # Converting 'Ȣ' => 'Ȣ' (line 448) 1748s # Converting 'ȣ' => 'Ȣ' (line 449) 1748s # Converting 'Ȥ' => 'Ȥ' (line 450) 1748s # Converting 'ȥ' => 'Ȥ' (line 451) 1748s # Converting 'Ȧ' => 'Ȧ' (line 452) 1748s # Converting 'ȧ' => 'Ȧ' (line 453) 1748s # Converting 'Ȩ' => 'Ȩ' (line 454) 1748s # Converting 'ȩ' => 'Ȩ' (line 455) 1748s # Converting 'Ȫ' => 'Ȫ' (line 456) 1748s # Converting 'ȫ' => 'Ȫ' (line 457) 1748s # Converting 'Ȭ' => 'Ȭ' (line 458) 1748s # Converting 'ȭ' => 'Ȭ' (line 459) 1748s # Converting 'Ȯ' => 'Ȯ' (line 460) 1748s # Converting 'ȯ' => 'Ȯ' (line 461) 1748s # Converting 'Ȱ' => 'Ȱ' (line 462) 1748s # Converting 'ȱ' => 'Ȱ' (line 463) 1748s # Converting 'Ȳ' => 'Ȳ' (line 464) 1748s # Converting 'ȳ' => 'Ȳ' (line 465) 1748s # Converting 'ȴ' => 'ȴ' (line 466) 1748s # Converting 'ȵ' => 'ȵ' (line 467) 1748s # Converting 'ȶ' => 'ȶ' (line 468) 1748s # Converting 'ȷ' => 'ȷ' (line 469) 1748s # Converting 'ȸ' => 'ȸ' (line 470) 1748s # Converting 'ȹ' => 'ȹ' (line 471) 1748s # Converting 'Ⱥ' => 'Ⱥ' (line 472) 1748s # Converting 'Ȼ' => 'Ȼ' (line 473) 1748s # Converting 'ȼ' => 'Ȼ' (line 474) 1748s # Converting 'Ƚ' => 'Ƚ' (line 475) 1748s # Converting 'Ⱦ' => 'Ⱦ' (line 476) 1748s # Converting 'ȿ' => 'Ȿ' (line 477) 1748s # Converting 'ɀ' => 'Ɀ' (line 478) 1748s # Converting 'Ɂ' => 'Ɂ' (line 479) 1748s # Converting 'ɂ' => 'Ɂ' (line 480) 1748s # Converting 'Ƀ' => 'Ƀ' (line 481) 1748s # Converting 'Ʉ' => 'Ʉ' (line 482) 1748s # Converting 'Ʌ' => 'Ʌ' (line 483) 1748s # Converting 'Ɇ' => 'Ɇ' (line 484) 1748s # Converting 'ɇ' => 'Ɇ' (line 485) 1748s # Converting 'Ɉ' => 'Ɉ' (line 486) 1748s # Converting 'ɉ' => 'Ɉ' (line 487) 1748s # Converting 'Ɋ' => 'Ɋ' (line 488) 1748s # Converting 'ɋ' => 'Ɋ' (line 489) 1748s # Converting 'Ɍ' => 'Ɍ' (line 490) 1748s # Converting 'ɍ' => 'Ɍ' (line 491) 1748s # Converting 'Ɏ' => 'Ɏ' (line 492) 1748s # Converting 'ɏ' => 'Ɏ' (line 493) 1748s # Converting 'ɐ' => 'Ɐ' (line 494) 1748s # Converting 'ɑ' => 'Ɑ' (line 495) 1748s # Converting 'ɒ' => 'Ɒ' (line 496) 1748s # Converting 'ɓ' => 'Ɓ' (line 497) 1748s # Converting 'ɔ' => 'Ɔ' (line 498) 1748s # Converting 'ɕ' => 'ɕ' (line 499) 1748s # Converting 'ɖ' => 'Ɖ' (line 500) 1748s # Converting 'ɗ' => 'Ɗ' (line 501) 1748s # Converting 'ɘ' => 'ɘ' (line 502) 1748s # Converting 'ə' => 'Ə' (line 503) 1748s # Converting 'ɚ' => 'ɚ' (line 504) 1748s # Converting 'ɛ' => 'Ɛ' (line 505) 1748s # Converting 'ɜ' => 'Ɜ' (line 506) 1748s # Converting 'ɝ' => 'ɝ' (line 507) 1748s # Converting 'ɞ' => 'ɞ' (line 508) 1748s # Converting 'ɟ' => 'ɟ' (line 509) 1748s # Converting 'ɠ' => 'Ɠ' (line 510) 1748s # Converting 'ɡ' => 'Ɡ' (line 511) 1748s # Converting 'ɢ' => 'ɢ' (line 512) 1748s # Converting 'ɣ' => 'Ɣ' (line 513) 1748s # Converting 'ɤ' => 'Ɤ' (line 514) 1748s # Converting 'ɥ' => 'Ɥ' (line 515) 1748s # Converting 'ɦ' => 'Ɦ' (line 516) 1748s # Converting 'ɧ' => 'ɧ' (line 517) 1748s # Converting 'ɨ' => 'Ɨ' (line 518) 1748s # Converting 'ɩ' => 'Ɩ' (line 519) 1748s # Converting 'ɪ' => 'Ɪ' (line 520) 1748s # Converting 'ɫ' => 'Ɫ' (line 521) 1748s # Converting 'ɬ' => 'Ɬ' (line 522) 1748s # Converting 'ɭ' => 'ɭ' (line 523) 1748s # Converting 'ɮ' => 'ɮ' (line 524) 1748s # Converting 'ɯ' => 'Ɯ' (line 525) 1748s # Converting 'ɰ' => 'ɰ' (line 526) 1748s # Converting 'ɱ' => 'Ɱ' (line 527) 1748s # Converting 'ɲ' => 'Ɲ' (line 528) 1748s # Converting 'ɳ' => 'ɳ' (line 529) 1748s # Converting 'ɴ' => 'ɴ' (line 530) 1748s # Converting 'ɵ' => 'Ɵ' (line 531) 1748s # Converting 'ɶ' => 'ɶ' (line 532) 1748s # Converting 'ɷ' => 'ɷ' (line 533) 1748s # Converting 'ɸ' => 'ɸ' (line 534) 1748s # Converting 'ɹ' => 'ɹ' (line 535) 1748s # Converting 'ɺ' => 'ɺ' (line 536) 1748s # Converting 'ɻ' => 'ɻ' (line 537) 1748s # Converting 'ɼ' => 'ɼ' (line 538) 1748s # Converting 'ɽ' => 'Ɽ' (line 539) 1748s # Converting 'ɾ' => 'ɾ' (line 540) 1748s # Converting 'ɿ' => 'ɿ' (line 541) 1748s # Converting 'ʀ' => 'Ʀ' (line 542) 1748s # Converting 'ʁ' => 'ʁ' (line 543) 1748s # Converting 'ʂ' => 'Ʂ' (line 544) 1748s # Converting 'ʃ' => 'Ʃ' (line 545) 1748s # Converting 'ʄ' => 'ʄ' (line 546) 1748s # Converting 'ʅ' => 'ʅ' (line 547) 1748s # Converting 'ʆ' => 'ʆ' (line 548) 1748s # Converting 'ʇ' => 'Ʇ' (line 549) 1748s # Converting 'ʈ' => 'Ʈ' (line 550) 1748s # Converting 'ʉ' => 'Ʉ' (line 551) 1748s # Converting 'ʊ' => 'Ʊ' (line 552) 1748s # Converting 'ʋ' => 'Ʋ' (line 553) 1748s # Converting 'ʌ' => 'Ʌ' (line 554) 1748s # Converting 'ʍ' => 'ʍ' (line 555) 1748s # Converting 'ʎ' => 'ʎ' (line 556) 1748s # Converting 'ʏ' => 'ʏ' (line 557) 1748s # Converting 'ʐ' => 'ʐ' (line 558) 1748s # Converting 'ʑ' => 'ʑ' (line 559) 1748s # Converting 'ʒ' => 'Ʒ' (line 560) 1748s # Converting 'ʓ' => 'ʓ' (line 561) 1748s # Converting 'ʖ' => 'ʖ' (line 562) 1748s # Converting 'ʗ' => 'ʗ' (line 563) 1748s # Converting 'ʘ' => 'ʘ' (line 564) 1748s # Converting 'ʙ' => 'ʙ' (line 565) 1748s # Converting 'ʚ' => 'ʚ' (line 566) 1748s # Converting 'ʛ' => 'ʛ' (line 567) 1748s # Converting 'ʜ' => 'ʜ' (line 568) 1748s # Converting 'ʝ' => 'Ʝ' (line 569) 1748s # Converting 'ʞ' => 'Ʞ' (line 570) 1748s # Converting 'ʟ' => 'ʟ' (line 571) 1748s # Converting 'ʠ' => 'ʠ' (line 572) 1748s # Converting 'ʡ' => 'ʡ' (line 573) 1748s # Converting 'ʢ' => 'ʢ' (line 574) 1748s # Converting 'ʣ' => 'ʣ' (line 575) 1748s # Converting 'ʤ' => 'ʤ' (line 576) 1748s # Converting 'ʥ' => 'ʥ' (line 577) 1748s # Converting 'ʦ' => 'ʦ' (line 578) 1748s # Converting 'ʧ' => 'ʧ' (line 579) 1748s # Converting 'ʨ' => 'ʨ' (line 580) 1748s # Converting 'ʩ' => 'ʩ' (line 581) 1748s # Converting 'ʪ' => 'ʪ' (line 582) 1748s # Converting 'ʫ' => 'ʫ' (line 583) 1748s # Converting 'ʬ' => 'ʬ' (line 584) 1748s # Converting 'ʭ' => 'ʭ' (line 585) 1748s # Converting 'ʮ' => 'ʮ' (line 586) 1748s # Converting 'ʯ' => 'ʯ' (line 587) 1748s # Converting 'Ͱ' => 'Ͱ' (line 588) 1748s # Converting 'ͱ' => 'Ͱ' (line 589) 1748s # Converting 'Ͳ' => 'Ͳ' (line 590) 1748s # Converting 'ͳ' => 'Ͳ' (line 591) 1748s # Converting 'Ͷ' => 'Ͷ' (line 592) 1748s # Converting 'ͷ' => 'Ͷ' (line 593) 1748s # Converting 'ͻ' => 'Ͻ' (line 594) 1748s # Converting 'ͼ' => 'Ͼ' (line 595) 1748s # Converting 'ͽ' => 'Ͽ' (line 596) 1748s # Converting 'Ϳ' => 'Ϳ' (line 597) 1748s # Converting 'Ά' => 'Ά' (line 598) 1748s # Converting 'Έ' => 'Έ' (line 599) 1748s # Converting 'Ή' => 'Ή' (line 600) 1748s # Converting 'Ί' => 'Ί' (line 601) 1748s # Converting 'Ό' => 'Ό' (line 602) 1748s # Converting 'Ύ' => 'Ύ' (line 603) 1748s # Converting 'Ώ' => 'Ώ' (line 604) 1748s # Converting 'ΐ' => 'Ϊ́' (line 605) 1748s # Converting 'Α' => 'Α' (line 606) 1748s # Converting 'Β' => 'Β' (line 607) 1748s # Converting 'Γ' => 'Γ' (line 608) 1748s # Converting 'Δ' => 'Δ' (line 609) 1748s # Converting 'Ε' => 'Ε' (line 610) 1748s # Converting 'Ζ' => 'Ζ' (line 611) 1748s # Converting 'Η' => 'Η' (line 612) 1748s # Converting 'Θ' => 'Θ' (line 613) 1748s # Converting 'Ι' => 'Ι' (line 614) 1748s # Converting 'Κ' => 'Κ' (line 615) 1748s # Converting 'Λ' => 'Λ' (line 616) 1748s # Converting 'Μ' => 'Μ' (line 617) 1748s # Converting 'Ν' => 'Ν' (line 618) 1748s # Converting 'Ξ' => 'Ξ' (line 619) 1748s # Converting 'Ο' => 'Ο' (line 620) 1748s # Converting 'Π' => 'Π' (line 621) 1748s # Converting 'Ρ' => 'Ρ' (line 622) 1748s # Converting 'Τ' => 'Τ' (line 623) 1748s # Converting 'Υ' => 'Υ' (line 624) 1748s # Converting 'Φ' => 'Φ' (line 625) 1748s # Converting 'Χ' => 'Χ' (line 626) 1748s # Converting 'Ψ' => 'Ψ' (line 627) 1748s # Converting 'Ω' => 'Ω' (line 628) 1748s # Converting 'Ϊ' => 'Ϊ' (line 629) 1748s # Converting 'Ϋ' => 'Ϋ' (line 630) 1748s # Converting 'ά' => 'Ά' (line 631) 1748s # Converting 'έ' => 'Έ' (line 632) 1748s # Converting 'ή' => 'Ή' (line 633) 1748s # Converting 'ί' => 'Ί' (line 634) 1748s # Converting 'ΰ' => 'Ϋ́' (line 635) 1748s # Converting 'α' => 'Α' (line 636) 1748s # Converting 'β' => 'Β' (line 637) 1748s # Converting 'γ' => 'Γ' (line 638) 1748s # Converting 'δ' => 'Δ' (line 639) 1748s # Converting 'ε' => 'Ε' (line 640) 1748s # Converting 'ζ' => 'Ζ' (line 641) 1748s # Converting 'η' => 'Η' (line 642) 1748s # Converting 'θ' => 'Θ' (line 643) 1748s # Converting 'ι' => 'Ι' (line 644) 1748s # Converting 'κ' => 'Κ' (line 645) 1748s # Converting 'λ' => 'Λ' (line 646) 1748s # Converting 'μ' => 'Μ' (line 647) 1748s # Converting 'ν' => 'Ν' (line 648) 1748s # Converting 'ξ' => 'Ξ' (line 649) 1748s # Converting 'ο' => 'Ο' (line 650) 1748s # Converting 'π' => 'Π' (line 651) 1748s # Converting 'ρ' => 'Ρ' (line 652) 1748s # Converting 'ς' => 'Σ' (line 653) 1748s # Converting 'σ' => 'Σ' (line 654) 1748s # Converting 'τ' => 'Τ' (line 655) 1748s # Converting 'υ' => 'Υ' (line 656) 1748s # Converting 'φ' => 'Φ' (line 657) 1748s # Converting 'χ' => 'Χ' (line 658) 1748s # Converting 'ψ' => 'Ψ' (line 659) 1748s # Converting 'ω' => 'Ω' (line 660) 1748s # Converting 'ϊ' => 'Ϊ' (line 661) 1748s # Converting 'ϋ' => 'Ϋ' (line 662) 1748s # Converting 'ό' => 'Ό' (line 663) 1748s # Converting 'ύ' => 'Ύ' (line 664) 1748s # Converting 'ώ' => 'Ώ' (line 665) 1748s # Converting 'Ϗ' => 'Ϗ' (line 666) 1748s # Converting 'ϐ' => 'Β' (line 667) 1748s # Converting 'ϑ' => 'Θ' (line 668) 1748s # Converting 'ϒ' => 'ϒ' (line 669) 1748s # Converting 'ϓ' => 'ϓ' (line 670) 1748s # Converting 'ϔ' => 'ϔ' (line 671) 1748s # Converting 'ϕ' => 'Φ' (line 672) 1748s # Converting 'ϖ' => 'Π' (line 673) 1748s # Converting 'ϗ' => 'Ϗ' (line 674) 1748s # Converting 'Ϙ' => 'Ϙ' (line 675) 1748s # Converting 'ϙ' => 'Ϙ' (line 676) 1748s # Converting 'Ϛ' => 'Ϛ' (line 677) 1748s # Converting 'ϛ' => 'Ϛ' (line 678) 1748s # Converting 'Ϝ' => 'Ϝ' (line 679) 1748s # Converting 'ϝ' => 'Ϝ' (line 680) 1748s # Converting 'Ϟ' => 'Ϟ' (line 681) 1748s # Converting 'ϟ' => 'Ϟ' (line 682) 1748s # Converting 'Ϡ' => 'Ϡ' (line 683) 1748s # Converting 'ϡ' => 'Ϡ' (line 684) 1748s # Converting 'Ϣ' => 'Ϣ' (line 685) 1748s # Converting 'ϣ' => 'Ϣ' (line 686) 1748s # Converting 'Ϥ' => 'Ϥ' (line 687) 1748s # Converting 'ϥ' => 'Ϥ' (line 688) 1748s # Converting 'Ϧ' => 'Ϧ' (line 689) 1748s # Converting 'ϧ' => 'Ϧ' (line 690) 1748s # Converting 'Ϩ' => 'Ϩ' (line 691) 1748s # Converting 'ϩ' => 'Ϩ' (line 692) 1748s # Converting 'Ϫ' => 'Ϫ' (line 693) 1748s # Converting 'ϫ' => 'Ϫ' (line 694) 1748s # Converting 'Ϭ' => 'Ϭ' (line 695) 1748s # Converting 'ϭ' => 'Ϭ' (line 696) 1748s # Converting 'Ϯ' => 'Ϯ' (line 697) 1748s # Converting 'ϯ' => 'Ϯ' (line 698) 1748s # Converting 'ϰ' => 'Κ' (line 699) 1748s # Converting 'ϱ' => 'Ρ' (line 700) 1748s # Converting 'ϲ' => 'Ϲ' (line 701) 1748s # Converting 'ϳ' => 'Ϳ' (line 702) 1748s # Converting 'ϴ' => 'ϴ' (line 703) 1748s # Converting 'ϵ' => 'Ε' (line 704) 1748s # Converting 'Ϸ' => 'Ϸ' (line 705) 1748s # Converting 'ϸ' => 'Ϸ' (line 706) 1748s # Converting 'Ϲ' => 'Ϲ' (line 707) 1748s # Converting 'Ϻ' => 'Ϻ' (line 708) 1748s # Converting 'ϻ' => 'Ϻ' (line 709) 1748s # Converting 'ϼ' => 'ϼ' (line 710) 1748s # Converting 'Ͻ' => 'Ͻ' (line 711) 1748s # Converting 'Ͼ' => 'Ͼ' (line 712) 1748s # Converting 'Ͽ' => 'Ͽ' (line 713) 1748s # Converting 'Ѐ' => 'Ѐ' (line 714) 1748s # Converting 'Ё' => 'Ё' (line 715) 1748s # Converting 'Ђ' => 'Ђ' (line 716) 1748s # Converting 'Ѓ' => 'Ѓ' (line 717) 1748s # Converting 'Є' => 'Є' (line 718) 1748s # Converting 'Ѕ' => 'Ѕ' (line 719) 1748s # Converting 'І' => 'І' (line 720) 1748s # Converting 'Ї' => 'Ї' (line 721) 1748s # Converting 'Ј' => 'Ј' (line 722) 1748s # Converting 'Љ' => 'Љ' (line 723) 1748s # Converting 'Њ' => 'Њ' (line 724) 1748s # Converting 'Ћ' => 'Ћ' (line 725) 1748s # Converting 'Ќ' => 'Ќ' (line 726) 1748s # Converting 'Ѝ' => 'Ѝ' (line 727) 1748s # Converting 'Ў' => 'Ў' (line 728) 1748s # Converting 'Џ' => 'Џ' (line 729) 1748s # Converting 'А' => 'А' (line 730) 1748s # Converting 'Б' => 'Б' (line 731) 1748s # Converting 'В' => 'В' (line 732) 1748s # Converting 'Г' => 'Г' (line 733) 1748s # Converting 'Д' => 'Д' (line 734) 1748s # Converting 'Е' => 'Е' (line 735) 1748s # Converting 'Ж' => 'Ж' (line 736) 1748s # Converting 'З' => 'З' (line 737) 1748s # Converting 'И' => 'И' (line 738) 1748s # Converting 'Й' => 'Й' (line 739) 1748s # Converting 'К' => 'К' (line 740) 1748s # Converting 'Л' => 'Л' (line 741) 1748s # Converting 'М' => 'М' (line 742) 1748s # Converting 'Н' => 'Н' (line 743) 1748s # Converting 'О' => 'О' (line 744) 1748s # Converting 'П' => 'П' (line 745) 1748s # Converting 'Р' => 'Р' (line 746) 1748s # Converting 'С' => 'С' (line 747) 1748s # Converting 'Т' => 'Т' (line 748) 1748s # Converting 'У' => 'У' (line 749) 1748s # Converting 'Ф' => 'Ф' (line 750) 1748s # Converting 'Х' => 'Х' (line 751) 1748s # Converting 'Ц' => 'Ц' (line 752) 1748s # Converting 'Ч' => 'Ч' (line 753) 1748s # Converting 'Ш' => 'Ш' (line 754) 1748s # Converting 'Щ' => 'Щ' (line 755) 1748s # Converting 'Ъ' => 'Ъ' (line 756) 1748s # Converting 'Ы' => 'Ы' (line 757) 1748s # Converting 'Ь' => 'Ь' (line 758) 1748s # Converting 'Э' => 'Э' (line 759) 1748s # Converting 'Ю' => 'Ю' (line 760) 1748s # Converting 'Я' => 'Я' (line 761) 1748s # Converting 'а' => 'А' (line 762) 1748s # Converting 'б' => 'Б' (line 763) 1748s # Converting 'в' => 'В' (line 764) 1748s # Converting 'г' => 'Г' (line 765) 1748s # Converting 'д' => 'Д' (line 766) 1748s # Converting 'е' => 'Е' (line 767) 1748s # Converting 'ж' => 'Ж' (line 768) 1748s # Converting 'з' => 'З' (line 769) 1748s # Converting 'и' => 'И' (line 770) 1748s # Converting 'й' => 'Й' (line 771) 1748s # Converting 'к' => 'К' (line 772) 1748s # Converting 'л' => 'Л' (line 773) 1748s # Converting 'м' => 'М' (line 774) 1748s # Converting 'н' => 'Н' (line 775) 1748s # Converting 'о' => 'О' (line 776) 1748s # Converting 'п' => 'П' (line 777) 1748s # Converting 'р' => 'Р' (line 778) 1748s # Converting 'с' => 'С' (line 779) 1748s # Converting 'т' => 'Т' (line 780) 1748s # Converting 'у' => 'У' (line 781) 1748s # Converting 'ф' => 'Ф' (line 782) 1748s # Converting 'х' => 'Х' (line 783) 1748s # Converting 'ц' => 'Ц' (line 784) 1748s # Converting 'ч' => 'Ч' (line 785) 1748s # Converting 'ш' => 'Ш' (line 786) 1748s # Converting 'щ' => 'Щ' (line 787) 1748s # Converting 'ъ' => 'Ъ' (line 788) 1748s # Converting 'ы' => 'Ы' (line 789) 1748s # Converting 'ь' => 'Ь' (line 790) 1748s # Converting 'э' => 'Э' (line 791) 1748s # Converting 'ю' => 'Ю' (line 792) 1748s # Converting 'я' => 'Я' (line 793) 1748s # Converting 'ѐ' => 'Ѐ' (line 794) 1748s # Converting 'ё' => 'Ё' (line 795) 1748s # Converting 'ђ' => 'Ђ' (line 796) 1748s # Converting 'ѓ' => 'Ѓ' (line 797) 1748s # Converting 'є' => 'Є' (line 798) 1748s # Converting 'ѕ' => 'Ѕ' (line 799) 1748s # Converting 'і' => 'І' (line 800) 1748s # Converting 'ї' => 'Ї' (line 801) 1748s # Converting 'ј' => 'Ј' (line 802) 1748s # Converting 'љ' => 'Љ' (line 803) 1748s # Converting 'њ' => 'Њ' (line 804) 1748s # Converting 'ћ' => 'Ћ' (line 805) 1748s # Converting 'ќ' => 'Ќ' (line 806) 1748s # Converting 'ѝ' => 'Ѝ' (line 807) 1748s # Converting 'ў' => 'Ў' (line 808) 1748s # Converting 'џ' => 'Џ' (line 809) 1748s # Converting 'Ѡ' => 'Ѡ' (line 810) 1748s # Converting 'ѡ' => 'Ѡ' (line 811) 1748s # Converting 'Ѣ' => 'Ѣ' (line 812) 1748s # Converting 'ѣ' => 'Ѣ' (line 813) 1748s # Converting 'Ѥ' => 'Ѥ' (line 814) 1748s # Converting 'ѥ' => 'Ѥ' (line 815) 1748s # Converting 'Ѧ' => 'Ѧ' (line 816) 1748s # Converting 'ѧ' => 'Ѧ' (line 817) 1748s # Converting 'Ѩ' => 'Ѩ' (line 818) 1748s # Converting 'ѩ' => 'Ѩ' (line 819) 1748s # Converting 'Ѫ' => 'Ѫ' (line 820) 1748s # Converting 'ѫ' => 'Ѫ' (line 821) 1748s # Converting 'Ѭ' => 'Ѭ' (line 822) 1748s # Converting 'ѭ' => 'Ѭ' (line 823) 1748s # Converting 'Ѯ' => 'Ѯ' (line 824) 1748s # Converting 'ѯ' => 'Ѯ' (line 825) 1748s # Converting 'Ѱ' => 'Ѱ' (line 826) 1748s # Converting 'ѱ' => 'Ѱ' (line 827) 1748s # Converting 'Ѳ' => 'Ѳ' (line 828) 1748s # Converting 'ѳ' => 'Ѳ' (line 829) 1748s # Converting 'Ѵ' => 'Ѵ' (line 830) 1748s # Converting 'ѵ' => 'Ѵ' (line 831) 1748s # Converting 'Ѷ' => 'Ѷ' (line 832) 1748s # Converting 'ѷ' => 'Ѷ' (line 833) 1748s # Converting 'Ѹ' => 'Ѹ' (line 834) 1748s # Converting 'ѹ' => 'Ѹ' (line 835) 1748s # Converting 'Ѻ' => 'Ѻ' (line 836) 1748s # Converting 'ѻ' => 'Ѻ' (line 837) 1748s # Converting 'Ѽ' => 'Ѽ' (line 838) 1748s # Converting 'ѽ' => 'Ѽ' (line 839) 1748s # Converting 'Ѿ' => 'Ѿ' (line 840) 1748s # Converting 'ѿ' => 'Ѿ' (line 841) 1748s # Converting 'Ҁ' => 'Ҁ' (line 842) 1748s # Converting 'ҁ' => 'Ҁ' (line 843) 1748s # Converting 'Ҋ' => 'Ҋ' (line 844) 1748s # Converting 'ҋ' => 'Ҋ' (line 845) 1748s # Converting 'Ҍ' => 'Ҍ' (line 846) 1748s # Converting 'ҍ' => 'Ҍ' (line 847) 1748s # Converting 'Ҏ' => 'Ҏ' (line 848) 1748s # Converting 'ҏ' => 'Ҏ' (line 849) 1748s # Converting 'Ґ' => 'Ґ' (line 850) 1748s # Converting 'ґ' => 'Ґ' (line 851) 1748s # Converting 'Ғ' => 'Ғ' (line 852) 1748s # Converting 'ғ' => 'Ғ' (line 853) 1748s # Converting 'Ҕ' => 'Ҕ' (line 854) 1748s # Converting 'ҕ' => 'Ҕ' (line 855) 1748s # Converting 'Җ' => 'Җ' (line 856) 1748s # Converting 'җ' => 'Җ' (line 857) 1748s # Converting 'Ҙ' => 'Ҙ' (line 858) 1748s # Converting 'ҙ' => 'Ҙ' (line 859) 1748s # Converting 'Қ' => 'Қ' (line 860) 1748s # Converting 'қ' => 'Қ' (line 861) 1748s # Converting 'Ҝ' => 'Ҝ' (line 862) 1748s # Converting 'ҝ' => 'Ҝ' (line 863) 1748s # Converting 'Ҟ' => 'Ҟ' (line 864) 1748s # Converting 'ҟ' => 'Ҟ' (line 865) 1748s # Converting 'Ҡ' => 'Ҡ' (line 866) 1748s # Converting 'ҡ' => 'Ҡ' (line 867) 1748s # Converting 'Ң' => 'Ң' (line 868) 1748s # Converting 'ң' => 'Ң' (line 869) 1748s # Converting 'Ҥ' => 'Ҥ' (line 870) 1748s # Converting 'ҥ' => 'Ҥ' (line 871) 1748s # Converting 'Ҧ' => 'Ҧ' (line 872) 1748s # Converting 'ҧ' => 'Ҧ' (line 873) 1748s # Converting 'Ҩ' => 'Ҩ' (line 874) 1748s # Converting 'ҩ' => 'Ҩ' (line 875) 1748s # Converting 'Ҫ' => 'Ҫ' (line 876) 1748s # Converting 'ҫ' => 'Ҫ' (line 877) 1748s # Converting 'Ҭ' => 'Ҭ' (line 878) 1748s # Converting 'ҭ' => 'Ҭ' (line 879) 1748s # Converting 'Ү' => 'Ү' (line 880) 1748s # Converting 'ү' => 'Ү' (line 881) 1748s # Converting 'Ұ' => 'Ұ' (line 882) 1748s # Converting 'ұ' => 'Ұ' (line 883) 1748s # Converting 'Ҳ' => 'Ҳ' (line 884) 1748s # Converting 'ҳ' => 'Ҳ' (line 885) 1748s # Converting 'Ҵ' => 'Ҵ' (line 886) 1748s # Converting 'ҵ' => 'Ҵ' (line 887) 1748s # Converting 'Ҷ' => 'Ҷ' (line 888) 1748s # Converting 'ҷ' => 'Ҷ' (line 889) 1748s # Converting 'Ҹ' => 'Ҹ' (line 890) 1748s # Converting 'ҹ' => 'Ҹ' (line 891) 1748s # Converting 'Һ' => 'Һ' (line 892) 1748s # Converting 'һ' => 'Һ' (line 893) 1748s # Converting 'Ҽ' => 'Ҽ' (line 894) 1748s # Converting 'ҽ' => 'Ҽ' (line 895) 1748s # Converting 'Ҿ' => 'Ҿ' (line 896) 1748s # Converting 'ҿ' => 'Ҿ' (line 897) 1748s # Converting 'Ӏ' => 'Ӏ' (line 898) 1748s # Converting 'Ӂ' => 'Ӂ' (line 899) 1748s # Converting 'ӂ' => 'Ӂ' (line 900) 1748s # Converting 'Ӄ' => 'Ӄ' (line 901) 1748s # Converting 'ӄ' => 'Ӄ' (line 902) 1748s # Converting 'Ӆ' => 'Ӆ' (line 903) 1748s # Converting 'ӆ' => 'Ӆ' (line 904) 1748s # Converting 'Ӈ' => 'Ӈ' (line 905) 1748s # Converting 'ӈ' => 'Ӈ' (line 906) 1748s # Converting 'Ӊ' => 'Ӊ' (line 907) 1748s # Converting 'ӊ' => 'Ӊ' (line 908) 1748s # Converting 'Ӌ' => 'Ӌ' (line 909) 1748s # Converting 'ӌ' => 'Ӌ' (line 910) 1748s # Converting 'Ӎ' => 'Ӎ' (line 911) 1748s # Converting 'ӎ' => 'Ӎ' (line 912) 1748s # Converting 'ӏ' => 'Ӏ' (line 913) 1748s # Converting 'Ӑ' => 'Ӑ' (line 914) 1748s # Converting 'ӑ' => 'Ӑ' (line 915) 1748s # Converting 'Ӓ' => 'Ӓ' (line 916) 1748s # Converting 'ӓ' => 'Ӓ' (line 917) 1748s # Converting 'Ӕ' => 'Ӕ' (line 918) 1748s # Converting 'ӕ' => 'Ӕ' (line 919) 1748s # Converting 'Ӗ' => 'Ӗ' (line 920) 1748s # Converting 'ӗ' => 'Ӗ' (line 921) 1748s # Converting 'Ә' => 'Ә' (line 922) 1748s # Converting 'ә' => 'Ә' (line 923) 1748s # Converting 'Ӛ' => 'Ӛ' (line 924) 1748s # Converting 'ӛ' => 'Ӛ' (line 925) 1748s # Converting 'Ӝ' => 'Ӝ' (line 926) 1748s # Converting 'ӝ' => 'Ӝ' (line 927) 1748s # Converting 'Ӟ' => 'Ӟ' (line 928) 1748s # Converting 'ӟ' => 'Ӟ' (line 929) 1748s # Converting 'Ӡ' => 'Ӡ' (line 930) 1748s # Converting 'ӡ' => 'Ӡ' (line 931) 1748s # Converting 'Ӣ' => 'Ӣ' (line 932) 1748s # Converting 'ӣ' => 'Ӣ' (line 933) 1748s # Converting 'Ӥ' => 'Ӥ' (line 934) 1748s # Converting 'ӥ' => 'Ӥ' (line 935) 1748s # Converting 'Ӧ' => 'Ӧ' (line 936) 1748s # Converting 'ӧ' => 'Ӧ' (line 937) 1748s # Converting 'Ө' => 'Ө' (line 938) 1748s # Converting 'ө' => 'Ө' (line 939) 1748s # Converting 'Ӫ' => 'Ӫ' (line 940) 1748s # Converting 'ӫ' => 'Ӫ' (line 941) 1748s # Converting 'Ӭ' => 'Ӭ' (line 942) 1748s # Converting 'ӭ' => 'Ӭ' (line 943) 1748s # Converting 'Ӯ' => 'Ӯ' (line 944) 1748s # Converting 'ӯ' => 'Ӯ' (line 945) 1748s # Converting 'Ӱ' => 'Ӱ' (line 946) 1748s # Converting 'ӱ' => 'Ӱ' (line 947) 1748s # Converting 'Ӳ' => 'Ӳ' (line 948) 1748s # Converting 'ӳ' => 'Ӳ' (line 949) 1748s # Converting 'Ӵ' => 'Ӵ' (line 950) 1748s # Converting 'ӵ' => 'Ӵ' (line 951) 1748s # Converting 'Ӷ' => 'Ӷ' (line 952) 1748s # Converting 'ӷ' => 'Ӷ' (line 953) 1748s # Converting 'Ӹ' => 'Ӹ' (line 954) 1748s # Converting 'ӹ' => 'Ӹ' (line 955) 1748s # Converting 'Ӻ' => 'Ӻ' (line 956) 1748s # Converting 'ӻ' => 'Ӻ' (line 957) 1748s # Converting 'Ӽ' => 'Ӽ' (line 958) 1748s # Converting 'ӽ' => 'Ӽ' (line 959) 1748s # Converting 'Ӿ' => 'Ӿ' (line 960) 1748s # Converting 'ӿ' => 'Ӿ' (line 961) 1748s # Converting 'Ԁ' => 'Ԁ' (line 962) 1748s # Converting 'ԁ' => 'Ԁ' (line 963) 1748s # Converting 'Ԃ' => 'Ԃ' (line 964) 1748s # Converting 'ԃ' => 'Ԃ' (line 965) 1748s # Converting 'Ԅ' => 'Ԅ' (line 966) 1748s # Converting 'ԅ' => 'Ԅ' (line 967) 1748s # Converting 'Ԇ' => 'Ԇ' (line 968) 1748s # Converting 'ԇ' => 'Ԇ' (line 969) 1748s # Converting 'Ԉ' => 'Ԉ' (line 970) 1748s # Converting 'ԉ' => 'Ԉ' (line 971) 1748s # Converting 'Ԋ' => 'Ԋ' (line 972) 1748s # Converting 'ԋ' => 'Ԋ' (line 973) 1748s # Converting 'Ԍ' => 'Ԍ' (line 974) 1748s # Converting 'ԍ' => 'Ԍ' (line 975) 1748s # Converting 'Ԏ' => 'Ԏ' (line 976) 1748s # Converting 'ԏ' => 'Ԏ' (line 977) 1748s # Converting 'Ԑ' => 'Ԑ' (line 978) 1748s # Converting 'ԑ' => 'Ԑ' (line 979) 1748s # Converting 'Ԓ' => 'Ԓ' (line 980) 1748s # Converting 'ԓ' => 'Ԓ' (line 981) 1748s # Converting 'Ԕ' => 'Ԕ' (line 982) 1748s # Converting 'ԕ' => 'Ԕ' (line 983) 1748s # Converting 'Ԗ' => 'Ԗ' (line 984) 1748s # Converting 'ԗ' => 'Ԗ' (line 985) 1748s # Converting 'Ԙ' => 'Ԙ' (line 986) 1748s # Converting 'ԙ' => 'Ԙ' (line 987) 1748s # Converting 'Ԛ' => 'Ԛ' (line 988) 1748s # Converting 'ԛ' => 'Ԛ' (line 989) 1748s # Converting 'Ԝ' => 'Ԝ' (line 990) 1748s # Converting 'ԝ' => 'Ԝ' (line 991) 1748s # Converting 'Ԟ' => 'Ԟ' (line 992) 1748s # Converting 'ԟ' => 'Ԟ' (line 993) 1748s # Converting 'Ԡ' => 'Ԡ' (line 994) 1748s # Converting 'ԡ' => 'Ԡ' (line 995) 1748s # Converting 'Ԣ' => 'Ԣ' (line 996) 1748s # Converting 'ԣ' => 'Ԣ' (line 997) 1748s # Converting 'Ԥ' => 'Ԥ' (line 998) 1748s # Converting 'ԥ' => 'Ԥ' (line 999) 1748s # Converting 'Ԧ' => 'Ԧ' (line 1000) 1748s # Converting 'ԧ' => 'Ԧ' (line 1001) 1748s # Converting 'Ԩ' => 'Ԩ' (line 1002) 1748s # Converting 'ԩ' => 'Ԩ' (line 1003) 1748s # Converting 'Ԫ' => 'Ԫ' (line 1004) 1748s # Converting 'ԫ' => 'Ԫ' (line 1005) 1748s # Converting 'Ԭ' => 'Ԭ' (line 1006) 1748s # Converting 'ԭ' => 'Ԭ' (line 1007) 1748s # Converting 'Ԯ' => 'Ԯ' (line 1008) 1748s # Converting 'ԯ' => 'Ԯ' (line 1009) 1748s # Converting 'Ա' => 'Ա' (line 1010) 1748s # Converting 'Բ' => 'Բ' (line 1011) 1748s # Converting 'Գ' => 'Գ' (line 1012) 1748s # Converting 'Դ' => 'Դ' (line 1013) 1748s # Converting 'Ե' => 'Ե' (line 1014) 1748s # Converting 'Զ' => 'Զ' (line 1015) 1748s # Converting 'Է' => 'Է' (line 1016) 1748s # Converting 'Ը' => 'Ը' (line 1017) 1748s # Converting 'Թ' => 'Թ' (line 1018) 1748s # Converting 'Ժ' => 'Ժ' (line 1019) 1748s # Converting 'Ի' => 'Ի' (line 1020) 1748s # Converting 'Լ' => 'Լ' (line 1021) 1748s # Converting 'Խ' => 'Խ' (line 1022) 1748s # Converting 'Ծ' => 'Ծ' (line 1023) 1748s # Converting 'Կ' => 'Կ' (line 1024) 1748s # Converting 'Հ' => 'Հ' (line 1025) 1748s # Converting 'Ձ' => 'Ձ' (line 1026) 1748s # Converting 'Ղ' => 'Ղ' (line 1027) 1748s # Converting 'Ճ' => 'Ճ' (line 1028) 1748s # Converting 'Մ' => 'Մ' (line 1029) 1748s # Converting 'Յ' => 'Յ' (line 1030) 1748s # Converting 'Ն' => 'Ն' (line 1031) 1748s # Converting 'Շ' => 'Շ' (line 1032) 1748s # Converting 'Ո' => 'Ո' (line 1033) 1748s # Converting 'Չ' => 'Չ' (line 1034) 1748s # Converting 'Պ' => 'Պ' (line 1035) 1748s # Converting 'Ջ' => 'Ջ' (line 1036) 1748s # Converting 'Ռ' => 'Ռ' (line 1037) 1748s # Converting 'Ս' => 'Ս' (line 1038) 1748s # Converting 'Վ' => 'Վ' (line 1039) 1748s # Converting 'Տ' => 'Տ' (line 1040) 1748s # Converting 'Ր' => 'Ր' (line 1041) 1748s # Converting 'Ց' => 'Ց' (line 1042) 1748s # Converting 'Ւ' => 'Ւ' (line 1043) 1748s # Converting 'Փ' => 'Փ' (line 1044) 1748s # Converting 'Ք' => 'Ք' (line 1045) 1748s # Converting 'Օ' => 'Օ' (line 1046) 1748s # Converting 'Ֆ' => 'Ֆ' (line 1047) 1748s # Converting 'ՠ' => 'ՠ' (line 1048) 1748s # Converting 'ա' => 'Ա' (line 1049) 1748s # Converting 'բ' => 'Բ' (line 1050) 1748s # Converting 'գ' => 'Գ' (line 1051) 1748s # Converting 'դ' => 'Դ' (line 1052) 1748s # Converting 'ե' => 'Ե' (line 1053) 1748s # Converting 'զ' => 'Զ' (line 1054) 1748s # Converting 'է' => 'Է' (line 1055) 1748s # Converting 'ը' => 'Ը' (line 1056) 1748s # Converting 'թ' => 'Թ' (line 1057) 1748s # Converting 'ժ' => 'Ժ' (line 1058) 1748s # Converting 'ի' => 'Ի' (line 1059) 1748s # Converting 'լ' => 'Լ' (line 1060) 1748s # Converting 'խ' => 'Խ' (line 1061) 1748s # Converting 'ծ' => 'Ծ' (line 1062) 1748s # Converting 'կ' => 'Կ' (line 1063) 1748s # Converting 'հ' => 'Հ' (line 1064) 1748s # Converting 'ձ' => 'Ձ' (line 1065) 1748s # Converting 'ղ' => 'Ղ' (line 1066) 1748s # Converting 'ճ' => 'Ճ' (line 1067) 1748s # Converting 'մ' => 'Մ' (line 1068) 1748s # Converting 'յ' => 'Յ' (line 1069) 1748s # Converting 'ն' => 'Ն' (line 1070) 1748s # Converting 'շ' => 'Շ' (line 1071) 1748s # Converting 'ո' => 'Ո' (line 1072) 1748s # Converting 'չ' => 'Չ' (line 1073) 1748s # Converting 'պ' => 'Պ' (line 1074) 1748s # Converting 'ջ' => 'Ջ' (line 1075) 1748s # Converting 'ռ' => 'Ռ' (line 1076) 1748s # Converting 'ս' => 'Ս' (line 1077) 1748s # Converting 'վ' => 'Վ' (line 1078) 1748s # Converting 'տ' => 'Տ' (line 1079) 1748s # Converting 'ր' => 'Ր' (line 1080) 1748s # Converting 'ց' => 'Ց' (line 1081) 1748s # Converting 'ւ' => 'Ւ' (line 1082) 1748s # Converting 'փ' => 'Փ' (line 1083) 1748s # Converting 'ք' => 'Ք' (line 1084) 1748s # Converting 'օ' => 'Օ' (line 1085) 1748s # Converting 'ֆ' => 'Ֆ' (line 1086) 1748s # Converting 'և' => 'ԵՒ' (line 1087) 1748s # Converting 'ֈ' => 'ֈ' (line 1088) 1748s # Converting 'Ⴀ' => 'Ⴀ' (line 1089) 1748s # Converting 'Ⴁ' => 'Ⴁ' (line 1090) 1748s # Converting 'Ⴂ' => 'Ⴂ' (line 1091) 1748s # Converting 'Ⴃ' => 'Ⴃ' (line 1092) 1748s # Converting 'Ⴄ' => 'Ⴄ' (line 1093) 1748s # Converting 'Ⴅ' => 'Ⴅ' (line 1094) 1748s # Converting 'Ⴆ' => 'Ⴆ' (line 1095) 1748s # Converting 'Ⴇ' => 'Ⴇ' (line 1096) 1748s # Converting 'Ⴈ' => 'Ⴈ' (line 1097) 1748s # Converting 'Ⴉ' => 'Ⴉ' (line 1098) 1748s # Converting 'Ⴊ' => 'Ⴊ' (line 1099) 1748s # Converting 'Ⴋ' => 'Ⴋ' (line 1100) 1748s # Converting 'Ⴌ' => 'Ⴌ' (line 1101) 1748s # Converting 'Ⴍ' => 'Ⴍ' (line 1102) 1748s # Converting 'Ⴎ' => 'Ⴎ' (line 1103) 1748s # Converting 'Ⴏ' => 'Ⴏ' (line 1104) 1748s # Converting 'Ⴐ' => 'Ⴐ' (line 1105) 1748s # Converting 'Ⴑ' => 'Ⴑ' (line 1106) 1748s # Converting 'Ⴒ' => 'Ⴒ' (line 1107) 1748s # Converting 'Ⴓ' => 'Ⴓ' (line 1108) 1748s # Converting 'Ⴔ' => 'Ⴔ' (line 1109) 1748s # Converting 'Ⴕ' => 'Ⴕ' (line 1110) 1748s # Converting 'Ⴖ' => 'Ⴖ' (line 1111) 1748s # Converting 'Ⴗ' => 'Ⴗ' (line 1112) 1748s # Converting 'Ⴘ' => 'Ⴘ' (line 1113) 1748s # Converting 'Ⴙ' => 'Ⴙ' (line 1114) 1748s # Converting 'Ⴚ' => 'Ⴚ' (line 1115) 1748s # Converting 'Ⴛ' => 'Ⴛ' (line 1116) 1748s # Converting 'Ⴜ' => 'Ⴜ' (line 1117) 1748s # Converting 'Ⴝ' => 'Ⴝ' (line 1118) 1748s # Converting 'Ⴞ' => 'Ⴞ' (line 1119) 1748s # Converting 'Ⴟ' => 'Ⴟ' (line 1120) 1748s # Converting 'Ⴠ' => 'Ⴠ' (line 1121) 1748s # Converting 'Ⴡ' => 'Ⴡ' (line 1122) 1748s # Converting 'Ⴢ' => 'Ⴢ' (line 1123) 1748s # Converting 'Ⴣ' => 'Ⴣ' (line 1124) 1748s # Converting 'Ⴤ' => 'Ⴤ' (line 1125) 1748s # Converting 'Ⴥ' => 'Ⴥ' (line 1126) 1748s # Converting 'Ⴧ' => 'Ⴧ' (line 1127) 1748s # Converting 'Ⴭ' => 'Ⴭ' (line 1128) 1748s # Converting 'ა' => 'Ა' (line 1129) 1748s # Converting 'ბ' => 'Ბ' (line 1130) 1748s # Converting 'გ' => 'Გ' (line 1131) 1748s # Converting 'დ' => 'Დ' (line 1132) 1748s # Converting 'ე' => 'Ე' (line 1133) 1748s # Converting 'ვ' => 'Ვ' (line 1134) 1748s # Converting 'ზ' => 'Ზ' (line 1135) 1748s # Converting 'თ' => 'Თ' (line 1136) 1748s # Converting 'ი' => 'Ი' (line 1137) 1748s # Converting 'კ' => 'Კ' (line 1138) 1748s # Converting 'ლ' => 'Ლ' (line 1139) 1748s # Converting 'მ' => 'Მ' (line 1140) 1748s # Converting 'ნ' => 'Ნ' (line 1141) 1748s # Converting 'ო' => 'Ო' (line 1142) 1748s # Converting 'პ' => 'Პ' (line 1143) 1748s # Converting 'ჟ' => 'Ჟ' (line 1144) 1748s # Converting 'რ' => 'Რ' (line 1145) 1748s # Converting 'ს' => 'Ს' (line 1146) 1748s # Converting 'ტ' => 'Ტ' (line 1147) 1748s # Converting 'უ' => 'Უ' (line 1148) 1748s # Converting 'ფ' => 'Ფ' (line 1149) 1748s # Converting 'ქ' => 'Ქ' (line 1150) 1748s # Converting 'ღ' => 'Ღ' (line 1151) 1748s # Converting 'ყ' => 'Ყ' (line 1152) 1748s # Converting 'შ' => 'Შ' (line 1153) 1748s # Converting 'ჩ' => 'Ჩ' (line 1154) 1748s # Converting 'ც' => 'Ც' (line 1155) 1748s # Converting 'ძ' => 'Ძ' (line 1156) 1748s # Converting 'წ' => 'Წ' (line 1157) 1748s # Converting 'ჭ' => 'Ჭ' (line 1158) 1748s # Converting 'ხ' => 'Ხ' (line 1159) 1748s # Converting 'ჯ' => 'Ჯ' (line 1160) 1748s # Converting 'ჰ' => 'Ჰ' (line 1161) 1748s # Converting 'ჱ' => 'Ჱ' (line 1162) 1748s # Converting 'ჲ' => 'Ჲ' (line 1163) 1748s # Converting 'ჳ' => 'Ჳ' (line 1164) 1748s # Converting 'ჴ' => 'Ჴ' (line 1165) 1748s # Converting 'ჵ' => 'Ჵ' (line 1166) 1748s # Converting 'ჶ' => 'Ჶ' (line 1167) 1748s # Converting 'ჷ' => 'Ჷ' (line 1168) 1748s # Converting 'ჸ' => 'Ჸ' (line 1169) 1748s # Converting 'ჹ' => 'Ჹ' (line 1170) 1748s # Converting 'ჺ' => 'Ჺ' (line 1171) 1748s # Converting 'ჽ' => 'Ჽ' (line 1172) 1748s # Converting 'ჾ' => 'Ჾ' (line 1173) 1748s # Converting 'ჿ' => 'Ჿ' (line 1174) 1748s # Converting 'Ꭰ' => 'Ꭰ' (line 1175) 1748s # Converting 'Ꭱ' => 'Ꭱ' (line 1176) 1748s # Converting 'Ꭲ' => 'Ꭲ' (line 1177) 1748s # Converting 'Ꭳ' => 'Ꭳ' (line 1178) 1748s # Converting 'Ꭴ' => 'Ꭴ' (line 1179) 1748s # Converting 'Ꭵ' => 'Ꭵ' (line 1180) 1748s # Converting 'Ꭶ' => 'Ꭶ' (line 1181) 1748s # Converting 'Ꭷ' => 'Ꭷ' (line 1182) 1748s # Converting 'Ꭸ' => 'Ꭸ' (line 1183) 1748s # Converting 'Ꭹ' => 'Ꭹ' (line 1184) 1748s # Converting 'Ꭺ' => 'Ꭺ' (line 1185) 1748s # Converting 'Ꭻ' => 'Ꭻ' (line 1186) 1748s # Converting 'Ꭼ' => 'Ꭼ' (line 1187) 1748s # Converting 'Ꭽ' => 'Ꭽ' (line 1188) 1748s # Converting 'Ꭾ' => 'Ꭾ' (line 1189) 1748s # Converting 'Ꭿ' => 'Ꭿ' (line 1190) 1748s # Converting 'Ꮀ' => 'Ꮀ' (line 1191) 1748s # Converting 'Ꮁ' => 'Ꮁ' (line 1192) 1748s # Converting 'Ꮂ' => 'Ꮂ' (line 1193) 1748s # Converting 'Ꮃ' => 'Ꮃ' (line 1194) 1748s # Converting 'Ꮄ' => 'Ꮄ' (line 1195) 1748s # Converting 'Ꮅ' => 'Ꮅ' (line 1196) 1748s # Converting 'Ꮆ' => 'Ꮆ' (line 1197) 1748s # Converting 'Ꮇ' => 'Ꮇ' (line 1198) 1748s # Converting 'Ꮈ' => 'Ꮈ' (line 1199) 1748s # Converting 'Ꮉ' => 'Ꮉ' (line 1200) 1748s # Converting 'Ꮊ' => 'Ꮊ' (line 1201) 1748s # Converting 'Ꮋ' => 'Ꮋ' (line 1202) 1748s # Converting 'Ꮌ' => 'Ꮌ' (line 1203) 1748s # Converting 'Ꮍ' => 'Ꮍ' (line 1204) 1748s # Converting 'Ꮎ' => 'Ꮎ' (line 1205) 1748s # Converting 'Ꮏ' => 'Ꮏ' (line 1206) 1748s # Converting 'Ꮐ' => 'Ꮐ' (line 1207) 1748s # Converting 'Ꮑ' => 'Ꮑ' (line 1208) 1748s # Converting 'Ꮒ' => 'Ꮒ' (line 1209) 1748s # Converting 'Ꮓ' => 'Ꮓ' (line 1210) 1748s # Converting 'Ꮔ' => 'Ꮔ' (line 1211) 1748s # Converting 'Ꮕ' => 'Ꮕ' (line 1212) 1748s # Converting 'Ꮖ' => 'Ꮖ' (line 1213) 1748s # Converting 'Ꮗ' => 'Ꮗ' (line 1214) 1748s # Converting 'Ꮘ' => 'Ꮘ' (line 1215) 1748s # Converting 'Ꮙ' => 'Ꮙ' (line 1216) 1748s # Converting 'Ꮚ' => 'Ꮚ' (line 1217) 1748s # Converting 'Ꮛ' => 'Ꮛ' (line 1218) 1748s # Converting 'Ꮜ' => 'Ꮜ' (line 1219) 1748s # Converting 'Ꮝ' => 'Ꮝ' (line 1220) 1748s # Converting 'Ꮞ' => 'Ꮞ' (line 1221) 1748s # Converting 'Ꮟ' => 'Ꮟ' (line 1222) 1748s # Converting 'Ꮠ' => 'Ꮠ' (line 1223) 1748s # Converting 'Ꮡ' => 'Ꮡ' (line 1224) 1748s # Converting 'Ꮢ' => 'Ꮢ' (line 1225) 1748s # Converting 'Ꮣ' => 'Ꮣ' (line 1226) 1748s # Converting 'Ꮤ' => 'Ꮤ' (line 1227) 1748s # Converting 'Ꮥ' => 'Ꮥ' (line 1228) 1748s # Converting 'Ꮦ' => 'Ꮦ' (line 1229) 1748s # Converting 'Ꮧ' => 'Ꮧ' (line 1230) 1748s # Converting 'Ꮨ' => 'Ꮨ' (line 1231) 1748s # Converting 'Ꮩ' => 'Ꮩ' (line 1232) 1748s # Converting 'Ꮪ' => 'Ꮪ' (line 1233) 1748s # Converting 'Ꮫ' => 'Ꮫ' (line 1234) 1748s # Converting 'Ꮬ' => 'Ꮬ' (line 1235) 1748s # Converting 'Ꮭ' => 'Ꮭ' (line 1236) 1748s # Converting 'Ꮮ' => 'Ꮮ' (line 1237) 1748s # Converting 'Ꮯ' => 'Ꮯ' (line 1238) 1748s # Converting 'Ꮰ' => 'Ꮰ' (line 1239) 1748s # Converting 'Ꮱ' => 'Ꮱ' (line 1240) 1748s # Converting 'Ꮲ' => 'Ꮲ' (line 1241) 1748s # Converting 'Ꮳ' => 'Ꮳ' (line 1242) 1748s # Converting 'Ꮴ' => 'Ꮴ' (line 1243) 1748s # Converting 'Ꮵ' => 'Ꮵ' (line 1244) 1748s # Converting 'Ꮶ' => 'Ꮶ' (line 1245) 1748s # Converting 'Ꮷ' => 'Ꮷ' (line 1246) 1748s # Converting 'Ꮸ' => 'Ꮸ' (line 1247) 1748s # Converting 'Ꮹ' => 'Ꮹ' (line 1248) 1748s # Converting 'Ꮺ' => 'Ꮺ' (line 1249) 1748s # Converting 'Ꮻ' => 'Ꮻ' (line 1250) 1748s # Converting 'Ꮼ' => 'Ꮼ' (line 1251) 1748s # Converting 'Ꮽ' => 'Ꮽ' (line 1252) 1748s # Converting 'Ꮾ' => 'Ꮾ' (line 1253) 1748s # Converting 'Ꮿ' => 'Ꮿ' (line 1254) 1748s # Converting 'Ᏸ' => 'Ᏸ' (line 1255) 1748s # Converting 'Ᏹ' => 'Ᏹ' (line 1256) 1748s # Converting 'Ᏺ' => 'Ᏺ' (line 1257) 1748s # Converting 'Ᏻ' => 'Ᏻ' (line 1258) 1748s # Converting 'Ᏼ' => 'Ᏼ' (line 1259) 1748s # Converting 'Ᏽ' => 'Ᏽ' (line 1260) 1748s # Converting 'ᏸ' => 'Ᏸ' (line 1261) 1748s # Converting 'ᏹ' => 'Ᏹ' (line 1262) 1748s # Converting 'ᏺ' => 'Ᏺ' (line 1263) 1748s # Converting 'ᏻ' => 'Ᏻ' (line 1264) 1748s # Converting 'ᏼ' => 'Ᏼ' (line 1265) 1748s # Converting 'ᏽ' => 'Ᏽ' (line 1266) 1748s # Converting 'ᲀ' => 'В' (line 1267) 1748s # Converting 'ᲁ' => 'Д' (line 1268) 1748s # Converting 'ᲂ' => 'О' (line 1269) 1748s # Converting 'ᲃ' => 'С' (line 1270) 1748s # Converting 'ᲄ' => 'Т' (line 1271) 1748s # Converting 'ᲅ' => 'Т' (line 1272) 1748s # Converting 'ᲆ' => 'Ъ' (line 1273) 1748s # Converting 'ᲇ' => 'Ѣ' (line 1274) 1748s # Converting 'ᲈ' => 'Ꙋ' (line 1275) 1748s # Converting 'Ᲊ' => 'Ᲊ' (line 1276) 1748s # Converting 'ᲊ' => 'Ᲊ' (line 1277) 1748s # Converting 'Ა' => 'Ა' (line 1278) 1748s # Converting 'Ბ' => 'Ბ' (line 1279) 1748s # Converting 'Გ' => 'Გ' (line 1280) 1748s # Converting 'Დ' => 'Დ' (line 1281) 1748s # Converting 'Ე' => 'Ე' (line 1282) 1748s # Converting 'Ვ' => 'Ვ' (line 1283) 1748s # Converting 'Ზ' => 'Ზ' (line 1284) 1748s # Converting 'Თ' => 'Თ' (line 1285) 1748s # Converting 'Ი' => 'Ი' (line 1286) 1748s # Converting 'Კ' => 'Კ' (line 1287) 1748s # Converting 'Ლ' => 'Ლ' (line 1288) 1748s # Converting 'Მ' => 'Მ' (line 1289) 1748s # Converting 'Ნ' => 'Ნ' (line 1290) 1748s # Converting 'Ო' => 'Ო' (line 1291) 1748s # Converting 'Პ' => 'Პ' (line 1292) 1748s # Converting 'Ჟ' => 'Ჟ' (line 1293) 1748s # Converting 'Რ' => 'Რ' (line 1294) 1748s # Converting 'Ს' => 'Ს' (line 1295) 1748s # Converting 'Ტ' => 'Ტ' (line 1296) 1748s # Converting 'Უ' => 'Უ' (line 1297) 1748s # Converting 'Ფ' => 'Ფ' (line 1298) 1748s # Converting 'Ქ' => 'Ქ' (line 1299) 1748s # Converting 'Ღ' => 'Ღ' (line 1300) 1748s # Converting 'Ყ' => 'Ყ' (line 1301) 1748s # Converting 'Შ' => 'Შ' (line 1302) 1748s # Converting 'Ჩ' => 'Ჩ' (line 1303) 1748s # Converting 'Ც' => 'Ც' (line 1304) 1748s # Converting 'Ძ' => 'Ძ' (line 1305) 1748s # Converting 'Წ' => 'Წ' (line 1306) 1748s # Converting 'Ჭ' => 'Ჭ' (line 1307) 1748s # Converting 'Ხ' => 'Ხ' (line 1308) 1748s # Converting 'Ჯ' => 'Ჯ' (line 1309) 1748s # Converting 'Ჰ' => 'Ჰ' (line 1310) 1748s # Converting 'Ჱ' => 'Ჱ' (line 1311) 1748s # Converting 'Ჲ' => 'Ჲ' (line 1312) 1748s # Converting 'Ჳ' => 'Ჳ' (line 1313) 1748s # Converting 'Ჴ' => 'Ჴ' (line 1314) 1748s # Converting 'Ჵ' => 'Ჵ' (line 1315) 1748s # Converting 'Ჶ' => 'Ჶ' (line 1316) 1748s # Converting 'Ჷ' => 'Ჷ' (line 1317) 1748s # Converting 'Ჸ' => 'Ჸ' (line 1318) 1748s # Converting 'Ჹ' => 'Ჹ' (line 1319) 1748s # Converting 'Ჺ' => 'Ჺ' (line 1320) 1748s # Converting 'Ჽ' => 'Ჽ' (line 1321) 1748s # Converting 'Ჾ' => 'Ჾ' (line 1322) 1748s # Converting 'Ჿ' => 'Ჿ' (line 1323) 1748s # Converting 'ᴀ' => 'ᴀ' (line 1324) 1748s # Converting 'ᴁ' => 'ᴁ' (line 1325) 1748s # Converting 'ᴂ' => 'ᴂ' (line 1326) 1748s # Converting 'ᴃ' => 'ᴃ' (line 1327) 1748s # Converting 'ᴄ' => 'ᴄ' (line 1328) 1748s # Converting 'ᴅ' => 'ᴅ' (line 1329) 1748s # Converting 'ᴆ' => 'ᴆ' (line 1330) 1748s # Converting 'ᴇ' => 'ᴇ' (line 1331) 1748s # Converting 'ᴈ' => 'ᴈ' (line 1332) 1748s # Converting 'ᴉ' => 'ᴉ' (line 1333) 1748s # Converting 'ᴊ' => 'ᴊ' (line 1334) 1748s # Converting 'ᴋ' => 'ᴋ' (line 1335) 1748s # Converting 'ᴌ' => 'ᴌ' (line 1336) 1748s # Converting 'ᴍ' => 'ᴍ' (line 1337) 1748s # Converting 'ᴎ' => 'ᴎ' (line 1338) 1748s # Converting 'ᴏ' => 'ᴏ' (line 1339) 1748s # Converting 'ᴐ' => 'ᴐ' (line 1340) 1748s # Converting 'ᴑ' => 'ᴑ' (line 1341) 1748s # Converting 'ᴒ' => 'ᴒ' (line 1342) 1748s # Converting 'ᴓ' => 'ᴓ' (line 1343) 1748s # Converting 'ᴔ' => 'ᴔ' (line 1344) 1748s # Converting 'ᴕ' => 'ᴕ' (line 1345) 1748s # Converting 'ᴖ' => 'ᴖ' (line 1346) 1748s # Converting 'ᴗ' => 'ᴗ' (line 1347) 1748s # Converting 'ᴘ' => 'ᴘ' (line 1348) 1748s # Converting 'ᴙ' => 'ᴙ' (line 1349) 1748s # Converting 'ᴚ' => 'ᴚ' (line 1350) 1748s # Converting 'ᴛ' => 'ᴛ' (line 1351) 1748s # Converting 'ᴜ' => 'ᴜ' (line 1352) 1748s # Converting 'ᴝ' => 'ᴝ' (line 1353) 1748s # Converting 'ᴞ' => 'ᴞ' (line 1354) 1748s # Converting 'ᴟ' => 'ᴟ' (line 1355) 1748s # Converting 'ᴠ' => 'ᴠ' (line 1356) 1748s # Converting 'ᴡ' => 'ᴡ' (line 1357) 1748s # Converting 'ᴢ' => 'ᴢ' (line 1358) 1748s # Converting 'ᴣ' => 'ᴣ' (line 1359) 1748s # Converting 'ᴤ' => 'ᴤ' (line 1360) 1748s # Converting 'ᴥ' => 'ᴥ' (line 1361) 1748s # Converting 'ᴦ' => 'ᴦ' (line 1362) 1748s # Converting 'ᴧ' => 'ᴧ' (line 1363) 1748s # Converting 'ᴨ' => 'ᴨ' (line 1364) 1748s # Converting 'ᴩ' => 'ᴩ' (line 1365) 1748s # Converting 'ᴪ' => 'ᴪ' (line 1366) 1748s # Converting 'ᴫ' => 'ᴫ' (line 1367) 1748s # Converting 'ᵫ' => 'ᵫ' (line 1368) 1748s # Converting 'ᵬ' => 'ᵬ' (line 1369) 1748s # Converting 'ᵭ' => 'ᵭ' (line 1370) 1748s # Converting 'ᵮ' => 'ᵮ' (line 1371) 1748s # Converting 'ᵯ' => 'ᵯ' (line 1372) 1748s # Converting 'ᵰ' => 'ᵰ' (line 1373) 1748s # Converting 'ᵱ' => 'ᵱ' (line 1374) 1748s # Converting 'ᵲ' => 'ᵲ' (line 1375) 1748s # Converting 'ᵳ' => 'ᵳ' (line 1376) 1748s # Converting 'ᵴ' => 'ᵴ' (line 1377) 1748s # Converting 'ᵵ' => 'ᵵ' (line 1378) 1748s # Converting 'ᵶ' => 'ᵶ' (line 1379) 1748s # Converting 'ᵷ' => 'ᵷ' (line 1380) 1748s # Converting 'ᵹ' => 'Ᵹ' (line 1381) 1748s # Converting 'ᵺ' => 'ᵺ' (line 1382) 1748s # Converting 'ᵻ' => 'ᵻ' (line 1383) 1748s # Converting 'ᵼ' => 'ᵼ' (line 1384) 1748s # Converting 'ᵽ' => 'Ᵽ' (line 1385) 1748s # Converting 'ᵾ' => 'ᵾ' (line 1386) 1748s # Converting 'ᵿ' => 'ᵿ' (line 1387) 1748s # Converting 'ᶀ' => 'ᶀ' (line 1388) 1748s # Converting 'ᶁ' => 'ᶁ' (line 1389) 1748s # Converting 'ᶂ' => 'ᶂ' (line 1390) 1748s # Converting 'ᶃ' => 'ᶃ' (line 1391) 1748s # Converting 'ᶄ' => 'ᶄ' (line 1392) 1748s # Converting 'ᶅ' => 'ᶅ' (line 1393) 1748s # Converting 'ᶆ' => 'ᶆ' (line 1394) 1748s # Converting 'ᶇ' => 'ᶇ' (line 1395) 1748s # Converting 'ᶈ' => 'ᶈ' (line 1396) 1748s # Converting 'ᶉ' => 'ᶉ' (line 1397) 1748s # Converting 'ᶊ' => 'ᶊ' (line 1398) 1748s # Converting 'ᶋ' => 'ᶋ' (line 1399) 1748s # Converting 'ᶌ' => 'ᶌ' (line 1400) 1748s # Converting 'ᶍ' => 'ᶍ' (line 1401) 1748s # Converting 'ᶎ' => 'Ᶎ' (line 1402) 1748s # Converting 'ᶏ' => 'ᶏ' (line 1403) 1748s # Converting 'ᶐ' => 'ᶐ' (line 1404) 1748s # Converting 'ᶑ' => 'ᶑ' (line 1405) 1748s # Converting 'ᶒ' => 'ᶒ' (line 1406) 1748s # Converting 'ᶓ' => 'ᶓ' (line 1407) 1748s # Converting 'ᶔ' => 'ᶔ' (line 1408) 1748s # Converting 'ᶕ' => 'ᶕ' (line 1409) 1748s # Converting 'ᶖ' => 'ᶖ' (line 1410) 1748s # Converting 'ᶗ' => 'ᶗ' (line 1411) 1748s # Converting 'ᶘ' => 'ᶘ' (line 1412) 1748s # Converting 'ᶙ' => 'ᶙ' (line 1413) 1748s # Converting 'ᶚ' => 'ᶚ' (line 1414) 1748s # Converting 'Ḁ' => 'Ḁ' (line 1415) 1748s # Converting 'ḁ' => 'Ḁ' (line 1416) 1748s # Converting 'Ḃ' => 'Ḃ' (line 1417) 1748s # Converting 'ḃ' => 'Ḃ' (line 1418) 1748s # Converting 'Ḅ' => 'Ḅ' (line 1419) 1748s # Converting 'ḅ' => 'Ḅ' (line 1420) 1748s # Converting 'Ḇ' => 'Ḇ' (line 1421) 1748s # Converting 'ḇ' => 'Ḇ' (line 1422) 1748s # Converting 'Ḉ' => 'Ḉ' (line 1423) 1748s # Converting 'ḉ' => 'Ḉ' (line 1424) 1748s # Converting 'Ḋ' => 'Ḋ' (line 1425) 1748s # Converting 'ḋ' => 'Ḋ' (line 1426) 1748s # Converting 'Ḍ' => 'Ḍ' (line 1427) 1748s # Converting 'ḍ' => 'Ḍ' (line 1428) 1748s # Converting 'Ḏ' => 'Ḏ' (line 1429) 1748s # Converting 'ḏ' => 'Ḏ' (line 1430) 1748s # Converting 'Ḑ' => 'Ḑ' (line 1431) 1748s # Converting 'ḑ' => 'Ḑ' (line 1432) 1748s # Converting 'Ḓ' => 'Ḓ' (line 1433) 1748s # Converting 'ḓ' => 'Ḓ' (line 1434) 1748s # Converting 'Ḕ' => 'Ḕ' (line 1435) 1748s # Converting 'ḕ' => 'Ḕ' (line 1436) 1748s # Converting 'Ḗ' => 'Ḗ' (line 1437) 1748s # Converting 'ḗ' => 'Ḗ' (line 1438) 1748s # Converting 'Ḙ' => 'Ḙ' (line 1439) 1748s # Converting 'ḙ' => 'Ḙ' (line 1440) 1748s # Converting 'Ḛ' => 'Ḛ' (line 1441) 1748s # Converting 'ḛ' => 'Ḛ' (line 1442) 1748s # Converting 'Ḝ' => 'Ḝ' (line 1443) 1748s # Converting 'ḝ' => 'Ḝ' (line 1444) 1748s # Converting 'Ḟ' => 'Ḟ' (line 1445) 1748s # Converting 'ḟ' => 'Ḟ' (line 1446) 1748s # Converting 'Ḡ' => 'Ḡ' (line 1447) 1748s # Converting 'ḡ' => 'Ḡ' (line 1448) 1748s # Converting 'Ḣ' => 'Ḣ' (line 1449) 1748s # Converting 'ḣ' => 'Ḣ' (line 1450) 1748s # Converting 'Ḥ' => 'Ḥ' (line 1451) 1748s # Converting 'ḥ' => 'Ḥ' (line 1452) 1748s # Converting 'Ḧ' => 'Ḧ' (line 1453) 1748s # Converting 'ḧ' => 'Ḧ' (line 1454) 1748s # Converting 'Ḩ' => 'Ḩ' (line 1455) 1748s # Converting 'ḩ' => 'Ḩ' (line 1456) 1748s # Converting 'Ḫ' => 'Ḫ' (line 1457) 1748s # Converting 'ḫ' => 'Ḫ' (line 1458) 1748s # Converting 'Ḭ' => 'Ḭ' (line 1459) 1748s # Converting 'ḭ' => 'Ḭ' (line 1460) 1748s # Converting 'Ḯ' => 'Ḯ' (line 1461) 1748s # Converting 'ḯ' => 'Ḯ' (line 1462) 1748s # Converting 'Ḱ' => 'Ḱ' (line 1463) 1748s # Converting 'ḱ' => 'Ḱ' (line 1464) 1748s # Converting 'Ḳ' => 'Ḳ' (line 1465) 1748s # Converting 'ḳ' => 'Ḳ' (line 1466) 1748s # Converting 'Ḵ' => 'Ḵ' (line 1467) 1748s # Converting 'ḵ' => 'Ḵ' (line 1468) 1748s # Converting 'Ḷ' => 'Ḷ' (line 1469) 1748s # Converting 'ḷ' => 'Ḷ' (line 1470) 1748s # Converting 'Ḹ' => 'Ḹ' (line 1471) 1748s # Converting 'ḹ' => 'Ḹ' (line 1472) 1748s # Converting 'Ḻ' => 'Ḻ' (line 1473) 1748s # Converting 'ḻ' => 'Ḻ' (line 1474) 1748s # Converting 'Ḽ' => 'Ḽ' (line 1475) 1748s # Converting 'ḽ' => 'Ḽ' (line 1476) 1748s # Converting 'Ḿ' => 'Ḿ' (line 1477) 1748s # Converting 'ḿ' => 'Ḿ' (line 1478) 1748s # Converting 'Ṁ' => 'Ṁ' (line 1479) 1748s # Converting 'ṁ' => 'Ṁ' (line 1480) 1748s # Converting 'Ṃ' => 'Ṃ' (line 1481) 1748s # Converting 'ṃ' => 'Ṃ' (line 1482) 1748s # Converting 'Ṅ' => 'Ṅ' (line 1483) 1748s # Converting 'ṅ' => 'Ṅ' (line 1484) 1748s # Converting 'Ṇ' => 'Ṇ' (line 1485) 1748s # Converting 'ṇ' => 'Ṇ' (line 1486) 1748s # Converting 'Ṉ' => 'Ṉ' (line 1487) 1748s # Converting 'ṉ' => 'Ṉ' (line 1488) 1748s # Converting 'Ṋ' => 'Ṋ' (line 1489) 1748s # Converting 'ṋ' => 'Ṋ' (line 1490) 1748s # Converting 'Ṍ' => 'Ṍ' (line 1491) 1748s # Converting 'ṍ' => 'Ṍ' (line 1492) 1748s # Converting 'Ṏ' => 'Ṏ' (line 1493) 1748s # Converting 'ṏ' => 'Ṏ' (line 1494) 1748s # Converting 'Ṑ' => 'Ṑ' (line 1495) 1748s # Converting 'ṑ' => 'Ṑ' (line 1496) 1748s # Converting 'Ṓ' => 'Ṓ' (line 1497) 1748s # Converting 'ṓ' => 'Ṓ' (line 1498) 1748s # Converting 'Ṕ' => 'Ṕ' (line 1499) 1748s # Converting 'ṕ' => 'Ṕ' (line 1500) 1748s # Converting 'Ṗ' => 'Ṗ' (line 1501) 1748s # Converting 'ṗ' => 'Ṗ' (line 1502) 1748s # Converting 'Ṙ' => 'Ṙ' (line 1503) 1748s # Converting 'ṙ' => 'Ṙ' (line 1504) 1748s # Converting 'Ṛ' => 'Ṛ' (line 1505) 1748s # Converting 'ṛ' => 'Ṛ' (line 1506) 1748s # Converting 'Ṝ' => 'Ṝ' (line 1507) 1748s # Converting 'ṝ' => 'Ṝ' (line 1508) 1748s # Converting 'Ṟ' => 'Ṟ' (line 1509) 1748s # Converting 'ṟ' => 'Ṟ' (line 1510) 1748s # Converting 'Ṡ' => 'Ṡ' (line 1511) 1748s # Converting 'ṡ' => 'Ṡ' (line 1512) 1748s # Converting 'Ṣ' => 'Ṣ' (line 1513) 1748s # Converting 'ṣ' => 'Ṣ' (line 1514) 1748s # Converting 'Ṥ' => 'Ṥ' (line 1515) 1748s # Converting 'ṥ' => 'Ṥ' (line 1516) 1748s # Converting 'Ṧ' => 'Ṧ' (line 1517) 1748s # Converting 'ṧ' => 'Ṧ' (line 1518) 1748s # Converting 'Ṩ' => 'Ṩ' (line 1519) 1748s # Converting 'ṩ' => 'Ṩ' (line 1520) 1748s # Converting 'Ṫ' => 'Ṫ' (line 1521) 1748s # Converting 'ṫ' => 'Ṫ' (line 1522) 1748s # Converting 'Ṭ' => 'Ṭ' (line 1523) 1748s # Converting 'ṭ' => 'Ṭ' (line 1524) 1748s # Converting 'Ṯ' => 'Ṯ' (line 1525) 1748s # Converting 'ṯ' => 'Ṯ' (line 1526) 1748s # Converting 'Ṱ' => 'Ṱ' (line 1527) 1748s # Converting 'ṱ' => 'Ṱ' (line 1528) 1748s # Converting 'Ṳ' => 'Ṳ' (line 1529) 1748s # Converting 'ṳ' => 'Ṳ' (line 1530) 1748s # Converting 'Ṵ' => 'Ṵ' (line 1531) 1748s # Converting 'ṵ' => 'Ṵ' (line 1532) 1748s # Converting 'Ṷ' => 'Ṷ' (line 1533) 1748s # Converting 'ṷ' => 'Ṷ' (line 1534) 1748s # Converting 'Ṹ' => 'Ṹ' (line 1535) 1748s # Converting 'ṹ' => 'Ṹ' (line 1536) 1748s # Converting 'Ṻ' => 'Ṻ' (line 1537) 1748s # Converting 'ṻ' => 'Ṻ' (line 1538) 1748s # Converting 'Ṽ' => 'Ṽ' (line 1539) 1748s # Converting 'ṽ' => 'Ṽ' (line 1540) 1748s # Converting 'Ṿ' => 'Ṿ' (line 1541) 1748s # Converting 'ṿ' => 'Ṿ' (line 1542) 1748s # Converting 'Ẁ' => 'Ẁ' (line 1543) 1748s # Converting 'ẁ' => 'Ẁ' (line 1544) 1748s # Converting 'Ẃ' => 'Ẃ' (line 1545) 1748s # Converting 'ẃ' => 'Ẃ' (line 1546) 1748s # Converting 'Ẅ' => 'Ẅ' (line 1547) 1748s # Converting 'ẅ' => 'Ẅ' (line 1548) 1748s # Converting 'Ẇ' => 'Ẇ' (line 1549) 1748s # Converting 'ẇ' => 'Ẇ' (line 1550) 1748s # Converting 'Ẉ' => 'Ẉ' (line 1551) 1748s # Converting 'ẉ' => 'Ẉ' (line 1552) 1748s # Converting 'Ẋ' => 'Ẋ' (line 1553) 1748s # Converting 'ẋ' => 'Ẋ' (line 1554) 1748s # Converting 'Ẍ' => 'Ẍ' (line 1555) 1748s # Converting 'ẍ' => 'Ẍ' (line 1556) 1748s # Converting 'Ẏ' => 'Ẏ' (line 1557) 1748s # Converting 'ẏ' => 'Ẏ' (line 1558) 1748s # Converting 'Ẑ' => 'Ẑ' (line 1559) 1748s # Converting 'ẑ' => 'Ẑ' (line 1560) 1748s # Converting 'Ẓ' => 'Ẓ' (line 1561) 1748s # Converting 'ẓ' => 'Ẓ' (line 1562) 1748s # Converting 'Ẕ' => 'Ẕ' (line 1563) 1748s # Converting 'ẕ' => 'Ẕ' (line 1564) 1748s # Converting 'ẖ' => 'H̱' (line 1565) 1748s # Converting 'ẗ' => 'T̈' (line 1566) 1748s # Converting 'ẘ' => 'W̊' (line 1567) 1748s # Converting 'ẙ' => 'Y̊' (line 1568) 1748s # Converting 'ẚ' => 'Aʾ' (line 1569) 1748s # Converting 'ẛ' => 'Ṡ' (line 1570) 1748s # Converting 'ẜ' => 'ẜ' (line 1571) 1748s # Converting 'ẝ' => 'ẝ' (line 1572) 1748s # Converting 'ẞ' => 'ẞ' (line 1573) 1748s # Converting 'ẟ' => 'ẟ' (line 1574) 1748s # Converting 'Ạ' => 'Ạ' (line 1575) 1748s # Converting 'ạ' => 'Ạ' (line 1576) 1748s # Converting 'Ả' => 'Ả' (line 1577) 1748s # Converting 'ả' => 'Ả' (line 1578) 1748s # Converting 'Ấ' => 'Ấ' (line 1579) 1748s # Converting 'ấ' => 'Ấ' (line 1580) 1748s # Converting 'Ầ' => 'Ầ' (line 1581) 1748s # Converting 'ầ' => 'Ầ' (line 1582) 1748s # Converting 'Ẩ' => 'Ẩ' (line 1583) 1748s # Converting 'ẩ' => 'Ẩ' (line 1584) 1748s # Converting 'Ẫ' => 'Ẫ' (line 1585) 1748s # Converting 'ẫ' => 'Ẫ' (line 1586) 1748s # Converting 'Ậ' => 'Ậ' (line 1587) 1748s # Converting 'ậ' => 'Ậ' (line 1588) 1748s # Converting 'Ắ' => 'Ắ' (line 1589) 1748s # Converting 'ắ' => 'Ắ' (line 1590) 1748s # Converting 'Ằ' => 'Ằ' (line 1591) 1748s # Converting 'ằ' => 'Ằ' (line 1592) 1748s # Converting 'Ẳ' => 'Ẳ' (line 1593) 1748s # Converting 'ẳ' => 'Ẳ' (line 1594) 1748s # Converting 'Ẵ' => 'Ẵ' (line 1595) 1748s # Converting 'ẵ' => 'Ẵ' (line 1596) 1748s # Converting 'Ặ' => 'Ặ' (line 1597) 1748s # Converting 'ặ' => 'Ặ' (line 1598) 1748s # Converting 'Ẹ' => 'Ẹ' (line 1599) 1748s # Converting 'ẹ' => 'Ẹ' (line 1600) 1748s # Converting 'Ẻ' => 'Ẻ' (line 1601) 1748s # Converting 'ẻ' => 'Ẻ' (line 1602) 1748s # Converting 'Ẽ' => 'Ẽ' (line 1603) 1748s # Converting 'ẽ' => 'Ẽ' (line 1604) 1748s # Converting 'Ế' => 'Ế' (line 1605) 1748s # Converting 'ế' => 'Ế' (line 1606) 1748s # Converting 'Ề' => 'Ề' (line 1607) 1748s # Converting 'ề' => 'Ề' (line 1608) 1748s # Converting 'Ể' => 'Ể' (line 1609) 1748s # Converting 'ể' => 'Ể' (line 1610) 1748s # Converting 'Ễ' => 'Ễ' (line 1611) 1748s # Converting 'ễ' => 'Ễ' (line 1612) 1748s # Converting 'Ệ' => 'Ệ' (line 1613) 1748s # Converting 'ệ' => 'Ệ' (line 1614) 1748s # Converting 'Ỉ' => 'Ỉ' (line 1615) 1748s # Converting 'ỉ' => 'Ỉ' (line 1616) 1748s # Converting 'Ị' => 'Ị' (line 1617) 1748s # Converting 'ị' => 'Ị' (line 1618) 1748s # Converting 'Ọ' => 'Ọ' (line 1619) 1748s # Converting 'ọ' => 'Ọ' (line 1620) 1748s # Converting 'Ỏ' => 'Ỏ' (line 1621) 1748s # Converting 'ỏ' => 'Ỏ' (line 1622) 1748s # Converting 'Ố' => 'Ố' (line 1623) 1748s # Converting 'ố' => 'Ố' (line 1624) 1748s # Converting 'Ồ' => 'Ồ' (line 1625) 1748s # Converting 'ồ' => 'Ồ' (line 1626) 1748s # Converting 'Ổ' => 'Ổ' (line 1627) 1748s # Converting 'ổ' => 'Ổ' (line 1628) 1748s # Converting 'Ỗ' => 'Ỗ' (line 1629) 1748s # Converting 'ỗ' => 'Ỗ' (line 1630) 1748s # Converting 'Ộ' => 'Ộ' (line 1631) 1748s # Converting 'ộ' => 'Ộ' (line 1632) 1748s # Converting 'Ớ' => 'Ớ' (line 1633) 1748s # Converting 'ớ' => 'Ớ' (line 1634) 1748s # Converting 'Ờ' => 'Ờ' (line 1635) 1748s # Converting 'ờ' => 'Ờ' (line 1636) 1748s # Converting 'Ở' => 'Ở' (line 1637) 1748s # Converting 'ở' => 'Ở' (line 1638) 1748s # Converting 'Ỡ' => 'Ỡ' (line 1639) 1748s # Converting 'ỡ' => 'Ỡ' (line 1640) 1748s # Converting 'Ợ' => 'Ợ' (line 1641) 1748s # Converting 'ợ' => 'Ợ' (line 1642) 1748s # Converting 'Ụ' => 'Ụ' (line 1643) 1748s # Converting 'ụ' => 'Ụ' (line 1644) 1748s # Converting 'Ủ' => 'Ủ' (line 1645) 1748s # Converting 'ủ' => 'Ủ' (line 1646) 1748s # Converting 'Ứ' => 'Ứ' (line 1647) 1748s # Converting 'ứ' => 'Ứ' (line 1648) 1748s # Converting 'Ừ' => 'Ừ' (line 1649) 1748s # Converting 'ừ' => 'Ừ' (line 1650) 1748s # Converting 'Ử' => 'Ử' (line 1651) 1748s # Converting 'ử' => 'Ử' (line 1652) 1748s # Converting 'Ữ' => 'Ữ' (line 1653) 1748s # Converting 'ữ' => 'Ữ' (line 1654) 1748s # Converting 'Ự' => 'Ự' (line 1655) 1748s # Converting 'ự' => 'Ự' (line 1656) 1748s # Converting 'Ỳ' => 'Ỳ' (line 1657) 1748s # Converting 'ỳ' => 'Ỳ' (line 1658) 1748s # Converting 'Ỵ' => 'Ỵ' (line 1659) 1748s # Converting 'ỵ' => 'Ỵ' (line 1660) 1748s # Converting 'Ỷ' => 'Ỷ' (line 1661) 1748s # Converting 'ỷ' => 'Ỷ' (line 1662) 1748s # Converting 'Ỹ' => 'Ỹ' (line 1663) 1748s # Converting 'ỹ' => 'Ỹ' (line 1664) 1748s # Converting 'Ỻ' => 'Ỻ' (line 1665) 1748s # Converting 'ỻ' => 'Ỻ' (line 1666) 1748s # Converting 'Ỽ' => 'Ỽ' (line 1667) 1748s # Converting 'ỽ' => 'Ỽ' (line 1668) 1748s # Converting 'Ỿ' => 'Ỿ' (line 1669) 1748s # Converting 'ỿ' => 'Ỿ' (line 1670) 1748s # Converting 'ἀ' => 'Ἀ' (line 1671) 1748s # Converting 'ἁ' => 'Ἁ' (line 1672) 1748s # Converting 'ἂ' => 'Ἂ' (line 1673) 1748s # Converting 'ἃ' => 'Ἃ' (line 1674) 1748s # Converting 'ἄ' => 'Ἄ' (line 1675) 1748s # Converting 'ἅ' => 'Ἅ' (line 1676) 1748s # Converting 'ἆ' => 'Ἆ' (line 1677) 1748s # Converting 'ἇ' => 'Ἇ' (line 1678) 1748s # Converting 'Ἀ' => 'Ἀ' (line 1679) 1748s # Converting 'Ἁ' => 'Ἁ' (line 1680) 1748s # Converting 'Ἂ' => 'Ἂ' (line 1681) 1748s # Converting 'Ἃ' => 'Ἃ' (line 1682) 1748s # Converting 'Ἄ' => 'Ἄ' (line 1683) 1748s # Converting 'Ἅ' => 'Ἅ' (line 1684) 1748s # Converting 'Ἆ' => 'Ἆ' (line 1685) 1748s # Converting 'Ἇ' => 'Ἇ' (line 1686) 1748s # Converting 'ἐ' => 'Ἐ' (line 1687) 1748s # Converting 'ἑ' => 'Ἑ' (line 1688) 1748s # Converting 'ἒ' => 'Ἒ' (line 1689) 1748s # Converting 'ἓ' => 'Ἓ' (line 1690) 1748s # Converting 'ἔ' => 'Ἔ' (line 1691) 1748s # Converting 'ἕ' => 'Ἕ' (line 1692) 1748s # Converting 'Ἐ' => 'Ἐ' (line 1693) 1748s # Converting 'Ἑ' => 'Ἑ' (line 1694) 1748s # Converting 'Ἒ' => 'Ἒ' (line 1695) 1748s # Converting 'Ἓ' => 'Ἓ' (line 1696) 1748s # Converting 'Ἔ' => 'Ἔ' (line 1697) 1748s # Converting 'Ἕ' => 'Ἕ' (line 1698) 1748s # Converting 'ἠ' => 'Ἠ' (line 1699) 1748s # Converting 'ἡ' => 'Ἡ' (line 1700) 1748s # Converting 'ἢ' => 'Ἢ' (line 1701) 1748s # Converting 'ἣ' => 'Ἣ' (line 1702) 1748s # Converting 'ἤ' => 'Ἤ' (line 1703) 1748s # Converting 'ἥ' => 'Ἥ' (line 1704) 1748s # Converting 'ἦ' => 'Ἦ' (line 1705) 1748s # Converting 'ἧ' => 'Ἧ' (line 1706) 1748s # Converting 'Ἠ' => 'Ἠ' (line 1707) 1748s # Converting 'Ἡ' => 'Ἡ' (line 1708) 1748s # Converting 'Ἢ' => 'Ἢ' (line 1709) 1748s # Converting 'Ἣ' => 'Ἣ' (line 1710) 1748s # Converting 'Ἤ' => 'Ἤ' (line 1711) 1748s # Converting 'Ἥ' => 'Ἥ' (line 1712) 1748s # Converting 'Ἦ' => 'Ἦ' (line 1713) 1748s # Converting 'Ἧ' => 'Ἧ' (line 1714) 1748s # Converting 'ἰ' => 'Ἰ' (line 1715) 1748s # Converting 'ἱ' => 'Ἱ' (line 1716) 1748s # Converting 'ἲ' => 'Ἲ' (line 1717) 1748s # Converting 'ἳ' => 'Ἳ' (line 1718) 1748s # Converting 'ἴ' => 'Ἴ' (line 1719) 1748s # Converting 'ἵ' => 'Ἵ' (line 1720) 1748s # Converting 'ἶ' => 'Ἶ' (line 1721) 1748s # Converting 'ἷ' => 'Ἷ' (line 1722) 1748s # Converting 'Ἰ' => 'Ἰ' (line 1723) 1748s # Converting 'Ἱ' => 'Ἱ' (line 1724) 1748s # Converting 'Ἲ' => 'Ἲ' (line 1725) 1748s # Converting 'Ἳ' => 'Ἳ' (line 1726) 1748s # Converting 'Ἴ' => 'Ἴ' (line 1727) 1748s # Converting 'Ἵ' => 'Ἵ' (line 1728) 1748s # Converting 'Ἶ' => 'Ἶ' (line 1729) 1748s # Converting 'Ἷ' => 'Ἷ' (line 1730) 1748s # Converting 'ὀ' => 'Ὀ' (line 1731) 1748s # Converting 'ὁ' => 'Ὁ' (line 1732) 1748s # Converting 'ὂ' => 'Ὂ' (line 1733) 1748s # Converting 'ὃ' => 'Ὃ' (line 1734) 1748s # Converting 'ὄ' => 'Ὄ' (line 1735) 1748s # Converting 'ὅ' => 'Ὅ' (line 1736) 1748s # Converting 'Ὀ' => 'Ὀ' (line 1737) 1748s # Converting 'Ὁ' => 'Ὁ' (line 1738) 1748s # Converting 'Ὂ' => 'Ὂ' (line 1739) 1748s # Converting 'Ὃ' => 'Ὃ' (line 1740) 1748s # Converting 'Ὄ' => 'Ὄ' (line 1741) 1748s # Converting 'Ὅ' => 'Ὅ' (line 1742) 1748s # Converting 'ὐ' => 'Υ̓' (line 1743) 1748s # Converting 'ὑ' => 'Ὑ' (line 1744) 1748s # Converting 'ὒ' => 'Υ̓̀' (line 1745) 1748s # Converting 'ὓ' => 'Ὓ' (line 1746) 1748s # Converting 'ὔ' => 'Υ̓́' (line 1747) 1748s # Converting 'ὕ' => 'Ὕ' (line 1748) 1748s # Converting 'ὖ' => 'Υ̓͂' (line 1749) 1748s # Converting 'ὗ' => 'Ὗ' (line 1750) 1748s # Converting 'Ὑ' => 'Ὑ' (line 1751) 1748s # Converting 'Ὓ' => 'Ὓ' (line 1752) 1748s # Converting 'Ὕ' => 'Ὕ' (line 1753) 1748s # Converting 'Ὗ' => 'Ὗ' (line 1754) 1748s # Converting 'ὠ' => 'Ὠ' (line 1755) 1748s # Converting 'ὡ' => 'Ὡ' (line 1756) 1748s # Converting 'ὢ' => 'Ὢ' (line 1757) 1748s # Converting 'ὣ' => 'Ὣ' (line 1758) 1748s # Converting 'ὤ' => 'Ὤ' (line 1759) 1748s # Converting 'ὥ' => 'Ὥ' (line 1760) 1748s # Converting 'ὦ' => 'Ὦ' (line 1761) 1748s # Converting 'ὧ' => 'Ὧ' (line 1762) 1748s # Converting 'Ὠ' => 'Ὠ' (line 1763) 1748s # Converting 'Ὡ' => 'Ὡ' (line 1764) 1748s # Converting 'Ὢ' => 'Ὢ' (line 1765) 1748s # Converting 'Ὣ' => 'Ὣ' (line 1766) 1748s # Converting 'Ὤ' => 'Ὤ' (line 1767) 1748s # Converting 'Ὥ' => 'Ὥ' (line 1768) 1748s # Converting 'Ὦ' => 'Ὦ' (line 1769) 1748s # Converting 'Ὧ' => 'Ὧ' (line 1770) 1748s # Converting 'ὰ' => 'Ὰ' (line 1771) 1748s # Converting 'ά' => 'Ά' (line 1772) 1748s # Converting 'ὲ' => 'Ὲ' (line 1773) 1748s # Converting 'έ' => 'Έ' (line 1774) 1748s # Converting 'ὴ' => 'Ὴ' (line 1775) 1748s # Converting 'ή' => 'Ή' (line 1776) 1748s # Converting 'ὶ' => 'Ὶ' (line 1777) 1748s # Converting 'ί' => 'Ί' (line 1778) 1748s # Converting 'ὸ' => 'Ὸ' (line 1779) 1748s # Converting 'ό' => 'Ό' (line 1780) 1748s # Converting 'ὺ' => 'Ὺ' (line 1781) 1748s # Converting 'ύ' => 'Ύ' (line 1782) 1748s # Converting 'ὼ' => 'Ὼ' (line 1783) 1748s # Converting 'ώ' => 'Ώ' (line 1784) 1748s # Converting 'ᾀ' => 'ἈΙ' (line 1785) 1748s # Converting 'ᾁ' => 'ἉΙ' (line 1786) 1748s # Converting 'ᾂ' => 'ἊΙ' (line 1787) 1748s # Converting 'ᾃ' => 'ἋΙ' (line 1788) 1748s # Converting 'ᾄ' => 'ἌΙ' (line 1789) 1748s # Converting 'ᾅ' => 'ἍΙ' (line 1790) 1748s # Converting 'ᾆ' => 'ἎΙ' (line 1791) 1748s # Converting 'ᾇ' => 'ἏΙ' (line 1792) 1748s # Converting 'ᾈ' => 'ἈΙ' (line 1793) 1748s # Converting 'ᾉ' => 'ἉΙ' (line 1794) 1748s # Converting 'ᾊ' => 'ἊΙ' (line 1795) 1748s # Converting 'ᾋ' => 'ἋΙ' (line 1796) 1748s # Converting 'ᾌ' => 'ἌΙ' (line 1797) 1748s # Converting 'ᾍ' => 'ἍΙ' (line 1798) 1748s # Converting 'ᾎ' => 'ἎΙ' (line 1799) 1748s # Converting 'ᾏ' => 'ἏΙ' (line 1800) 1748s # Converting 'ᾐ' => 'ἨΙ' (line 1801) 1748s # Converting 'ᾑ' => 'ἩΙ' (line 1802) 1748s # Converting 'ᾒ' => 'ἪΙ' (line 1803) 1748s # Converting 'ᾓ' => 'ἫΙ' (line 1804) 1748s # Converting 'ᾔ' => 'ἬΙ' (line 1805) 1748s # Converting 'ᾕ' => 'ἭΙ' (line 1806) 1748s # Converting 'ᾖ' => 'ἮΙ' (line 1807) 1748s # Converting 'ᾗ' => 'ἯΙ' (line 1808) 1748s # Converting 'ᾘ' => 'ἨΙ' (line 1809) 1748s # Converting 'ᾙ' => 'ἩΙ' (line 1810) 1748s # Converting 'ᾚ' => 'ἪΙ' (line 1811) 1748s # Converting 'ᾛ' => 'ἫΙ' (line 1812) 1748s # Converting 'ᾜ' => 'ἬΙ' (line 1813) 1748s # Converting 'ᾝ' => 'ἭΙ' (line 1814) 1748s # Converting 'ᾞ' => 'ἮΙ' (line 1815) 1748s # Converting 'ᾟ' => 'ἯΙ' (line 1816) 1748s # Converting 'ᾠ' => 'ὨΙ' (line 1817) 1748s # Converting 'ᾡ' => 'ὩΙ' (line 1818) 1748s # Converting 'ᾢ' => 'ὪΙ' (line 1819) 1748s # Converting 'ᾣ' => 'ὫΙ' (line 1820) 1748s # Converting 'ᾤ' => 'ὬΙ' (line 1821) 1748s # Converting 'ᾥ' => 'ὭΙ' (line 1822) 1748s # Converting 'ᾦ' => 'ὮΙ' (line 1823) 1748s # Converting 'ᾧ' => 'ὯΙ' (line 1824) 1748s # Converting 'ᾨ' => 'ὨΙ' (line 1825) 1748s # Converting 'ᾩ' => 'ὩΙ' (line 1826) 1748s # Converting 'ᾪ' => 'ὪΙ' (line 1827) 1748s # Converting 'ᾫ' => 'ὫΙ' (line 1828) 1748s # Converting 'ᾬ' => 'ὬΙ' (line 1829) 1748s # Converting 'ᾭ' => 'ὭΙ' (line 1830) 1748s # Converting 'ᾮ' => 'ὮΙ' (line 1831) 1748s # Converting 'ᾯ' => 'ὯΙ' (line 1832) 1748s # Converting 'ᾰ' => 'Ᾰ' (line 1833) 1748s # Converting 'ᾱ' => 'Ᾱ' (line 1834) 1748s # Converting 'ᾲ' => 'ᾺΙ' (line 1835) 1748s # Converting 'ᾳ' => 'ΑΙ' (line 1836) 1748s # Converting 'ᾴ' => 'ΆΙ' (line 1837) 1748s # Converting 'ᾶ' => 'Α͂' (line 1838) 1748s # Converting 'ᾷ' => 'Α͂Ι' (line 1839) 1748s # Converting 'Ᾰ' => 'Ᾰ' (line 1840) 1748s # Converting 'Ᾱ' => 'Ᾱ' (line 1841) 1748s # Converting 'Ὰ' => 'Ὰ' (line 1842) 1748s # Converting 'Ά' => 'Ά' (line 1843) 1748s # Converting 'ᾼ' => 'ΑΙ' (line 1844) 1748s # Converting 'ι' => 'Ι' (line 1845) 1748s # Converting 'ῂ' => 'ῊΙ' (line 1846) 1748s # Converting 'ῃ' => 'ΗΙ' (line 1847) 1748s # Converting 'ῄ' => 'ΉΙ' (line 1848) 1748s # Converting 'ῆ' => 'Η͂' (line 1849) 1748s # Converting 'ῇ' => 'Η͂Ι' (line 1850) 1748s # Converting 'Ὲ' => 'Ὲ' (line 1851) 1748s # Converting 'Έ' => 'Έ' (line 1852) 1748s # Converting 'Ὴ' => 'Ὴ' (line 1853) 1748s # Converting 'Ή' => 'Ή' (line 1854) 1748s # Converting 'ῌ' => 'ΗΙ' (line 1855) 1748s # Converting 'ῐ' => 'Ῐ' (line 1856) 1748s # Converting 'ῑ' => 'Ῑ' (line 1857) 1748s # Converting 'ῒ' => 'Ϊ̀' (line 1858) 1748s # Converting 'ΐ' => 'Ϊ́' (line 1859) 1748s # Converting 'ῖ' => 'Ι͂' (line 1860) 1748s # Converting 'ῗ' => 'Ϊ͂' (line 1861) 1748s # Converting 'Ῐ' => 'Ῐ' (line 1862) 1748s # Converting 'Ῑ' => 'Ῑ' (line 1863) 1748s # Converting 'Ὶ' => 'Ὶ' (line 1864) 1748s # Converting 'Ί' => 'Ί' (line 1865) 1748s # Converting 'ῠ' => 'Ῠ' (line 1866) 1748s # Converting 'ῡ' => 'Ῡ' (line 1867) 1748s # Converting 'ῢ' => 'Ϋ̀' (line 1868) 1748s # Converting 'ΰ' => 'Ϋ́' (line 1869) 1748s # Converting 'ῤ' => 'Ρ̓' (line 1870) 1748s # Converting 'ῥ' => 'Ῥ' (line 1871) 1748s # Converting 'ῦ' => 'Υ͂' (line 1872) 1748s # Converting 'ῧ' => 'Ϋ͂' (line 1873) 1748s # Converting 'Ῠ' => 'Ῠ' (line 1874) 1748s # Converting 'Ῡ' => 'Ῡ' (line 1875) 1748s # Converting 'Ὺ' => 'Ὺ' (line 1876) 1748s # Converting 'Ύ' => 'Ύ' (line 1877) 1748s # Converting 'Ῥ' => 'Ῥ' (line 1878) 1748s # Converting 'ῲ' => 'ῺΙ' (line 1879) 1748s # Converting 'ῳ' => 'ΩΙ' (line 1880) 1748s # Converting 'ῴ' => 'ΏΙ' (line 1881) 1748s # Converting 'ῶ' => 'Ω͂' (line 1882) 1748s # Converting 'ῷ' => 'Ω͂Ι' (line 1883) 1748s # Converting 'Ὸ' => 'Ὸ' (line 1884) 1748s # Converting 'Ό' => 'Ό' (line 1885) 1748s # Converting 'Ὼ' => 'Ὼ' (line 1886) 1748s # Converting 'Ώ' => 'Ώ' (line 1887) 1748s # Converting 'ῼ' => 'ΩΙ' (line 1888) 1748s # Converting 'ℂ' => 'ℂ' (line 1889) 1748s # Converting 'ℇ' => 'ℇ' (line 1890) 1748s # Converting 'ℊ' => 'ℊ' (line 1891) 1748s # Converting 'ℋ' => 'ℋ' (line 1892) 1748s # Converting 'ℌ' => 'ℌ' (line 1893) 1748s # Converting 'ℍ' => 'ℍ' (line 1894) 1748s # Converting 'ℎ' => 'ℎ' (line 1895) 1748s # Converting 'ℏ' => 'ℏ' (line 1896) 1748s # Converting 'ℐ' => 'ℐ' (line 1897) 1748s # Converting 'ℑ' => 'ℑ' (line 1898) 1748s # Converting 'ℒ' => 'ℒ' (line 1899) 1748s # Converting 'ℓ' => 'ℓ' (line 1900) 1748s # Converting 'ℕ' => 'ℕ' (line 1901) 1748s # Converting 'ℙ' => 'ℙ' (line 1902) 1748s # Converting 'ℚ' => 'ℚ' (line 1903) 1748s # Converting 'ℛ' => 'ℛ' (line 1904) 1748s # Converting 'ℜ' => 'ℜ' (line 1905) 1748s # Converting 'ℝ' => 'ℝ' (line 1906) 1748s # Converting 'ℤ' => 'ℤ' (line 1907) 1748s # Converting 'Ω' => 'Ω' (line 1908) 1748s # Converting 'ℨ' => 'ℨ' (line 1909) 1748s # Converting 'K' => 'K' (line 1910) 1748s # Converting 'Å' => 'Å' (line 1911) 1748s # Converting 'ℬ' => 'ℬ' (line 1912) 1748s # Converting 'ℭ' => 'ℭ' (line 1913) 1748s # Converting 'ℯ' => 'ℯ' (line 1914) 1748s # Converting 'ℰ' => 'ℰ' (line 1915) 1748s # Converting 'ℱ' => 'ℱ' (line 1916) 1748s # Converting 'Ⅎ' => 'Ⅎ' (line 1917) 1748s # Converting 'ℳ' => 'ℳ' (line 1918) 1748s # Converting 'ℴ' => 'ℴ' (line 1919) 1748s # Converting 'ℹ' => 'ℹ' (line 1920) 1748s # Converting 'ℼ' => 'ℼ' (line 1921) 1748s # Converting 'ℽ' => 'ℽ' (line 1922) 1748s # Converting 'ℾ' => 'ℾ' (line 1923) 1748s # Converting 'ℿ' => 'ℿ' (line 1924) 1748s # Converting 'ⅅ' => 'ⅅ' (line 1925) 1748s # Converting 'ⅆ' => 'ⅆ' (line 1926) 1748s # Converting 'ⅇ' => 'ⅇ' (line 1927) 1748s # Converting 'ⅈ' => 'ⅈ' (line 1928) 1748s # Converting 'ⅉ' => 'ⅉ' (line 1929) 1748s # Converting 'ⅎ' => 'Ⅎ' (line 1930) 1748s # Converting 'Ↄ' => 'Ↄ' (line 1931) 1748s # Converting 'ↄ' => 'Ↄ' (line 1932) 1748s # Converting 'Ⰰ' => 'Ⰰ' (line 1933) 1748s # Converting 'Ⰱ' => 'Ⰱ' (line 1934) 1748s # Converting 'Ⰲ' => 'Ⰲ' (line 1935) 1748s # Converting 'Ⰳ' => 'Ⰳ' (line 1936) 1748s # Converting 'Ⰴ' => 'Ⰴ' (line 1937) 1748s # Converting 'Ⰵ' => 'Ⰵ' (line 1938) 1748s # Converting 'Ⰶ' => 'Ⰶ' (line 1939) 1748s # Converting 'Ⰷ' => 'Ⰷ' (line 1940) 1748s # Converting 'Ⰸ' => 'Ⰸ' (line 1941) 1748s # Converting 'Ⰹ' => 'Ⰹ' (line 1942) 1748s # Converting 'Ⰺ' => 'Ⰺ' (line 1943) 1748s # Converting 'Ⰻ' => 'Ⰻ' (line 1944) 1748s # Converting 'Ⰼ' => 'Ⰼ' (line 1945) 1748s # Converting 'Ⰽ' => 'Ⰽ' (line 1946) 1748s # Converting 'Ⰾ' => 'Ⰾ' (line 1947) 1748s # Converting 'Ⰿ' => 'Ⰿ' (line 1948) 1748s # Converting 'Ⱀ' => 'Ⱀ' (line 1949) 1748s # Converting 'Ⱁ' => 'Ⱁ' (line 1950) 1748s # Converting 'Ⱂ' => 'Ⱂ' (line 1951) 1748s # Converting 'Ⱃ' => 'Ⱃ' (line 1952) 1748s # Converting 'Ⱄ' => 'Ⱄ' (line 1953) 1748s # Converting 'Ⱅ' => 'Ⱅ' (line 1954) 1748s # Converting 'Ⱆ' => 'Ⱆ' (line 1955) 1748s # Converting 'Ⱇ' => 'Ⱇ' (line 1956) 1748s # Converting 'Ⱈ' => 'Ⱈ' (line 1957) 1748s # Converting 'Ⱉ' => 'Ⱉ' (line 1958) 1748s # Converting 'Ⱊ' => 'Ⱊ' (line 1959) 1748s # Converting 'Ⱋ' => 'Ⱋ' (line 1960) 1748s # Converting 'Ⱌ' => 'Ⱌ' (line 1961) 1748s # Converting 'Ⱍ' => 'Ⱍ' (line 1962) 1748s # Converting 'Ⱎ' => 'Ⱎ' (line 1963) 1748s # Converting 'Ⱏ' => 'Ⱏ' (line 1964) 1748s # Converting 'Ⱐ' => 'Ⱐ' (line 1965) 1748s # Converting 'Ⱑ' => 'Ⱑ' (line 1966) 1748s # Converting 'Ⱒ' => 'Ⱒ' (line 1967) 1748s # Converting 'Ⱓ' => 'Ⱓ' (line 1968) 1748s # Converting 'Ⱔ' => 'Ⱔ' (line 1969) 1748s # Converting 'Ⱕ' => 'Ⱕ' (line 1970) 1748s # Converting 'Ⱖ' => 'Ⱖ' (line 1971) 1748s # Converting 'Ⱗ' => 'Ⱗ' (line 1972) 1748s # Converting 'Ⱘ' => 'Ⱘ' (line 1973) 1748s # Converting 'Ⱙ' => 'Ⱙ' (line 1974) 1748s # Converting 'Ⱚ' => 'Ⱚ' (line 1975) 1748s # Converting 'Ⱛ' => 'Ⱛ' (line 1976) 1748s # Converting 'Ⱜ' => 'Ⱜ' (line 1977) 1748s # Converting 'Ⱝ' => 'Ⱝ' (line 1978) 1748s # Converting 'Ⱞ' => 'Ⱞ' (line 1979) 1748s # Converting 'Ⱟ' => 'Ⱟ' (line 1980) 1748s # Converting 'ⰰ' => 'Ⰰ' (line 1981) 1748s # Converting 'ⰱ' => 'Ⰱ' (line 1982) 1748s # Converting 'ⰲ' => 'Ⰲ' (line 1983) 1748s # Converting 'ⰳ' => 'Ⰳ' (line 1984) 1748s # Converting 'ⰴ' => 'Ⰴ' (line 1985) 1748s # Converting 'ⰵ' => 'Ⰵ' (line 1986) 1748s # Converting 'ⰶ' => 'Ⰶ' (line 1987) 1748s # Converting 'ⰷ' => 'Ⰷ' (line 1988) 1748s # Converting 'ⰸ' => 'Ⰸ' (line 1989) 1748s # Converting 'ⰹ' => 'Ⰹ' (line 1990) 1748s # Converting 'ⰺ' => 'Ⰺ' (line 1991) 1748s # Converting 'ⰻ' => 'Ⰻ' (line 1992) 1748s # Converting 'ⰼ' => 'Ⰼ' (line 1993) 1748s # Converting 'ⰽ' => 'Ⰽ' (line 1994) 1748s # Converting 'ⰾ' => 'Ⰾ' (line 1995) 1748s # Converting 'ⰿ' => 'Ⰿ' (line 1996) 1748s # Converting 'ⱀ' => 'Ⱀ' (line 1997) 1748s # Converting 'ⱁ' => 'Ⱁ' (line 1998) 1748s # Converting 'ⱂ' => 'Ⱂ' (line 1999) 1748s # Converting 'ⱃ' => 'Ⱃ' (line 2000) 1748s # Converting 'ⱄ' => 'Ⱄ' (line 2001) 1748s # Converting 'ⱅ' => 'Ⱅ' (line 2002) 1748s # Converting 'ⱆ' => 'Ⱆ' (line 2003) 1748s # Converting 'ⱇ' => 'Ⱇ' (line 2004) 1748s # Converting 'ⱈ' => 'Ⱈ' (line 2005) 1748s # Converting 'ⱉ' => 'Ⱉ' (line 2006) 1748s # Converting 'ⱊ' => 'Ⱊ' (line 2007) 1748s # Converting 'ⱋ' => 'Ⱋ' (line 2008) 1748s # Converting 'ⱌ' => 'Ⱌ' (line 2009) 1748s # Converting 'ⱍ' => 'Ⱍ' (line 2010) 1748s # Converting 'ⱎ' => 'Ⱎ' (line 2011) 1748s # Converting 'ⱏ' => 'Ⱏ' (line 2012) 1748s # Converting 'ⱐ' => 'Ⱐ' (line 2013) 1748s # Converting 'ⱑ' => 'Ⱑ' (line 2014) 1748s # Converting 'ⱒ' => 'Ⱒ' (line 2015) 1748s # Converting 'ⱓ' => 'Ⱓ' (line 2016) 1748s # Converting 'ⱔ' => 'Ⱔ' (line 2017) 1748s # Converting 'ⱕ' => 'Ⱕ' (line 2018) 1748s # Converting 'ⱖ' => 'Ⱖ' (line 2019) 1748s # Converting 'ⱗ' => 'Ⱗ' (line 2020) 1748s # Converting 'ⱘ' => 'Ⱘ' (line 2021) 1748s # Converting 'ⱙ' => 'Ⱙ' (line 2022) 1748s # Converting 'ⱚ' => 'Ⱚ' (line 2023) 1748s # Converting 'ⱛ' => 'Ⱛ' (line 2024) 1748s # Converting 'ⱜ' => 'Ⱜ' (line 2025) 1748s # Converting 'ⱝ' => 'Ⱝ' (line 2026) 1748s # Converting 'ⱞ' => 'Ⱞ' (line 2027) 1748s # Converting 'ⱟ' => 'Ⱟ' (line 2028) 1748s # Converting 'Ⱡ' => 'Ⱡ' (line 2029) 1748s # Converting 'ⱡ' => 'Ⱡ' (line 2030) 1748s # Converting 'Ɫ' => 'Ɫ' (line 2031) 1748s # Converting 'Ᵽ' => 'Ᵽ' (line 2032) 1748s # Converting 'Ɽ' => 'Ɽ' (line 2033) 1748s # Converting 'ⱥ' => 'Ⱥ' (line 2034) 1748s # Converting 'ⱦ' => 'Ⱦ' (line 2035) 1748s # Converting 'Ⱨ' => 'Ⱨ' (line 2036) 1748s # Converting 'ⱨ' => 'Ⱨ' (line 2037) 1748s # Converting 'Ⱪ' => 'Ⱪ' (line 2038) 1748s # Converting 'ⱪ' => 'Ⱪ' (line 2039) 1748s # Converting 'Ⱬ' => 'Ⱬ' (line 2040) 1748s # Converting 'ⱬ' => 'Ⱬ' (line 2041) 1748s # Converting 'Ɑ' => 'Ɑ' (line 2042) 1748s # Converting 'Ɱ' => 'Ɱ' (line 2043) 1748s # Converting 'Ɐ' => 'Ɐ' (line 2044) 1748s # Converting 'Ɒ' => 'Ɒ' (line 2045) 1748s # Converting 'ⱱ' => 'ⱱ' (line 2046) 1748s # Converting 'Ⱳ' => 'Ⱳ' (line 2047) 1748s # Converting 'ⱳ' => 'Ⱳ' (line 2048) 1748s # Converting 'ⱴ' => 'ⱴ' (line 2049) 1748s # Converting 'Ⱶ' => 'Ⱶ' (line 2050) 1748s # Converting 'ⱶ' => 'Ⱶ' (line 2051) 1748s # Converting 'ⱷ' => 'ⱷ' (line 2052) 1748s # Converting 'ⱸ' => 'ⱸ' (line 2053) 1748s # Converting 'ⱹ' => 'ⱹ' (line 2054) 1748s # Converting 'ⱺ' => 'ⱺ' (line 2055) 1748s # Converting 'ⱻ' => 'ⱻ' (line 2056) 1748s # Converting 'Ȿ' => 'Ȿ' (line 2057) 1748s # Converting 'Ɀ' => 'Ɀ' (line 2058) 1748s # Converting 'Ⲁ' => 'Ⲁ' (line 2059) 1748s # Converting 'ⲁ' => 'Ⲁ' (line 2060) 1748s # Converting 'Ⲃ' => 'Ⲃ' (line 2061) 1748s # Converting 'ⲃ' => 'Ⲃ' (line 2062) 1748s # Converting 'Ⲅ' => 'Ⲅ' (line 2063) 1748s # Converting 'ⲅ' => 'Ⲅ' (line 2064) 1748s # Converting 'Ⲇ' => 'Ⲇ' (line 2065) 1748s # Converting 'ⲇ' => 'Ⲇ' (line 2066) 1748s # Converting 'Ⲉ' => 'Ⲉ' (line 2067) 1748s # Converting 'ⲉ' => 'Ⲉ' (line 2068) 1748s # Converting 'Ⲋ' => 'Ⲋ' (line 2069) 1748s # Converting 'ⲋ' => 'Ⲋ' (line 2070) 1748s # Converting 'Ⲍ' => 'Ⲍ' (line 2071) 1748s # Converting 'ⲍ' => 'Ⲍ' (line 2072) 1748s # Converting 'Ⲏ' => 'Ⲏ' (line 2073) 1748s # Converting 'ⲏ' => 'Ⲏ' (line 2074) 1748s # Converting 'Ⲑ' => 'Ⲑ' (line 2075) 1748s # Converting 'ⲑ' => 'Ⲑ' (line 2076) 1748s # Converting 'Ⲓ' => 'Ⲓ' (line 2077) 1748s # Converting 'ⲓ' => 'Ⲓ' (line 2078) 1748s # Converting 'Ⲕ' => 'Ⲕ' (line 2079) 1748s # Converting 'ⲕ' => 'Ⲕ' (line 2080) 1748s # Converting 'Ⲗ' => 'Ⲗ' (line 2081) 1748s # Converting 'ⲗ' => 'Ⲗ' (line 2082) 1748s # Converting 'Ⲙ' => 'Ⲙ' (line 2083) 1748s # Converting 'ⲙ' => 'Ⲙ' (line 2084) 1748s # Converting 'Ⲛ' => 'Ⲛ' (line 2085) 1748s # Converting 'ⲛ' => 'Ⲛ' (line 2086) 1748s # Converting 'Ⲝ' => 'Ⲝ' (line 2087) 1748s # Converting 'ⲝ' => 'Ⲝ' (line 2088) 1748s # Converting 'Ⲟ' => 'Ⲟ' (line 2089) 1748s # Converting 'ⲟ' => 'Ⲟ' (line 2090) 1748s # Converting 'Ⲡ' => 'Ⲡ' (line 2091) 1748s # Converting 'ⲡ' => 'Ⲡ' (line 2092) 1748s # Converting 'Ⲣ' => 'Ⲣ' (line 2093) 1748s # Converting 'ⲣ' => 'Ⲣ' (line 2094) 1748s # Converting 'Ⲥ' => 'Ⲥ' (line 2095) 1748s # Converting 'ⲥ' => 'Ⲥ' (line 2096) 1748s # Converting 'Ⲧ' => 'Ⲧ' (line 2097) 1748s # Converting 'ⲧ' => 'Ⲧ' (line 2098) 1748s # Converting 'Ⲩ' => 'Ⲩ' (line 2099) 1748s # Converting 'ⲩ' => 'Ⲩ' (line 2100) 1748s # Converting 'Ⲫ' => 'Ⲫ' (line 2101) 1748s # Converting 'ⲫ' => 'Ⲫ' (line 2102) 1748s # Converting 'Ⲭ' => 'Ⲭ' (line 2103) 1748s # Converting 'ⲭ' => 'Ⲭ' (line 2104) 1748s # Converting 'Ⲯ' => 'Ⲯ' (line 2105) 1748s # Converting 'ⲯ' => 'Ⲯ' (line 2106) 1748s # Converting 'Ⲱ' => 'Ⲱ' (line 2107) 1748s # Converting 'ⲱ' => 'Ⲱ' (line 2108) 1748s # Converting 'Ⲳ' => 'Ⲳ' (line 2109) 1748s # Converting 'ⲳ' => 'Ⲳ' (line 2110) 1748s # Converting 'Ⲵ' => 'Ⲵ' (line 2111) 1748s # Converting 'ⲵ' => 'Ⲵ' (line 2112) 1748s # Converting 'Ⲷ' => 'Ⲷ' (line 2113) 1748s # Converting 'ⲷ' => 'Ⲷ' (line 2114) 1748s # Converting 'Ⲹ' => 'Ⲹ' (line 2115) 1748s # Converting 'ⲹ' => 'Ⲹ' (line 2116) 1748s # Converting 'Ⲻ' => 'Ⲻ' (line 2117) 1748s # Converting 'ⲻ' => 'Ⲻ' (line 2118) 1748s # Converting 'Ⲽ' => 'Ⲽ' (line 2119) 1748s # Converting 'ⲽ' => 'Ⲽ' (line 2120) 1748s # Converting 'Ⲿ' => 'Ⲿ' (line 2121) 1748s # Converting 'ⲿ' => 'Ⲿ' (line 2122) 1748s # Converting 'Ⳁ' => 'Ⳁ' (line 2123) 1748s # Converting 'ⳁ' => 'Ⳁ' (line 2124) 1748s # Converting 'Ⳃ' => 'Ⳃ' (line 2125) 1748s # Converting 'ⳃ' => 'Ⳃ' (line 2126) 1748s # Converting 'Ⳅ' => 'Ⳅ' (line 2127) 1748s # Converting 'ⳅ' => 'Ⳅ' (line 2128) 1748s # Converting 'Ⳇ' => 'Ⳇ' (line 2129) 1748s # Converting 'ⳇ' => 'Ⳇ' (line 2130) 1748s # Converting 'Ⳉ' => 'Ⳉ' (line 2131) 1748s # Converting 'ⳉ' => 'Ⳉ' (line 2132) 1748s # Converting 'Ⳋ' => 'Ⳋ' (line 2133) 1748s # Converting 'ⳋ' => 'Ⳋ' (line 2134) 1748s # Converting 'Ⳍ' => 'Ⳍ' (line 2135) 1748s # Converting 'ⳍ' => 'Ⳍ' (line 2136) 1748s # Converting 'Ⳏ' => 'Ⳏ' (line 2137) 1748s # Converting 'ⳏ' => 'Ⳏ' (line 2138) 1748s # Converting 'Ⳑ' => 'Ⳑ' (line 2139) 1748s # Converting 'ⳑ' => 'Ⳑ' (line 2140) 1748s # Converting 'Ⳓ' => 'Ⳓ' (line 2141) 1748s # Converting 'ⳓ' => 'Ⳓ' (line 2142) 1748s # Converting 'Ⳕ' => 'Ⳕ' (line 2143) 1748s # Converting 'ⳕ' => 'Ⳕ' (line 2144) 1748s # Converting 'Ⳗ' => 'Ⳗ' (line 2145) 1748s # Converting 'ⳗ' => 'Ⳗ' (line 2146) 1748s # Converting 'Ⳙ' => 'Ⳙ' (line 2147) 1748s # Converting 'ⳙ' => 'Ⳙ' (line 2148) 1748s # Converting 'Ⳛ' => 'Ⳛ' (line 2149) 1748s # Converting 'ⳛ' => 'Ⳛ' (line 2150) 1748s # Converting 'Ⳝ' => 'Ⳝ' (line 2151) 1748s # Converting 'ⳝ' => 'Ⳝ' (line 2152) 1748s # Converting 'Ⳟ' => 'Ⳟ' (line 2153) 1748s # Converting 'ⳟ' => 'Ⳟ' (line 2154) 1748s # Converting 'Ⳡ' => 'Ⳡ' (line 2155) 1748s # Converting 'ⳡ' => 'Ⳡ' (line 2156) 1748s # Converting 'Ⳣ' => 'Ⳣ' (line 2157) 1748s # Converting 'ⳣ' => 'Ⳣ' (line 2158) 1748s # Converting 'ⳤ' => 'ⳤ' (line 2159) 1748s # Converting 'Ⳬ' => 'Ⳬ' (line 2160) 1748s # Converting 'ⳬ' => 'Ⳬ' (line 2161) 1748s # Converting 'Ⳮ' => 'Ⳮ' (line 2162) 1748s # Converting 'ⳮ' => 'Ⳮ' (line 2163) 1748s # Converting 'Ⳳ' => 'Ⳳ' (line 2164) 1748s # Converting 'ⳳ' => 'Ⳳ' (line 2165) 1748s # Converting 'ⴀ' => 'Ⴀ' (line 2166) 1748s # Converting 'ⴁ' => 'Ⴁ' (line 2167) 1748s # Converting 'ⴂ' => 'Ⴂ' (line 2168) 1748s # Converting 'ⴃ' => 'Ⴃ' (line 2169) 1748s # Converting 'ⴄ' => 'Ⴄ' (line 2170) 1748s # Converting 'ⴅ' => 'Ⴅ' (line 2171) 1748s # Converting 'ⴆ' => 'Ⴆ' (line 2172) 1748s # Converting 'ⴇ' => 'Ⴇ' (line 2173) 1748s # Converting 'ⴈ' => 'Ⴈ' (line 2174) 1748s # Converting 'ⴉ' => 'Ⴉ' (line 2175) 1748s # Converting 'ⴊ' => 'Ⴊ' (line 2176) 1748s # Converting 'ⴋ' => 'Ⴋ' (line 2177) 1748s # Converting 'ⴌ' => 'Ⴌ' (line 2178) 1748s # Converting 'ⴍ' => 'Ⴍ' (line 2179) 1748s # Converting 'ⴎ' => 'Ⴎ' (line 2180) 1748s # Converting 'ⴏ' => 'Ⴏ' (line 2181) 1748s # Converting 'ⴐ' => 'Ⴐ' (line 2182) 1748s # Converting 'ⴑ' => 'Ⴑ' (line 2183) 1748s # Converting 'ⴒ' => 'Ⴒ' (line 2184) 1748s # Converting 'ⴓ' => 'Ⴓ' (line 2185) 1748s # Converting 'ⴔ' => 'Ⴔ' (line 2186) 1748s # Converting 'ⴕ' => 'Ⴕ' (line 2187) 1748s # Converting 'ⴖ' => 'Ⴖ' (line 2188) 1748s # Converting 'ⴗ' => 'Ⴗ' (line 2189) 1748s # Converting 'ⴘ' => 'Ⴘ' (line 2190) 1748s # Converting 'ⴙ' => 'Ⴙ' (line 2191) 1748s # Converting 'ⴚ' => 'Ⴚ' (line 2192) 1748s # Converting 'ⴛ' => 'Ⴛ' (line 2193) 1748s # Converting 'ⴜ' => 'Ⴜ' (line 2194) 1748s # Converting 'ⴝ' => 'Ⴝ' (line 2195) 1748s # Converting 'ⴞ' => 'Ⴞ' (line 2196) 1748s # Converting 'ⴟ' => 'Ⴟ' (line 2197) 1748s # Converting 'ⴠ' => 'Ⴠ' (line 2198) 1748s # Converting 'ⴡ' => 'Ⴡ' (line 2199) 1748s # Converting 'ⴢ' => 'Ⴢ' (line 2200) 1748s # Converting 'ⴣ' => 'Ⴣ' (line 2201) 1748s # Converting 'ⴤ' => 'Ⴤ' (line 2202) 1748s # Converting 'ⴥ' => 'Ⴥ' (line 2203) 1748s # Converting 'ⴧ' => 'Ⴧ' (line 2204) 1748s # Converting 'ⴭ' => 'Ⴭ' (line 2205) 1748s # Converting 'Ꙁ' => 'Ꙁ' (line 2206) 1748s # Converting 'ꙁ' => 'Ꙁ' (line 2207) 1748s # Converting 'Ꙃ' => 'Ꙃ' (line 2208) 1748s # Converting 'ꙃ' => 'Ꙃ' (line 2209) 1748s # Converting 'Ꙅ' => 'Ꙅ' (line 2210) 1748s # Converting 'ꙅ' => 'Ꙅ' (line 2211) 1748s # Converting 'Ꙇ' => 'Ꙇ' (line 2212) 1748s # Converting 'ꙇ' => 'Ꙇ' (line 2213) 1748s # Converting 'Ꙉ' => 'Ꙉ' (line 2214) 1748s # Converting 'ꙉ' => 'Ꙉ' (line 2215) 1748s # Converting 'Ꙋ' => 'Ꙋ' (line 2216) 1748s # Converting 'ꙋ' => 'Ꙋ' (line 2217) 1748s # Converting 'Ꙍ' => 'Ꙍ' (line 2218) 1748s # Converting 'ꙍ' => 'Ꙍ' (line 2219) 1748s # Converting 'Ꙏ' => 'Ꙏ' (line 2220) 1748s # Converting 'ꙏ' => 'Ꙏ' (line 2221) 1748s # Converting 'Ꙑ' => 'Ꙑ' (line 2222) 1748s # Converting 'ꙑ' => 'Ꙑ' (line 2223) 1748s # Converting 'Ꙓ' => 'Ꙓ' (line 2224) 1748s # Converting 'ꙓ' => 'Ꙓ' (line 2225) 1748s # Converting 'Ꙕ' => 'Ꙕ' (line 2226) 1748s # Converting 'ꙕ' => 'Ꙕ' (line 2227) 1748s # Converting 'Ꙗ' => 'Ꙗ' (line 2228) 1748s # Converting 'ꙗ' => 'Ꙗ' (line 2229) 1748s # Converting 'Ꙙ' => 'Ꙙ' (line 2230) 1748s # Converting 'ꙙ' => 'Ꙙ' (line 2231) 1748s # Converting 'Ꙛ' => 'Ꙛ' (line 2232) 1748s # Converting 'ꙛ' => 'Ꙛ' (line 2233) 1748s # Converting 'Ꙝ' => 'Ꙝ' (line 2234) 1748s # Converting 'ꙝ' => 'Ꙝ' (line 2235) 1748s # Converting 'Ꙟ' => 'Ꙟ' (line 2236) 1748s # Converting 'ꙟ' => 'Ꙟ' (line 2237) 1748s # Converting 'Ꙡ' => 'Ꙡ' (line 2238) 1748s # Converting 'ꙡ' => 'Ꙡ' (line 2239) 1748s # Converting 'Ꙣ' => 'Ꙣ' (line 2240) 1748s # Converting 'ꙣ' => 'Ꙣ' (line 2241) 1748s # Converting 'Ꙥ' => 'Ꙥ' (line 2242) 1748s # Converting 'ꙥ' => 'Ꙥ' (line 2243) 1748s # Converting 'Ꙧ' => 'Ꙧ' (line 2244) 1748s # Converting 'ꙧ' => 'Ꙧ' (line 2245) 1748s # Converting 'Ꙩ' => 'Ꙩ' (line 2246) 1748s # Converting 'ꙩ' => 'Ꙩ' (line 2247) 1748s # Converting 'Ꙫ' => 'Ꙫ' (line 2248) 1748s # Converting 'ꙫ' => 'Ꙫ' (line 2249) 1748s # Converting 'Ꙭ' => 'Ꙭ' (line 2250) 1748s # Converting 'ꙭ' => 'Ꙭ' (line 2251) 1748s # Converting 'Ꚁ' => 'Ꚁ' (line 2252) 1748s # Converting 'ꚁ' => 'Ꚁ' (line 2253) 1748s # Converting 'Ꚃ' => 'Ꚃ' (line 2254) 1748s # Converting 'ꚃ' => 'Ꚃ' (line 2255) 1748s # Converting 'Ꚅ' => 'Ꚅ' (line 2256) 1748s # Converting 'ꚅ' => 'Ꚅ' (line 2257) 1748s # Converting 'Ꚇ' => 'Ꚇ' (line 2258) 1748s # Converting 'ꚇ' => 'Ꚇ' (line 2259) 1748s # Converting 'Ꚉ' => 'Ꚉ' (line 2260) 1748s # Converting 'ꚉ' => 'Ꚉ' (line 2261) 1748s # Converting 'Ꚋ' => 'Ꚋ' (line 2262) 1748s # Converting 'ꚋ' => 'Ꚋ' (line 2263) 1748s # Converting 'Ꚍ' => 'Ꚍ' (line 2264) 1748s # Converting 'ꚍ' => 'Ꚍ' (line 2265) 1748s # Converting 'Ꚏ' => 'Ꚏ' (line 2266) 1748s # Converting 'ꚏ' => 'Ꚏ' (line 2267) 1748s # Converting 'Ꚑ' => 'Ꚑ' (line 2268) 1748s # Converting 'ꚑ' => 'Ꚑ' (line 2269) 1748s # Converting 'Ꚓ' => 'Ꚓ' (line 2270) 1748s # Converting 'ꚓ' => 'Ꚓ' (line 2271) 1748s # Converting 'Ꚕ' => 'Ꚕ' (line 2272) 1748s # Converting 'ꚕ' => 'Ꚕ' (line 2273) 1748s # Converting 'Ꚗ' => 'Ꚗ' (line 2274) 1748s # Converting 'ꚗ' => 'Ꚗ' (line 2275) 1748s # Converting 'Ꚙ' => 'Ꚙ' (line 2276) 1748s # Converting 'ꚙ' => 'Ꚙ' (line 2277) 1748s # Converting 'Ꚛ' => 'Ꚛ' (line 2278) 1748s # Converting 'ꚛ' => 'Ꚛ' (line 2279) 1748s # Converting 'Ꜣ' => 'Ꜣ' (line 2280) 1748s # Converting 'ꜣ' => 'Ꜣ' (line 2281) 1748s # Converting 'Ꜥ' => 'Ꜥ' (line 2282) 1748s # Converting 'ꜥ' => 'Ꜥ' (line 2283) 1748s # Converting 'Ꜧ' => 'Ꜧ' (line 2284) 1748s # Converting 'ꜧ' => 'Ꜧ' (line 2285) 1748s # Converting 'Ꜩ' => 'Ꜩ' (line 2286) 1748s # Converting 'ꜩ' => 'Ꜩ' (line 2287) 1748s # Converting 'Ꜫ' => 'Ꜫ' (line 2288) 1748s # Converting 'ꜫ' => 'Ꜫ' (line 2289) 1748s # Converting 'Ꜭ' => 'Ꜭ' (line 2290) 1748s # Converting 'ꜭ' => 'Ꜭ' (line 2291) 1748s # Converting 'Ꜯ' => 'Ꜯ' (line 2292) 1748s # Converting 'ꜯ' => 'Ꜯ' (line 2293) 1748s # Converting 'ꜰ' => 'ꜰ' (line 2294) 1748s # Converting 'ꜱ' => 'ꜱ' (line 2295) 1748s # Converting 'Ꜳ' => 'Ꜳ' (line 2296) 1748s # Converting 'ꜳ' => 'Ꜳ' (line 2297) 1748s # Converting 'Ꜵ' => 'Ꜵ' (line 2298) 1748s # Converting 'ꜵ' => 'Ꜵ' (line 2299) 1748s # Converting 'Ꜷ' => 'Ꜷ' (line 2300) 1748s # Converting 'ꜷ' => 'Ꜷ' (line 2301) 1748s # Converting 'Ꜹ' => 'Ꜹ' (line 2302) 1748s # Converting 'ꜹ' => 'Ꜹ' (line 2303) 1748s # Converting 'Ꜻ' => 'Ꜻ' (line 2304) 1748s # Converting 'ꜻ' => 'Ꜻ' (line 2305) 1748s # Converting 'Ꜽ' => 'Ꜽ' (line 2306) 1748s # Converting 'ꜽ' => 'Ꜽ' (line 2307) 1748s # Converting 'Ꜿ' => 'Ꜿ' (line 2308) 1748s # Converting 'ꜿ' => 'Ꜿ' (line 2309) 1748s # Converting 'Ꝁ' => 'Ꝁ' (line 2310) 1748s # Converting 'ꝁ' => 'Ꝁ' (line 2311) 1748s # Converting 'Ꝃ' => 'Ꝃ' (line 2312) 1748s # Converting 'ꝃ' => 'Ꝃ' (line 2313) 1748s # Converting 'Ꝅ' => 'Ꝅ' (line 2314) 1748s # Converting 'ꝅ' => 'Ꝅ' (line 2315) 1748s # Converting 'Ꝇ' => 'Ꝇ' (line 2316) 1748s # Converting 'ꝇ' => 'Ꝇ' (line 2317) 1748s # Converting 'Ꝉ' => 'Ꝉ' (line 2318) 1748s # Converting 'ꝉ' => 'Ꝉ' (line 2319) 1748s # Converting 'Ꝋ' => 'Ꝋ' (line 2320) 1748s # Converting 'ꝋ' => 'Ꝋ' (line 2321) 1748s # Converting 'Ꝍ' => 'Ꝍ' (line 2322) 1748s # Converting 'ꝍ' => 'Ꝍ' (line 2323) 1748s # Converting 'Ꝏ' => 'Ꝏ' (line 2324) 1748s # Converting 'ꝏ' => 'Ꝏ' (line 2325) 1748s # Converting 'Ꝑ' => 'Ꝑ' (line 2326) 1748s # Converting 'ꝑ' => 'Ꝑ' (line 2327) 1748s # Converting 'Ꝓ' => 'Ꝓ' (line 2328) 1748s # Converting 'ꝓ' => 'Ꝓ' (line 2329) 1748s # Converting 'Ꝕ' => 'Ꝕ' (line 2330) 1748s # Converting 'ꝕ' => 'Ꝕ' (line 2331) 1748s # Converting 'Ꝗ' => 'Ꝗ' (line 2332) 1748s # Converting 'ꝗ' => 'Ꝗ' (line 2333) 1748s # Converting 'Ꝙ' => 'Ꝙ' (line 2334) 1748s # Converting 'ꝙ' => 'Ꝙ' (line 2335) 1748s # Converting 'Ꝛ' => 'Ꝛ' (line 2336) 1748s # Converting 'ꝛ' => 'Ꝛ' (line 2337) 1748s # Converting 'Ꝝ' => 'Ꝝ' (line 2338) 1748s # Converting 'ꝝ' => 'Ꝝ' (line 2339) 1748s # Converting 'Ꝟ' => 'Ꝟ' (line 2340) 1748s # Converting 'ꝟ' => 'Ꝟ' (line 2341) 1748s # Converting 'Ꝡ' => 'Ꝡ' (line 2342) 1748s # Converting 'ꝡ' => 'Ꝡ' (line 2343) 1748s # Converting 'Ꝣ' => 'Ꝣ' (line 2344) 1748s # Converting 'ꝣ' => 'Ꝣ' (line 2345) 1748s # Converting 'Ꝥ' => 'Ꝥ' (line 2346) 1748s # Converting 'ꝥ' => 'Ꝥ' (line 2347) 1748s # Converting 'Ꝧ' => 'Ꝧ' (line 2348) 1748s # Converting 'ꝧ' => 'Ꝧ' (line 2349) 1748s # Converting 'Ꝩ' => 'Ꝩ' (line 2350) 1748s # Converting 'ꝩ' => 'Ꝩ' (line 2351) 1748s # Converting 'Ꝫ' => 'Ꝫ' (line 2352) 1748s # Converting 'ꝫ' => 'Ꝫ' (line 2353) 1748s # Converting 'Ꝭ' => 'Ꝭ' (line 2354) 1748s # Converting 'ꝭ' => 'Ꝭ' (line 2355) 1748s # Converting 'Ꝯ' => 'Ꝯ' (line 2356) 1748s # Converting 'ꝯ' => 'Ꝯ' (line 2357) 1748s # Converting 'ꝱ' => 'ꝱ' (line 2358) 1748s # Converting 'ꝲ' => 'ꝲ' (line 2359) 1748s # Converting 'ꝳ' => 'ꝳ' (line 2360) 1748s # Converting 'ꝴ' => 'ꝴ' (line 2361) 1748s # Converting 'ꝵ' => 'ꝵ' (line 2362) 1748s # Converting 'ꝶ' => 'ꝶ' (line 2363) 1748s # Converting 'ꝷ' => 'ꝷ' (line 2364) 1748s # Converting 'ꝸ' => 'ꝸ' (line 2365) 1748s # Converting 'Ꝺ' => 'Ꝺ' (line 2366) 1748s # Converting 'ꝺ' => 'Ꝺ' (line 2367) 1748s # Converting 'Ꝼ' => 'Ꝼ' (line 2368) 1748s # Converting 'ꝼ' => 'Ꝼ' (line 2369) 1748s # Converting 'Ᵹ' => 'Ᵹ' (line 2370) 1748s # Converting 'Ꝿ' => 'Ꝿ' (line 2371) 1748s # Converting 'ꝿ' => 'Ꝿ' (line 2372) 1748s # Converting 'Ꞁ' => 'Ꞁ' (line 2373) 1748s # Converting 'ꞁ' => 'Ꞁ' (line 2374) 1748s # Converting 'Ꞃ' => 'Ꞃ' (line 2375) 1748s # Converting 'ꞃ' => 'Ꞃ' (line 2376) 1748s # Converting 'Ꞅ' => 'Ꞅ' (line 2377) 1748s # Converting 'ꞅ' => 'Ꞅ' (line 2378) 1748s # Converting 'Ꞇ' => 'Ꞇ' (line 2379) 1748s # Converting 'ꞇ' => 'Ꞇ' (line 2380) 1748s # Converting 'Ꞌ' => 'Ꞌ' (line 2381) 1748s # Converting 'ꞌ' => 'Ꞌ' (line 2382) 1748s # Converting 'Ɥ' => 'Ɥ' (line 2383) 1748s # Converting 'ꞎ' => 'ꞎ' (line 2384) 1748s # Converting 'Ꞑ' => 'Ꞑ' (line 2385) 1748s # Converting 'ꞑ' => 'Ꞑ' (line 2386) 1748s # Converting 'Ꞓ' => 'Ꞓ' (line 2387) 1748s # Converting 'ꞓ' => 'Ꞓ' (line 2388) 1748s # Converting 'ꞔ' => 'Ꞔ' (line 2389) 1748s # Converting 'ꞕ' => 'ꞕ' (line 2390) 1748s # Converting 'Ꞗ' => 'Ꞗ' (line 2391) 1748s # Converting 'ꞗ' => 'Ꞗ' (line 2392) 1748s # Converting 'Ꞙ' => 'Ꞙ' (line 2393) 1748s # Converting 'ꞙ' => 'Ꞙ' (line 2394) 1748s # Converting 'Ꞛ' => 'Ꞛ' (line 2395) 1748s # Converting 'ꞛ' => 'Ꞛ' (line 2396) 1748s # Converting 'Ꞝ' => 'Ꞝ' (line 2397) 1748s # Converting 'ꞝ' => 'Ꞝ' (line 2398) 1748s # Converting 'Ꞟ' => 'Ꞟ' (line 2399) 1748s # Converting 'ꞟ' => 'Ꞟ' (line 2400) 1748s # Converting 'Ꞡ' => 'Ꞡ' (line 2401) 1748s # Converting 'ꞡ' => 'Ꞡ' (line 2402) 1748s # Converting 'Ꞣ' => 'Ꞣ' (line 2403) 1748s # Converting 'ꞣ' => 'Ꞣ' (line 2404) 1748s # Converting 'Ꞥ' => 'Ꞥ' (line 2405) 1748s # Converting 'ꞥ' => 'Ꞥ' (line 2406) 1748s # Converting 'Ꞧ' => 'Ꞧ' (line 2407) 1748s # Converting 'ꞧ' => 'Ꞧ' (line 2408) 1748s # Converting 'Ꞩ' => 'Ꞩ' (line 2409) 1748s # Converting 'ꞩ' => 'Ꞩ' (line 2410) 1748s # Converting 'Ɦ' => 'Ɦ' (line 2411) 1748s # Converting 'Ɜ' => 'Ɜ' (line 2412) 1748s # Converting 'Ɡ' => 'Ɡ' (line 2413) 1748s # Converting 'Ɬ' => 'Ɬ' (line 2414) 1748s # Converting 'Ɪ' => 'Ɪ' (line 2415) 1748s # Converting 'ꞯ' => 'ꞯ' (line 2416) 1748s # Converting 'Ʞ' => 'Ʞ' (line 2417) 1748s # Converting 'Ʇ' => 'Ʇ' (line 2418) 1748s # Converting 'Ʝ' => 'Ʝ' (line 2419) 1748s # Converting 'Ꭓ' => 'Ꭓ' (line 2420) 1748s # Converting 'Ꞵ' => 'Ꞵ' (line 2421) 1748s # Converting 'ꞵ' => 'Ꞵ' (line 2422) 1748s # Converting 'Ꞷ' => 'Ꞷ' (line 2423) 1748s # Converting 'ꞷ' => 'Ꞷ' (line 2424) 1748s # Converting 'Ꞹ' => 'Ꞹ' (line 2425) 1748s # Converting 'ꞹ' => 'Ꞹ' (line 2426) 1748s # Converting 'Ꞻ' => 'Ꞻ' (line 2427) 1748s # Converting 'ꞻ' => 'Ꞻ' (line 2428) 1748s # Converting 'Ꞽ' => 'Ꞽ' (line 2429) 1748s # Converting 'ꞽ' => 'Ꞽ' (line 2430) 1748s # Converting 'Ꞿ' => 'Ꞿ' (line 2431) 1748s # Converting 'ꞿ' => 'Ꞿ' (line 2432) 1748s # Converting 'Ꟁ' => 'Ꟁ' (line 2433) 1748s # Converting 'ꟁ' => 'Ꟁ' (line 2434) 1748s # Converting 'Ꟃ' => 'Ꟃ' (line 2435) 1748s # Converting 'ꟃ' => 'Ꟃ' (line 2436) 1748s # Converting 'Ꞔ' => 'Ꞔ' (line 2437) 1748s # Converting 'Ʂ' => 'Ʂ' (line 2438) 1748s # Converting 'Ᶎ' => 'Ᶎ' (line 2439) 1748s # Converting 'Ꟈ' => 'Ꟈ' (line 2440) 1748s # Converting 'ꟈ' => 'Ꟈ' (line 2441) 1748s # Converting 'Ꟊ' => 'Ꟊ' (line 2442) 1748s # Converting 'ꟊ' => 'Ꟊ' (line 2443) 1748s # Converting 'Ɤ' => 'Ɤ' (line 2444) 1748s # Converting 'Ꟍ' => 'Ꟍ' (line 2445) 1748s # Converting 'ꟍ' => 'Ꟍ' (line 2446) 1748s # Converting '꟎' => '꟎' (line 2447) 1748s # Converting '꟏' => '꟎' (line 2448) 1748s # Converting 'Ꟑ' => 'Ꟑ' (line 2449) 1748s # Converting 'ꟑ' => 'Ꟑ' (line 2450) 1748s # Converting '꟒' => '꟒' (line 2451) 1748s # Converting 'ꟓ' => '꟒' (line 2452) 1748s # Converting '꟔' => '꟔' (line 2453) 1748s # Converting 'ꟕ' => '꟔' (line 2454) 1748s # Converting 'Ꟗ' => 'Ꟗ' (line 2455) 1748s # Converting 'ꟗ' => 'Ꟗ' (line 2456) 1748s # Converting 'Ꟙ' => 'Ꟙ' (line 2457) 1748s # Converting 'ꟙ' => 'Ꟙ' (line 2458) 1748s # Converting 'Ꟛ' => 'Ꟛ' (line 2459) 1748s # Converting 'ꟛ' => 'Ꟛ' (line 2460) 1748s # Converting 'Ƛ' => 'Ƛ' (line 2461) 1748s # Converting 'Ꟶ' => 'Ꟶ' (line 2462) 1748s # Converting 'ꟶ' => 'Ꟶ' (line 2463) 1748s # Converting 'ꟺ' => 'ꟺ' (line 2464) 1748s # Converting 'ꬰ' => 'ꬰ' (line 2465) 1748s # Converting 'ꬱ' => 'ꬱ' (line 2466) 1748s # Converting 'ꬲ' => 'ꬲ' (line 2467) 1748s # Converting 'ꬳ' => 'ꬳ' (line 2468) 1748s # Converting 'ꬴ' => 'ꬴ' (line 2469) 1748s # Converting 'ꬵ' => 'ꬵ' (line 2470) 1748s # Converting 'ꬶ' => 'ꬶ' (line 2471) 1748s # Converting 'ꬷ' => 'ꬷ' (line 2472) 1748s # Converting 'ꬸ' => 'ꬸ' (line 2473) 1748s # Converting 'ꬹ' => 'ꬹ' (line 2474) 1748s # Converting 'ꬺ' => 'ꬺ' (line 2475) 1748s # Converting 'ꬻ' => 'ꬻ' (line 2476) 1748s # Converting 'ꬼ' => 'ꬼ' (line 2477) 1748s # Converting 'ꬽ' => 'ꬽ' (line 2478) 1748s # Converting 'ꬾ' => 'ꬾ' (line 2479) 1748s # Converting 'ꬿ' => 'ꬿ' (line 2480) 1748s # Converting 'ꭀ' => 'ꭀ' (line 2481) 1748s # Converting 'ꭁ' => 'ꭁ' (line 2482) 1748s # Converting 'ꭂ' => 'ꭂ' (line 2483) 1748s # Converting 'ꭃ' => 'ꭃ' (line 2484) 1748s # Converting 'ꭄ' => 'ꭄ' (line 2485) 1748s # Converting 'ꭅ' => 'ꭅ' (line 2486) 1748s # Converting 'ꭆ' => 'ꭆ' (line 2487) 1748s # Converting 'ꭇ' => 'ꭇ' (line 2488) 1748s # Converting 'ꭈ' => 'ꭈ' (line 2489) 1748s # Converting 'ꭉ' => 'ꭉ' (line 2490) 1748s # Converting 'ꭊ' => 'ꭊ' (line 2491) 1748s # Converting 'ꭋ' => 'ꭋ' (line 2492) 1748s # Converting 'ꭌ' => 'ꭌ' (line 2493) 1748s # Converting 'ꭍ' => 'ꭍ' (line 2494) 1748s # Converting 'ꭎ' => 'ꭎ' (line 2495) 1748s # Converting 'ꭏ' => 'ꭏ' (line 2496) 1748s # Converting 'ꭐ' => 'ꭐ' (line 2497) 1748s # Converting 'ꭑ' => 'ꭑ' (line 2498) 1748s # Converting 'ꭒ' => 'ꭒ' (line 2499) 1748s # Converting 'ꭓ' => 'Ꭓ' (line 2500) 1748s # Converting 'ꭔ' => 'ꭔ' (line 2501) 1748s # Converting 'ꭕ' => 'ꭕ' (line 2502) 1748s # Converting 'ꭖ' => 'ꭖ' (line 2503) 1748s # Converting 'ꭗ' => 'ꭗ' (line 2504) 1748s # Converting 'ꭘ' => 'ꭘ' (line 2505) 1748s # Converting 'ꭙ' => 'ꭙ' (line 2506) 1748s # Converting 'ꭚ' => 'ꭚ' (line 2507) 1748s # Converting 'ꭠ' => 'ꭠ' (line 2508) 1748s # Converting 'ꭡ' => 'ꭡ' (line 2509) 1748s # Converting 'ꭢ' => 'ꭢ' (line 2510) 1748s # Converting 'ꭣ' => 'ꭣ' (line 2511) 1748s # Converting 'ꭤ' => 'ꭤ' (line 2512) 1748s # Converting 'ꭥ' => 'ꭥ' (line 2513) 1748s # Converting 'ꭦ' => 'ꭦ' (line 2514) 1748s # Converting 'ꭧ' => 'ꭧ' (line 2515) 1748s # Converting 'ꭨ' => 'ꭨ' (line 2516) 1748s # Converting 'ꭰ' => 'Ꭰ' (line 2517) 1748s # Converting 'ꭱ' => 'Ꭱ' (line 2518) 1748s # Converting 'ꭲ' => 'Ꭲ' (line 2519) 1748s # Converting 'ꭳ' => 'Ꭳ' (line 2520) 1748s # Converting 'ꭴ' => 'Ꭴ' (line 2521) 1748s # Converting 'ꭵ' => 'Ꭵ' (line 2522) 1748s # Converting 'ꭶ' => 'Ꭶ' (line 2523) 1748s # Converting 'ꭷ' => 'Ꭷ' (line 2524) 1748s # Converting 'ꭸ' => 'Ꭸ' (line 2525) 1748s # Converting 'ꭹ' => 'Ꭹ' (line 2526) 1748s # Converting 'ꭺ' => 'Ꭺ' (line 2527) 1748s # Converting 'ꭻ' => 'Ꭻ' (line 2528) 1748s # Converting 'ꭼ' => 'Ꭼ' (line 2529) 1748s # Converting 'ꭽ' => 'Ꭽ' (line 2530) 1748s # Converting 'ꭾ' => 'Ꭾ' (line 2531) 1748s # Converting 'ꭿ' => 'Ꭿ' (line 2532) 1748s # Converting 'ꮀ' => 'Ꮀ' (line 2533) 1748s # Converting 'ꮁ' => 'Ꮁ' (line 2534) 1748s # Converting 'ꮂ' => 'Ꮂ' (line 2535) 1748s # Converting 'ꮃ' => 'Ꮃ' (line 2536) 1748s # Converting 'ꮄ' => 'Ꮄ' (line 2537) 1748s # Converting 'ꮅ' => 'Ꮅ' (line 2538) 1748s # Converting 'ꮆ' => 'Ꮆ' (line 2539) 1748s # Converting 'ꮇ' => 'Ꮇ' (line 2540) 1748s # Converting 'ꮈ' => 'Ꮈ' (line 2541) 1748s # Converting 'ꮉ' => 'Ꮉ' (line 2542) 1748s # Converting 'ꮊ' => 'Ꮊ' (line 2543) 1748s # Converting 'ꮋ' => 'Ꮋ' (line 2544) 1748s # Converting 'ꮌ' => 'Ꮌ' (line 2545) 1748s # Converting 'ꮍ' => 'Ꮍ' (line 2546) 1748s # Converting 'ꮎ' => 'Ꮎ' (line 2547) 1748s # Converting 'ꮏ' => 'Ꮏ' (line 2548) 1748s # Converting 'ꮐ' => 'Ꮐ' (line 2549) 1748s # Converting 'ꮑ' => 'Ꮑ' (line 2550) 1748s # Converting 'ꮒ' => 'Ꮒ' (line 2551) 1748s # Converting 'ꮓ' => 'Ꮓ' (line 2552) 1748s # Converting 'ꮔ' => 'Ꮔ' (line 2553) 1748s # Converting 'ꮕ' => 'Ꮕ' (line 2554) 1748s # Converting 'ꮖ' => 'Ꮖ' (line 2555) 1748s # Converting 'ꮗ' => 'Ꮗ' (line 2556) 1748s # Converting 'ꮘ' => 'Ꮘ' (line 2557) 1748s # Converting 'ꮙ' => 'Ꮙ' (line 2558) 1748s # Converting 'ꮚ' => 'Ꮚ' (line 2559) 1748s # Converting 'ꮛ' => 'Ꮛ' (line 2560) 1748s # Converting 'ꮜ' => 'Ꮜ' (line 2561) 1748s # Converting 'ꮝ' => 'Ꮝ' (line 2562) 1748s # Converting 'ꮞ' => 'Ꮞ' (line 2563) 1748s # Converting 'ꮟ' => 'Ꮟ' (line 2564) 1748s # Converting 'ꮠ' => 'Ꮠ' (line 2565) 1748s # Converting 'ꮡ' => 'Ꮡ' (line 2566) 1748s # Converting 'ꮢ' => 'Ꮢ' (line 2567) 1748s # Converting 'ꮣ' => 'Ꮣ' (line 2568) 1748s # Converting 'ꮤ' => 'Ꮤ' (line 2569) 1748s # Converting 'ꮥ' => 'Ꮥ' (line 2570) 1748s # Converting 'ꮦ' => 'Ꮦ' (line 2571) 1748s # Converting 'ꮧ' => 'Ꮧ' (line 2572) 1748s # Converting 'ꮨ' => 'Ꮨ' (line 2573) 1748s # Converting 'ꮩ' => 'Ꮩ' (line 2574) 1748s # Converting 'ꮪ' => 'Ꮪ' (line 2575) 1748s # Converting 'ꮫ' => 'Ꮫ' (line 2576) 1748s # Converting 'ꮬ' => 'Ꮬ' (line 2577) 1748s # Converting 'ꮭ' => 'Ꮭ' (line 2578) 1748s # Converting 'ꮮ' => 'Ꮮ' (line 2579) 1748s # Converting 'ꮯ' => 'Ꮯ' (line 2580) 1748s # Converting 'ꮰ' => 'Ꮰ' (line 2581) 1748s # Converting 'ꮱ' => 'Ꮱ' (line 2582) 1748s # Converting 'ꮲ' => 'Ꮲ' (line 2583) 1748s # Converting 'ꮳ' => 'Ꮳ' (line 2584) 1748s # Converting 'ꮴ' => 'Ꮴ' (line 2585) 1748s # Converting 'ꮵ' => 'Ꮵ' (line 2586) 1748s # Converting 'ꮶ' => 'Ꮶ' (line 2587) 1748s # Converting 'ꮷ' => 'Ꮷ' (line 2588) 1748s # Converting 'ꮸ' => 'Ꮸ' (line 2589) 1748s # Converting 'ꮹ' => 'Ꮹ' (line 2590) 1748s # Converting 'ꮺ' => 'Ꮺ' (line 2591) 1748s # Converting 'ꮻ' => 'Ꮻ' (line 2592) 1748s # Converting 'ꮼ' => 'Ꮼ' (line 2593) 1748s # Converting 'ꮽ' => 'Ꮽ' (line 2594) 1748s # Converting 'ꮾ' => 'Ꮾ' (line 2595) 1748s # Converting 'ꮿ' => 'Ꮿ' (line 2596) 1748s # Converting 'ff' => 'FF' (line 2597) 1748s # Converting 'fi' => 'FI' (line 2598) 1748s # Converting 'fl' => 'FL' (line 2599) 1748s # Converting 'ffi' => 'FFI' (line 2600) 1748s # Converting 'ffl' => 'FFL' (line 2601) 1748s # Converting 'ſt' => 'ST' (line 2602) 1748s # Converting 'st' => 'ST' (line 2603) 1748s # Converting 'ﬓ' => 'ՄՆ' (line 2604) 1748s # Converting 'ﬔ' => 'ՄԵ' (line 2605) 1748s # Converting 'ﬕ' => 'ՄԻ' (line 2606) 1748s # Converting 'ﬖ' => 'ՎՆ' (line 2607) 1748s # Converting 'ﬗ' => 'ՄԽ' (line 2608) 1748s # Converting 'A' => 'A' (line 2609) 1748s # Converting 'B' => 'B' (line 2610) 1748s # Converting 'C' => 'C' (line 2611) 1748s # Converting 'D' => 'D' (line 2612) 1748s # Converting 'E' => 'E' (line 2613) 1748s # Converting 'F' => 'F' (line 2614) 1748s # Converting 'G' => 'G' (line 2615) 1748s # Converting 'H' => 'H' (line 2616) 1748s # Converting 'I' => 'I' (line 2617) 1748s # Converting 'J' => 'J' (line 2618) 1748s # Converting 'K' => 'K' (line 2619) 1748s # Converting 'L' => 'L' (line 2620) 1748s # Converting 'M' => 'M' (line 2621) 1748s # Converting 'N' => 'N' (line 2622) 1748s # Converting 'O' => 'O' (line 2623) 1748s # Converting 'P' => 'P' (line 2624) 1748s # Converting 'Q' => 'Q' (line 2625) 1748s # Converting 'R' => 'R' (line 2626) 1748s # Converting 'S' => 'S' (line 2627) 1748s # Converting 'T' => 'T' (line 2628) 1748s # Converting 'U' => 'U' (line 2629) 1748s # Converting 'V' => 'V' (line 2630) 1748s # Converting 'W' => 'W' (line 2631) 1748s # Converting 'X' => 'X' (line 2632) 1748s # Converting 'Y' => 'Y' (line 2633) 1748s # Converting 'Z' => 'Z' (line 2634) 1748s # Converting 'a' => 'A' (line 2635) 1748s # Converting 'b' => 'B' (line 2636) 1748s # Converting 'c' => 'C' (line 2637) 1748s # Converting 'd' => 'D' (line 2638) 1748s # Converting 'e' => 'E' (line 2639) 1748s # Converting 'f' => 'F' (line 2640) 1748s # Converting 'g' => 'G' (line 2641) 1748s # Converting 'h' => 'H' (line 2642) 1748s # Converting 'i' => 'I' (line 2643) 1748s # Converting 'j' => 'J' (line 2644) 1748s # Converting 'k' => 'K' (line 2645) 1748s # Converting 'l' => 'L' (line 2646) 1748s # Converting 'm' => 'M' (line 2647) 1748s # Converting 'n' => 'N' (line 2648) 1748s # Converting 'o' => 'O' (line 2649) 1748s # Converting 'p' => 'P' (line 2650) 1748s # Converting 'q' => 'Q' (line 2651) 1748s # Converting 'r' => 'R' (line 2652) 1748s # Converting 's' => 'S' (line 2653) 1748s # Converting 't' => 'T' (line 2654) 1748s # Converting 'u' => 'U' (line 2655) 1748s # Converting 'v' => 'V' (line 2656) 1748s # Converting 'w' => 'W' (line 2657) 1748s # Converting 'x' => 'X' (line 2658) 1748s # Converting 'y' => 'Y' (line 2659) 1748s # Converting 'z' => 'Z' (line 2660) 1748s # Converting '𐐀' => '𐐀' (line 2661) 1748s # Converting '𐐁' => '𐐁' (line 2662) 1748s # Converting '𐐂' => '𐐂' (line 2663) 1748s # Converting '𐐃' => '𐐃' (line 2664) 1748s # Converting '𐐄' => '𐐄' (line 2665) 1748s # Converting '𐐅' => '𐐅' (line 2666) 1748s # Converting '𐐆' => '𐐆' (line 2667) 1748s # Converting '𐐇' => '𐐇' (line 2668) 1748s # Converting '𐐈' => '𐐈' (line 2669) 1748s # Converting '𐐉' => '𐐉' (line 2670) 1748s # Converting '𐐊' => '𐐊' (line 2671) 1748s # Converting '𐐋' => '𐐋' (line 2672) 1748s # Converting '𐐌' => '𐐌' (line 2673) 1748s # Converting '𐐍' => '𐐍' (line 2674) 1748s # Converting '𐐎' => '𐐎' (line 2675) 1748s # Converting '𐐏' => '𐐏' (line 2676) 1748s # Converting '𐐐' => '𐐐' (line 2677) 1748s # Converting '𐐑' => '𐐑' (line 2678) 1748s # Converting '𐐒' => '𐐒' (line 2679) 1748s # Converting '𐐓' => '𐐓' (line 2680) 1748s # Converting '𐐔' => '𐐔' (line 2681) 1748s # Converting '𐐕' => '𐐕' (line 2682) 1748s # Converting '𐐖' => '𐐖' (line 2683) 1748s # Converting '𐐗' => '𐐗' (line 2684) 1748s # Converting '𐐘' => '𐐘' (line 2685) 1748s # Converting '𐐙' => '𐐙' (line 2686) 1748s # Converting '𐐚' => '𐐚' (line 2687) 1748s # Converting '𐐛' => '𐐛' (line 2688) 1748s # Converting '𐐜' => '𐐜' (line 2689) 1748s # Converting '𐐝' => '𐐝' (line 2690) 1748s # Converting '𐐞' => '𐐞' (line 2691) 1748s # Converting '𐐟' => '𐐟' (line 2692) 1748s # Converting '𐐠' => '𐐠' (line 2693) 1748s # Converting '𐐡' => '𐐡' (line 2694) 1748s # Converting '𐐢' => '𐐢' (line 2695) 1748s # Converting '𐐣' => '𐐣' (line 2696) 1748s # Converting '𐐤' => '𐐤' (line 2697) 1748s # Converting '𐐥' => '𐐥' (line 2698) 1748s # Converting '𐐦' => '𐐦' (line 2699) 1748s # Converting '𐐧' => '𐐧' (line 2700) 1748s # Converting '𐐨' => '𐐀' (line 2701) 1748s # Converting '𐐩' => '𐐁' (line 2702) 1748s # Converting '𐐪' => '𐐂' (line 2703) 1748s # Converting '𐐫' => '𐐃' (line 2704) 1748s # Converting '𐐬' => '𐐄' (line 2705) 1748s # Converting '𐐭' => '𐐅' (line 2706) 1748s # Converting '𐐮' => '𐐆' (line 2707) 1748s # Converting '𐐯' => '𐐇' (line 2708) 1748s # Converting '𐐰' => '𐐈' (line 2709) 1748s # Converting '𐐱' => '𐐉' (line 2710) 1748s # Converting '𐐲' => '𐐊' (line 2711) 1748s # Converting '𐐳' => '𐐋' (line 2712) 1748s # Converting '𐐴' => '𐐌' (line 2713) 1748s # Converting '𐐵' => '𐐍' (line 2714) 1748s # Converting '𐐶' => '𐐎' (line 2715) 1748s # Converting '𐐷' => '𐐏' (line 2716) 1748s # Converting '𐐸' => '𐐐' (line 2717) 1748s # Converting '𐐹' => '𐐑' (line 2718) 1748s # Converting '𐐺' => '𐐒' (line 2719) 1748s # Converting '𐐻' => '𐐓' (line 2720) 1748s # Converting '𐐼' => '𐐔' (line 2721) 1748s # Converting '𐐽' => '𐐕' (line 2722) 1748s # Converting '𐐾' => '𐐖' (line 2723) 1748s # Converting '𐐿' => '𐐗' (line 2724) 1748s # Converting '𐑀' => '𐐘' (line 2725) 1748s # Converting '𐑁' => '𐐙' (line 2726) 1748s # Converting '𐑂' => '𐐚' (line 2727) 1748s # Converting '𐑃' => '𐐛' (line 2728) 1748s # Converting '𐑄' => '𐐜' (line 2729) 1748s # Converting '𐑅' => '𐐝' (line 2730) 1748s # Converting '𐑆' => '𐐞' (line 2731) 1748s # Converting '𐑇' => '𐐟' (line 2732) 1748s # Converting '𐑈' => '𐐠' (line 2733) 1748s # Converting '𐑉' => '𐐡' (line 2734) 1748s # Converting '𐑊' => '𐐢' (line 2735) 1748s # Converting '𐑋' => '𐐣' (line 2736) 1748s # Converting '𐑌' => '𐐤' (line 2737) 1748s # Converting '𐑍' => '𐐥' (line 2738) 1748s # Converting '𐑎' => '𐐦' (line 2739) 1748s # Converting '𐑏' => '𐐧' (line 2740) 1748s # Converting '𐒰' => '𐒰' (line 2741) 1748s # Converting '𐒱' => '𐒱' (line 2742) 1748s # Converting '𐒲' => '𐒲' (line 2743) 1748s # Converting '𐒳' => '𐒳' (line 2744) 1748s # Converting '𐒴' => '𐒴' (line 2745) 1748s # Converting '𐒵' => '𐒵' (line 2746) 1748s # Converting '𐒶' => '𐒶' (line 2747) 1748s # Converting '𐒷' => '𐒷' (line 2748) 1748s # Converting '𐒸' => '𐒸' (line 2749) 1748s # Converting '𐒹' => '𐒹' (line 2750) 1748s # Converting '𐒺' => '𐒺' (line 2751) 1748s # Converting '𐒻' => '𐒻' (line 2752) 1748s # Converting '𐒼' => '𐒼' (line 2753) 1748s # Converting '𐒽' => '𐒽' (line 2754) 1748s # Converting '𐒾' => '𐒾' (line 2755) 1748s # Converting '𐒿' => '𐒿' (line 2756) 1748s # Converting '𐓀' => '𐓀' (line 2757) 1748s # Converting '𐓁' => '𐓁' (line 2758) 1748s # Converting '𐓂' => '𐓂' (line 2759) 1748s # Converting '𐓃' => '𐓃' (line 2760) 1748s # Converting '𐓄' => '𐓄' (line 2761) 1748s # Converting '𐓅' => '𐓅' (line 2762) 1748s # Converting '𐓆' => '𐓆' (line 2763) 1748s # Converting '𐓇' => '𐓇' (line 2764) 1748s # Converting '𐓈' => '𐓈' (line 2765) 1748s # Converting '𐓉' => '𐓉' (line 2766) 1748s # Converting '𐓊' => '𐓊' (line 2767) 1748s # Converting '𐓋' => '𐓋' (line 2768) 1748s # Converting '𐓌' => '𐓌' (line 2769) 1748s # Converting '𐓍' => '𐓍' (line 2770) 1748s # Converting '𐓎' => '𐓎' (line 2771) 1748s # Converting '𐓏' => '𐓏' (line 2772) 1748s # Converting '𐓐' => '𐓐' (line 2773) 1748s # Converting '𐓑' => '𐓑' (line 2774) 1748s # Converting '𐓒' => '𐓒' (line 2775) 1748s # Converting '𐓓' => '𐓓' (line 2776) 1748s # Converting '𐓘' => '𐒰' (line 2777) 1748s # Converting '𐓙' => '𐒱' (line 2778) 1748s # Converting '𐓚' => '𐒲' (line 2779) 1748s # Converting '𐓛' => '𐒳' (line 2780) 1748s # Converting '𐓜' => '𐒴' (line 2781) 1748s # Converting '𐓝' => '𐒵' (line 2782) 1748s # Converting '𐓞' => '𐒶' (line 2783) 1748s # Converting '𐓟' => '𐒷' (line 2784) 1748s # Converting '𐓠' => '𐒸' (line 2785) 1748s # Converting '𐓡' => '𐒹' (line 2786) 1748s # Converting '𐓢' => '𐒺' (line 2787) 1748s # Converting '𐓣' => '𐒻' (line 2788) 1748s # Converting '𐓤' => '𐒼' (line 2789) 1748s # Converting '𐓥' => '𐒽' (line 2790) 1748s # Converting '𐓦' => '𐒾' (line 2791) 1748s # Converting '𐓧' => '𐒿' (line 2792) 1748s # Converting '𐓨' => '𐓀' (line 2793) 1748s # Converting '𐓩' => '𐓁' (line 2794) 1748s # Converting '𐓪' => '𐓂' (line 2795) 1748s # Converting '𐓫' => '𐓃' (line 2796) 1748s # Converting '𐓬' => '𐓄' (line 2797) 1748s # Converting '𐓭' => '𐓅' (line 2798) 1748s # Converting '𐓮' => '𐓆' (line 2799) 1748s # Converting '𐓯' => '𐓇' (line 2800) 1748s # Converting '𐓰' => '𐓈' (line 2801) 1748s # Converting '𐓱' => '𐓉' (line 2802) 1748s # Converting '𐓲' => '𐓊' (line 2803) 1748s # Converting '𐓳' => '𐓋' (line 2804) 1748s # Converting '𐓴' => '𐓌' (line 2805) 1748s # Converting '𐓵' => '𐓍' (line 2806) 1748s # Converting '𐓶' => '𐓎' (line 2807) 1748s # Converting '𐓷' => '𐓏' (line 2808) 1748s # Converting '𐓸' => '𐓐' (line 2809) 1748s # Converting '𐓹' => '𐓑' (line 2810) 1748s # Converting '𐓺' => '𐓒' (line 2811) 1748s # Converting '𐓻' => '𐓓' (line 2812) 1748s # Converting '𐕰' => '𐕰' (line 2813) 1748s # Converting '𐕱' => '𐕱' (line 2814) 1748s # Converting '𐕲' => '𐕲' (line 2815) 1748s # Converting '𐕳' => '𐕳' (line 2816) 1748s # Converting '𐕴' => '𐕴' (line 2817) 1748s # Converting '𐕵' => '𐕵' (line 2818) 1748s # Converting '𐕶' => '𐕶' (line 2819) 1748s # Converting '𐕷' => '𐕷' (line 2820) 1748s # Converting '𐕸' => '𐕸' (line 2821) 1748s # Converting '𐕹' => '𐕹' (line 2822) 1748s # Converting '𐕺' => '𐕺' (line 2823) 1748s # Converting '𐕼' => '𐕼' (line 2824) 1748s # Converting '𐕽' => '𐕽' (line 2825) 1748s # Converting '𐕾' => '𐕾' (line 2826) 1748s # Converting '𐕿' => '𐕿' (line 2827) 1748s # Converting '𐖀' => '𐖀' (line 2828) 1748s # Converting '𐖁' => '𐖁' (line 2829) 1748s # Converting '𐖂' => '𐖂' (line 2830) 1748s # Converting '𐖃' => '𐖃' (line 2831) 1748s # Converting '𐖄' => '𐖄' (line 2832) 1748s # Converting '𐖅' => '𐖅' (line 2833) 1748s # Converting '𐖆' => '𐖆' (line 2834) 1748s # Converting '𐖇' => '𐖇' (line 2835) 1748s # Converting '𐖈' => '𐖈' (line 2836) 1748s # Converting '𐖉' => '𐖉' (line 2837) 1748s # Converting '𐖊' => '𐖊' (line 2838) 1748s # Converting '𐖌' => '𐖌' (line 2839) 1748s # Converting '𐖍' => '𐖍' (line 2840) 1748s # Converting '𐖎' => '𐖎' (line 2841) 1748s # Converting '𐖏' => '𐖏' (line 2842) 1748s # Converting '𐖐' => '𐖐' (line 2843) 1748s # Converting '𐖑' => '𐖑' (line 2844) 1748s # Converting '𐖒' => '𐖒' (line 2845) 1748s # Converting '𐖔' => '𐖔' (line 2846) 1748s # Converting '𐖕' => '𐖕' (line 2847) 1748s # Converting '𐖗' => '𐕰' (line 2848) 1748s # Converting '𐖘' => '𐕱' (line 2849) 1748s # Converting '𐖙' => '𐕲' (line 2850) 1748s # Converting '𐖚' => '𐕳' (line 2851) 1748s # Converting '𐖛' => '𐕴' (line 2852) 1748s # Converting '𐖜' => '𐕵' (line 2853) 1748s # Converting '𐖝' => '𐕶' (line 2854) 1748s # Converting '𐖞' => '𐕷' (line 2855) 1748s # Converting '𐖟' => '𐕸' (line 2856) 1748s # Converting '𐖠' => '𐕹' (line 2857) 1748s # Converting '𐖡' => '𐕺' (line 2858) 1748s # Converting '𐖣' => '𐕼' (line 2859) 1748s # Converting '𐖤' => '𐕽' (line 2860) 1748s # Converting '𐖥' => '𐕾' (line 2861) 1748s # Converting '𐖦' => '𐕿' (line 2862) 1748s # Converting '𐖧' => '𐖀' (line 2863) 1748s # Converting '𐖨' => '𐖁' (line 2864) 1748s # Converting '𐖩' => '𐖂' (line 2865) 1748s # Converting '𐖪' => '𐖃' (line 2866) 1748s # Converting '𐖫' => '𐖄' (line 2867) 1748s # Converting '𐖬' => '𐖅' (line 2868) 1748s # Converting '𐖭' => '𐖆' (line 2869) 1748s # Converting '𐖮' => '𐖇' (line 2870) 1748s # Converting '𐖯' => '𐖈' (line 2871) 1748s # Converting '𐖰' => '𐖉' (line 2872) 1748s # Converting '𐖱' => '𐖊' (line 2873) 1748s # Converting '𐖳' => '𐖌' (line 2874) 1748s # Converting '𐖴' => '𐖍' (line 2875) 1748s # Converting '𐖵' => '𐖎' (line 2876) 1748s # Converting '𐖶' => '𐖏' (line 2877) 1748s # Converting '𐖷' => '𐖐' (line 2878) 1748s # Converting '𐖸' => '𐖑' (line 2879) 1748s # Converting '𐖹' => '𐖒' (line 2880) 1748s # Converting '𐖻' => '𐖔' (line 2881) 1748s # Converting '𐖼' => '𐖕' (line 2882) 1748s # Converting '𐲀' => '𐲀' (line 2883) 1748s # Converting '𐲁' => '𐲁' (line 2884) 1748s # Converting '𐲂' => '𐲂' (line 2885) 1748s # Converting '𐲃' => '𐲃' (line 2886) 1748s # Converting '𐲄' => '𐲄' (line 2887) 1748s # Converting '𐲅' => '𐲅' (line 2888) 1748s # Converting '𐲆' => '𐲆' (line 2889) 1748s # Converting '𐲇' => '𐲇' (line 2890) 1748s # Converting '𐲈' => '𐲈' (line 2891) 1748s # Converting '𐲉' => '𐲉' (line 2892) 1748s # Converting '𐲊' => '𐲊' (line 2893) 1748s # Converting '𐲋' => '𐲋' (line 2894) 1748s # Converting '𐲌' => '𐲌' (line 2895) 1748s # Converting '𐲍' => '𐲍' (line 2896) 1748s # Converting '𐲎' => '𐲎' (line 2897) 1748s # Converting '𐲏' => '𐲏' (line 2898) 1748s # Converting '𐲐' => '𐲐' (line 2899) 1748s # Converting '𐲑' => '𐲑' (line 2900) 1748s # Converting '𐲒' => '𐲒' (line 2901) 1748s # Converting '𐲓' => '𐲓' (line 2902) 1748s # Converting '𐲔' => '𐲔' (line 2903) 1748s # Converting '𐲕' => '𐲕' (line 2904) 1748s # Converting '𐲖' => '𐲖' (line 2905) 1748s # Converting '𐲗' => '𐲗' (line 2906) 1748s # Converting '𐲘' => '𐲘' (line 2907) 1748s # Converting '𐲙' => '𐲙' (line 2908) 1748s # Converting '𐲚' => '𐲚' (line 2909) 1748s # Converting '𐲛' => '𐲛' (line 2910) 1748s # Converting '𐲜' => '𐲜' (line 2911) 1748s # Converting '𐲝' => '𐲝' (line 2912) 1748s # Converting '𐲞' => '𐲞' (line 2913) 1748s # Converting '𐲟' => '𐲟' (line 2914) 1748s # Converting '𐲠' => '𐲠' (line 2915) 1748s # Converting '𐲡' => '𐲡' (line 2916) 1748s # Converting '𐲢' => '𐲢' (line 2917) 1748s # Converting '𐲣' => '𐲣' (line 2918) 1748s # Converting '𐲤' => '𐲤' (line 2919) 1748s # Converting '𐲥' => '𐲥' (line 2920) 1748s # Converting '𐲦' => '𐲦' (line 2921) 1748s # Converting '𐲧' => '𐲧' (line 2922) 1748s # Converting '𐲨' => '𐲨' (line 2923) 1748s # Converting '𐲩' => '𐲩' (line 2924) 1748s # Converting '𐲪' => '𐲪' (line 2925) 1748s # Converting '𐲫' => '𐲫' (line 2926) 1748s # Converting '𐲬' => '𐲬' (line 2927) 1748s # Converting '𐲭' => '𐲭' (line 2928) 1748s # Converting '𐲮' => '𐲮' (line 2929) 1748s # Converting '𐲯' => '𐲯' (line 2930) 1748s # Converting '𐲰' => '𐲰' (line 2931) 1748s # Converting '𐲱' => '𐲱' (line 2932) 1748s # Converting '𐲲' => '𐲲' (line 2933) 1748s # Converting '𐳀' => '𐲀' (line 2934) 1748s # Converting '𐳁' => '𐲁' (line 2935) 1748s # Converting '𐳂' => '𐲂' (line 2936) 1748s # Converting '𐳃' => '𐲃' (line 2937) 1748s # Converting '𐳄' => '𐲄' (line 2938) 1748s # Converting '𐳅' => '𐲅' (line 2939) 1748s # Converting '𐳆' => '𐲆' (line 2940) 1748s # Converting '𐳇' => '𐲇' (line 2941) 1748s # Converting '𐳈' => '𐲈' (line 2942) 1748s # Converting '𐳉' => '𐲉' (line 2943) 1748s # Converting '𐳊' => '𐲊' (line 2944) 1748s # Converting '𐳋' => '𐲋' (line 2945) 1748s # Converting '𐳌' => '𐲌' (line 2946) 1748s # Converting '𐳍' => '𐲍' (line 2947) 1748s # Converting '𐳎' => '𐲎' (line 2948) 1748s # Converting '𐳏' => '𐲏' (line 2949) 1748s # Converting '𐳐' => '𐲐' (line 2950) 1748s # Converting '𐳑' => '𐲑' (line 2951) 1748s # Converting '𐳒' => '𐲒' (line 2952) 1748s # Converting '𐳓' => '𐲓' (line 2953) 1748s # Converting '𐳔' => '𐲔' (line 2954) 1748s # Converting '𐳕' => '𐲕' (line 2955) 1748s # Converting '𐳖' => '𐲖' (line 2956) 1748s # Converting '𐳗' => '𐲗' (line 2957) 1748s # Converting '𐳘' => '𐲘' (line 2958) 1748s # Converting '𐳙' => '𐲙' (line 2959) 1748s # Converting '𐳚' => '𐲚' (line 2960) 1748s # Converting '𐳛' => '𐲛' (line 2961) 1748s # Converting '𐳜' => '𐲜' (line 2962) 1748s # Converting '𐳝' => '𐲝' (line 2963) 1748s # Converting '𐳞' => '𐲞' (line 2964) 1748s # Converting '𐳟' => '𐲟' (line 2965) 1748s # Converting '𐳠' => '𐲠' (line 2966) 1748s # Converting '𐳡' => '𐲡' (line 2967) 1748s # Converting '𐳢' => '𐲢' (line 2968) 1748s # Converting '𐳣' => '𐲣' (line 2969) 1748s # Converting '𐳤' => '𐲤' (line 2970) 1748s # Converting '𐳥' => '𐲥' (line 2971) 1748s # Converting '𐳦' => '𐲦' (line 2972) 1748s # Converting '𐳧' => '𐲧' (line 2973) 1748s # Converting '𐳨' => '𐲨' (line 2974) 1748s # Converting '𐳩' => '𐲩' (line 2975) 1748s # Converting '𐳪' => '𐲪' (line 2976) 1748s # Converting '𐳫' => '𐲫' (line 2977) 1748s # Converting '𐳬' => '𐲬' (line 2978) 1748s # Converting '𐳭' => '𐲭' (line 2979) 1748s # Converting '𐳮' => '𐲮' (line 2980) 1748s # Converting '𐳯' => '𐲯' (line 2981) 1748s # Converting '𐳰' => '𐲰' (line 2982) 1748s # Converting '𐳱' => '𐲱' (line 2983) 1748s # Converting '𐳲' => '𐲲' (line 2984) 1748s # Converting '𐵐' => '𐵐' (line 2985) 1748s # Converting '𐵑' => '𐵑' (line 2986) 1748s # Converting '𐵒' => '𐵒' (line 2987) 1748s # Converting '𐵓' => '𐵓' (line 2988) 1748s # Converting '𐵔' => '𐵔' (line 2989) 1748s # Converting '𐵕' => '𐵕' (line 2990) 1748s # Converting '𐵖' => '𐵖' (line 2991) 1748s # Converting '𐵗' => '𐵗' (line 2992) 1748s # Converting '𐵘' => '𐵘' (line 2993) 1748s # Converting '𐵙' => '𐵙' (line 2994) 1748s # Converting '𐵚' => '𐵚' (line 2995) 1748s # Converting '𐵛' => '𐵛' (line 2996) 1748s # Converting '𐵜' => '𐵜' (line 2997) 1748s # Converting '𐵝' => '𐵝' (line 2998) 1748s # Converting '𐵞' => '𐵞' (line 2999) 1748s # Converting '𐵟' => '𐵟' (line 3000) 1748s # Converting '𐵠' => '𐵠' (line 3001) 1748s # Converting '𐵡' => '𐵡' (line 3002) 1748s # Converting '𐵢' => '𐵢' (line 3003) 1748s # Converting '𐵣' => '𐵣' (line 3004) 1748s # Converting '𐵤' => '𐵤' (line 3005) 1748s # Converting '𐵥' => '𐵥' (line 3006) 1748s # Converting '𐵰' => '𐵐' (line 3007) 1748s # Converting '𐵱' => '𐵑' (line 3008) 1748s # Converting '𐵲' => '𐵒' (line 3009) 1748s # Converting '𐵳' => '𐵓' (line 3010) 1748s # Converting '𐵴' => '𐵔' (line 3011) 1748s # Converting '𐵵' => '𐵕' (line 3012) 1748s # Converting '𐵶' => '𐵖' (line 3013) 1748s # Converting '𐵷' => '𐵗' (line 3014) 1748s # Converting '𐵸' => '𐵘' (line 3015) 1748s # Converting '𐵹' => '𐵙' (line 3016) 1748s # Converting '𐵺' => '𐵚' (line 3017) 1748s # Converting '𐵻' => '𐵛' (line 3018) 1748s # Converting '𐵼' => '𐵜' (line 3019) 1748s # Converting '𐵽' => '𐵝' (line 3020) 1748s # Converting '𐵾' => '𐵞' (line 3021) 1748s # Converting '𐵿' => '𐵟' (line 3022) 1748s # Converting '𐶀' => '𐵠' (line 3023) 1748s # Converting '𐶁' => '𐵡' (line 3024) 1748s # Converting '𐶂' => '𐵢' (line 3025) 1748s # Converting '𐶃' => '𐵣' (line 3026) 1748s # Converting '𐶄' => '𐵤' (line 3027) 1748s # Converting '𐶅' => '𐵥' (line 3028) 1748s # Converting '𑢠' => '𑢠' (line 3029) 1748s # Converting '𑢡' => '𑢡' (line 3030) 1748s # Converting '𑢢' => '𑢢' (line 3031) 1748s # Converting '𑢣' => '𑢣' (line 3032) 1748s # Converting '𑢤' => '𑢤' (line 3033) 1748s # Converting '𑢥' => '𑢥' (line 3034) 1748s # Converting '𑢦' => '𑢦' (line 3035) 1748s # Converting '𑢧' => '𑢧' (line 3036) 1748s # Converting '𑢨' => '𑢨' (line 3037) 1748s # Converting '𑢩' => '𑢩' (line 3038) 1748s # Converting '𑢪' => '𑢪' (line 3039) 1748s # Converting '𑢫' => '𑢫' (line 3040) 1748s # Converting '𑢬' => '𑢬' (line 3041) 1748s # Converting '𑢭' => '𑢭' (line 3042) 1748s # Converting '𑢮' => '𑢮' (line 3043) 1748s # Converting '𑢯' => '𑢯' (line 3044) 1748s # Converting '𑢰' => '𑢰' (line 3045) 1748s # Converting '𑢱' => '𑢱' (line 3046) 1748s # Converting '𑢲' => '𑢲' (line 3047) 1748s # Converting '𑢳' => '𑢳' (line 3048) 1748s # Converting '𑢴' => '𑢴' (line 3049) 1748s # Converting '𑢵' => '𑢵' (line 3050) 1748s # Converting '𑢶' => '𑢶' (line 3051) 1748s # Converting '𑢷' => '𑢷' (line 3052) 1748s # Converting '𑢸' => '𑢸' (line 3053) 1748s # Converting '𑢹' => '𑢹' (line 3054) 1748s # Converting '𑢺' => '𑢺' (line 3055) 1748s # Converting '𑢻' => '𑢻' (line 3056) 1748s # Converting '𑢼' => '𑢼' (line 3057) 1748s # Converting '𑢽' => '𑢽' (line 3058) 1748s # Converting '𑢾' => '𑢾' (line 3059) 1748s # Converting '𑢿' => '𑢿' (line 3060) 1748s # Converting '𑣀' => '𑢠' (line 3061) 1748s # Converting '𑣁' => '𑢡' (line 3062) 1748s # Converting '𑣂' => '𑢢' (line 3063) 1748s # Converting '𑣃' => '𑢣' (line 3064) 1748s # Converting '𑣄' => '𑢤' (line 3065) 1748s # Converting '𑣅' => '𑢥' (line 3066) 1748s # Converting '𑣆' => '𑢦' (line 3067) 1748s # Converting '𑣇' => '𑢧' (line 3068) 1748s # Converting '𑣈' => '𑢨' (line 3069) 1748s # Converting '𑣉' => '𑢩' (line 3070) 1748s # Converting '𑣊' => '𑢪' (line 3071) 1748s # Converting '𑣋' => '𑢫' (line 3072) 1748s # Converting '𑣌' => '𑢬' (line 3073) 1748s # Converting '𑣍' => '𑢭' (line 3074) 1748s # Converting '𑣎' => '𑢮' (line 3075) 1748s # Converting '𑣏' => '𑢯' (line 3076) 1748s # Converting '𑣐' => '𑢰' (line 3077) 1748s # Converting '𑣑' => '𑢱' (line 3078) 1748s # Converting '𑣒' => '𑢲' (line 3079) 1748s # Converting '𑣓' => '𑢳' (line 3080) 1748s # Converting '𑣔' => '𑢴' (line 3081) 1748s # Converting '𑣕' => '𑢵' (line 3082) 1748s # Converting '𑣖' => '𑢶' (line 3083) 1748s # Converting '𑣗' => '𑢷' (line 3084) 1748s # Converting '𑣘' => '𑢸' (line 3085) 1748s # Converting '𑣙' => '𑢹' (line 3086) 1748s # Converting '𑣚' => '𑢺' (line 3087) 1748s # Converting '𑣛' => '𑢻' (line 3088) 1748s # Converting '𑣜' => '𑢼' (line 3089) 1748s # Converting '𑣝' => '𑢽' (line 3090) 1748s # Converting '𑣞' => '𑢾' (line 3091) 1748s # Converting '𑣟' => '𑢿' (line 3092) 1748s # Converting '𖹀' => '𖹀' (line 3093) 1748s # Converting '𖹁' => '𖹁' (line 3094) 1748s # Converting '𖹂' => '𖹂' (line 3095) 1748s # Converting '𖹃' => '𖹃' (line 3096) 1748s # Converting '𖹄' => '𖹄' (line 3097) 1748s # Converting '𖹅' => '𖹅' (line 3098) 1748s # Converting '𖹆' => '𖹆' (line 3099) 1748s # Converting '𖹇' => '𖹇' (line 3100) 1748s # Converting '𖹈' => '𖹈' (line 3101) 1748s # Converting '𖹉' => '𖹉' (line 3102) 1748s # Converting '𖹊' => '𖹊' (line 3103) 1748s # Converting '𖹋' => '𖹋' (line 3104) 1748s # Converting '𖹌' => '𖹌' (line 3105) 1748s # Converting '𖹍' => '𖹍' (line 3106) 1748s # Converting '𖹎' => '𖹎' (line 3107) 1748s # Converting '𖹏' => '𖹏' (line 3108) 1748s # Converting '𖹐' => '𖹐' (line 3109) 1748s # Converting '𖹑' => '𖹑' (line 3110) 1748s # Converting '𖹒' => '𖹒' (line 3111) 1748s # Converting '𖹓' => '𖹓' (line 3112) 1748s # Converting '𖹔' => '𖹔' (line 3113) 1748s # Converting '𖹕' => '𖹕' (line 3114) 1748s # Converting '𖹖' => '𖹖' (line 3115) 1748s # Converting '𖹗' => '𖹗' (line 3116) 1748s # Converting '𖹘' => '𖹘' (line 3117) 1748s # Converting '𖹙' => '𖹙' (line 3118) 1748s # Converting '𖹚' => '𖹚' (line 3119) 1748s # Converting '𖹛' => '𖹛' (line 3120) 1748s # Converting '𖹜' => '𖹜' (line 3121) 1748s # Converting '𖹝' => '𖹝' (line 3122) 1748s # Converting '𖹞' => '𖹞' (line 3123) 1748s # Converting '𖹟' => '𖹟' (line 3124) 1748s # Converting '𖹠' => '𖹀' (line 3125) 1748s # Converting '𖹡' => '𖹁' (line 3126) 1748s # Converting '𖹢' => '𖹂' (line 3127) 1748s # Converting '𖹣' => '𖹃' (line 3128) 1748s # Converting '𖹤' => '𖹄' (line 3129) 1748s # Converting '𖹥' => '𖹅' (line 3130) 1748s # Converting '𖹦' => '𖹆' (line 3131) 1748s # Converting '𖹧' => '𖹇' (line 3132) 1748s # Converting '𖹨' => '𖹈' (line 3133) 1748s # Converting '𖹩' => '𖹉' (line 3134) 1748s # Converting '𖹪' => '𖹊' (line 3135) 1748s # Converting '𖹫' => '𖹋' (line 3136) 1748s # Converting '𖹬' => '𖹌' (line 3137) 1748s # Converting '𖹭' => '𖹍' (line 3138) 1748s # Converting '𖹮' => '𖹎' (line 3139) 1748s # Converting '𖹯' => '𖹏' (line 3140) 1748s # Converting '𖹰' => '𖹐' (line 3141) 1748s # Converting '𖹱' => '𖹑' (line 3142) 1748s # Converting '𖹲' => '𖹒' (line 3143) 1748s # Converting '𖹳' => '𖹓' (line 3144) 1748s # Converting '𖹴' => '𖹔' (line 3145) 1748s # Converting '𖹵' => '𖹕' (line 3146) 1748s # Converting '𖹶' => '𖹖' (line 3147) 1748s # Converting '𖹷' => '𖹗' (line 3148) 1748s # Converting '𖹸' => '𖹘' (line 3149) 1748s # Converting '𖹹' => '𖹙' (line 3150) 1748s # Converting '𖹺' => '𖹚' (line 3151) 1748s # Converting '𖹻' => '𖹛' (line 3152) 1748s # Converting '𖹼' => '𖹜' (line 3153) 1748s # Converting '𖹽' => '𖹝' (line 3154) 1748s # Converting '𖹾' => '𖹞' (line 3155) 1748s # Converting '𖹿' => '𖹟' (line 3156) 1748s # Converting '𖺠' => '𖺠' (line 3157) 1748s # Converting '𖺡' => '𖺡' (line 3158) 1748s # Converting '𖺢' => '𖺢' (line 3159) 1748s # Converting '𖺣' => '𖺣' (line 3160) 1748s # Converting '𖺤' => '𖺤' (line 3161) 1748s # Converting '𖺥' => '𖺥' (line 3162) 1748s # Converting '𖺦' => '𖺦' (line 3163) 1748s # Converting '𖺧' => '𖺧' (line 3164) 1748s # Converting '𖺨' => '𖺨' (line 3165) 1748s # Converting '𖺩' => '𖺩' (line 3166) 1748s # Converting '𖺪' => '𖺪' (line 3167) 1748s # Converting '𖺫' => '𖺫' (line 3168) 1748s # Converting '𖺬' => '𖺬' (line 3169) 1748s # Converting '𖺭' => '𖺭' (line 3170) 1748s # Converting '𖺮' => '𖺮' (line 3171) 1748s # Converting '𖺯' => '𖺯' (line 3172) 1748s # Converting '𖺰' => '𖺰' (line 3173) 1748s # Converting '𖺱' => '𖺱' (line 3174) 1748s # Converting '𖺲' => '𖺲' (line 3175) 1748s # Converting '𖺳' => '𖺳' (line 3176) 1748s # Converting '𖺴' => '𖺴' (line 3177) 1748s # Converting '𖺵' => '𖺵' (line 3178) 1748s # Converting '𖺶' => '𖺶' (line 3179) 1748s # Converting '𖺷' => '𖺷' (line 3180) 1748s # Converting '𖺸' => '𖺸' (line 3181) 1748s # Converting '𖺻' => '𖺠' (line 3182) 1748s # Converting '𖺼' => '𖺡' (line 3183) 1748s # Converting '𖺽' => '𖺢' (line 3184) 1748s # Converting '𖺾' => '𖺣' (line 3185) 1748s # Converting '𖺿' => '𖺤' (line 3186) 1748s # Converting '𖻀' => '𖺥' (line 3187) 1748s # Converting '𖻁' => '𖺦' (line 3188) 1748s # Converting '𖻂' => '𖺧' (line 3189) 1748s # Converting '𖻃' => '𖺨' (line 3190) 1748s # Converting '𖻄' => '𖺩' (line 3191) 1748s # Converting '𖻅' => '𖺪' (line 3192) 1748s # Converting '𖻆' => '𖺫' (line 3193) 1748s # Converting '𖻇' => '𖺬' (line 3194) 1748s # Converting '𖻈' => '𖺭' (line 3195) 1748s # Converting '𖻉' => '𖺮' (line 3196) 1748s # Converting '𖻊' => '𖺯' (line 3197) 1748s # Converting '𖻋' => '𖺰' (line 3198) 1748s # Converting '𖻌' => '𖺱' (line 3199) 1748s # Converting '𖻍' => '𖺲' (line 3200) 1748s # Converting '𖻎' => '𖺳' (line 3201) 1748s # Converting '𖻏' => '𖺴' (line 3202) 1748s # Converting '𖻐' => '𖺵' (line 3203) 1748s # Converting '𖻑' => '𖺶' (line 3204) 1748s # Converting '𖻒' => '𖺷' (line 3205) 1748s # Converting '𖻓' => '𖺸' (line 3206) 1748s # Converting '𝐀' => '𝐀' (line 3207) 1748s # Converting '𝐁' => '𝐁' (line 3208) 1748s # Converting '𝐂' => '𝐂' (line 3209) 1748s # Converting '𝐃' => '𝐃' (line 3210) 1748s # Converting '𝐄' => '𝐄' (line 3211) 1748s # Converting '𝐅' => '𝐅' (line 3212) 1748s # Converting '𝐆' => '𝐆' (line 3213) 1748s # Converting '𝐇' => '𝐇' (line 3214) 1748s # Converting '𝐈' => '𝐈' (line 3215) 1748s # Converting '𝐉' => '𝐉' (line 3216) 1748s # Converting '𝐊' => '𝐊' (line 3217) 1748s # Converting '𝐋' => '𝐋' (line 3218) 1748s # Converting '𝐌' => '𝐌' (line 3219) 1748s # Converting '𝐍' => '𝐍' (line 3220) 1748s # Converting '𝐎' => '𝐎' (line 3221) 1748s # Converting '𝐏' => '𝐏' (line 3222) 1748s # Converting '𝐐' => '𝐐' (line 3223) 1748s # Converting '𝐑' => '𝐑' (line 3224) 1748s # Converting '𝐒' => '𝐒' (line 3225) 1748s # Converting '𝐓' => '𝐓' (line 3226) 1748s # Converting '𝐔' => '𝐔' (line 3227) 1748s # Converting '𝐕' => '𝐕' (line 3228) 1748s # Converting '𝐖' => '𝐖' (line 3229) 1748s # Converting '𝐗' => '𝐗' (line 3230) 1748s # Converting '𝐘' => '𝐘' (line 3231) 1748s # Converting '𝐙' => '𝐙' (line 3232) 1748s # Converting '𝐚' => '𝐚' (line 3233) 1748s # Converting '𝐛' => '𝐛' (line 3234) 1748s # Converting '𝐜' => '𝐜' (line 3235) 1748s # Converting '𝐝' => '𝐝' (line 3236) 1748s # Converting '𝐞' => '𝐞' (line 3237) 1748s # Converting '𝐟' => '𝐟' (line 3238) 1748s # Converting '𝐠' => '𝐠' (line 3239) 1748s # Converting '𝐡' => '𝐡' (line 3240) 1748s # Converting '𝐢' => '𝐢' (line 3241) 1748s # Converting '𝐣' => '𝐣' (line 3242) 1748s # Converting '𝐤' => '𝐤' (line 3243) 1748s # Converting '𝐥' => '𝐥' (line 3244) 1748s # Converting '𝐦' => '𝐦' (line 3245) 1748s # Converting '𝐧' => '𝐧' (line 3246) 1748s # Converting '𝐨' => '𝐨' (line 3247) 1748s # Converting '𝐩' => '𝐩' (line 3248) 1748s # Converting '𝐪' => '𝐪' (line 3249) 1748s # Converting '𝐫' => '𝐫' (line 3250) 1748s # Converting '𝐬' => '𝐬' (line 3251) 1748s # Converting '𝐭' => '𝐭' (line 3252) 1748s # Converting '𝐮' => '𝐮' (line 3253) 1748s # Converting '𝐯' => '𝐯' (line 3254) 1748s # Converting '𝐰' => '𝐰' (line 3255) 1748s # Converting '𝐱' => '𝐱' (line 3256) 1748s # Converting '𝐲' => '𝐲' (line 3257) 1748s # Converting '𝐳' => '𝐳' (line 3258) 1748s # Converting '𝐴' => '𝐴' (line 3259) 1748s # Converting '𝐵' => '𝐵' (line 3260) 1748s # Converting '𝐶' => '𝐶' (line 3261) 1748s # Converting '𝐷' => '𝐷' (line 3262) 1748s # Converting '𝐸' => '𝐸' (line 3263) 1748s # Converting '𝐹' => '𝐹' (line 3264) 1748s # Converting '𝐺' => '𝐺' (line 3265) 1748s # Converting '𝐻' => '𝐻' (line 3266) 1748s # Converting '𝐼' => '𝐼' (line 3267) 1748s # Converting '𝐽' => '𝐽' (line 3268) 1748s # Converting '𝐾' => '𝐾' (line 3269) 1748s # Converting '𝐿' => '𝐿' (line 3270) 1748s # Converting '𝑀' => '𝑀' (line 3271) 1748s # Converting '𝑁' => '𝑁' (line 3272) 1748s # Converting '𝑂' => '𝑂' (line 3273) 1748s # Converting '𝑃' => '𝑃' (line 3274) 1748s # Converting '𝑄' => '𝑄' (line 3275) 1748s # Converting '𝑅' => '𝑅' (line 3276) 1748s # Converting '𝑆' => '𝑆' (line 3277) 1748s # Converting '𝑇' => '𝑇' (line 3278) 1748s # Converting '𝑈' => '𝑈' (line 3279) 1748s # Converting '𝑉' => '𝑉' (line 3280) 1748s # Converting '𝑊' => '𝑊' (line 3281) 1748s # Converting '𝑋' => '𝑋' (line 3282) 1748s # Converting '𝑌' => '𝑌' (line 3283) 1748s # Converting '𝑍' => '𝑍' (line 3284) 1748s # Converting '𝑎' => '𝑎' (line 3285) 1748s # Converting '𝑏' => '𝑏' (line 3286) 1748s # Converting '𝑐' => '𝑐' (line 3287) 1748s # Converting '𝑑' => '𝑑' (line 3288) 1748s # Converting '𝑒' => '𝑒' (line 3289) 1748s # Converting '𝑓' => '𝑓' (line 3290) 1748s # Converting '𝑔' => '𝑔' (line 3291) 1748s # Converting '𝑖' => '𝑖' (line 3292) 1748s # Converting '𝑗' => '𝑗' (line 3293) 1748s # Converting '𝑘' => '𝑘' (line 3294) 1748s # Converting '𝑙' => '𝑙' (line 3295) 1748s # Converting '𝑚' => '𝑚' (line 3296) 1748s # Converting '𝑛' => '𝑛' (line 3297) 1748s # Converting '𝑜' => '𝑜' (line 3298) 1748s # Converting '𝑝' => '𝑝' (line 3299) 1748s # Converting '𝑞' => '𝑞' (line 3300) 1748s # Converting '𝑟' => '𝑟' (line 3301) 1748s # Converting '𝑠' => '𝑠' (line 3302) 1748s # Converting '𝑡' => '𝑡' (line 3303) 1748s # Converting '𝑢' => '𝑢' (line 3304) 1748s # Converting '𝑣' => '𝑣' (line 3305) 1748s # Converting '𝑤' => '𝑤' (line 3306) 1748s # Converting '𝑥' => '𝑥' (line 3307) 1748s # Converting '𝑦' => '𝑦' (line 3308) 1748s # Converting '𝑧' => '𝑧' (line 3309) 1748s # Converting '𝑨' => '𝑨' (line 3310) 1748s # Converting '𝑩' => '𝑩' (line 3311) 1748s # Converting '𝑪' => '𝑪' (line 3312) 1748s # Converting '𝑫' => '𝑫' (line 3313) 1748s # Converting '𝑬' => '𝑬' (line 3314) 1748s # Converting '𝑭' => '𝑭' (line 3315) 1748s # Converting '𝑮' => '𝑮' (line 3316) 1748s # Converting '𝑯' => '𝑯' (line 3317) 1748s # Converting '𝑰' => '𝑰' (line 3318) 1748s # Converting '𝑱' => '𝑱' (line 3319) 1748s # Converting '𝑲' => '𝑲' (line 3320) 1748s # Converting '𝑳' => '𝑳' (line 3321) 1748s # Converting '𝑴' => '𝑴' (line 3322) 1748s # Converting '𝑵' => '𝑵' (line 3323) 1748s # Converting '𝑶' => '𝑶' (line 3324) 1748s # Converting '𝑷' => '𝑷' (line 3325) 1748s # Converting '𝑸' => '𝑸' (line 3326) 1748s # Converting '𝑹' => '𝑹' (line 3327) 1748s # Converting '𝑺' => '𝑺' (line 3328) 1748s # Converting '𝑻' => '𝑻' (line 3329) 1748s # Converting '𝑼' => '𝑼' (line 3330) 1748s # Converting '𝑽' => '𝑽' (line 3331) 1748s # Converting '𝑾' => '𝑾' (line 3332) 1748s # Converting '𝑿' => '𝑿' (line 3333) 1748s # Converting '𝒀' => '𝒀' (line 3334) 1748s # Converting '𝒁' => '𝒁' (line 3335) 1748s # Converting '𝒂' => '𝒂' (line 3336) 1748s # Converting '𝒃' => '𝒃' (line 3337) 1748s # Converting '𝒄' => '𝒄' (line 3338) 1748s # Converting '𝒅' => '𝒅' (line 3339) 1748s # Converting '𝒆' => '𝒆' (line 3340) 1748s # Converting '𝒇' => '𝒇' (line 3341) 1748s # Converting '𝒈' => '𝒈' (line 3342) 1748s # Converting '𝒉' => '𝒉' (line 3343) 1748s # Converting '𝒊' => '𝒊' (line 3344) 1748s # Converting '𝒋' => '𝒋' (line 3345) 1748s # Converting '𝒌' => '𝒌' (line 3346) 1748s # Converting '𝒍' => '𝒍' (line 3347) 1748s # Converting '𝒎' => '𝒎' (line 3348) 1748s # Converting '𝒏' => '𝒏' (line 3349) 1748s # Converting '𝒐' => '𝒐' (line 3350) 1748s # Converting '𝒑' => '𝒑' (line 3351) 1748s # Converting '𝒒' => '𝒒' (line 3352) 1748s # Converting '𝒓' => '𝒓' (line 3353) 1748s # Converting '𝒔' => '𝒔' (line 3354) 1748s # Converting '𝒕' => '𝒕' (line 3355) 1748s # Converting '𝒖' => '𝒖' (line 3356) 1748s # Converting '𝒗' => '𝒗' (line 3357) 1748s # Converting '𝒘' => '𝒘' (line 3358) 1748s # Converting '𝒙' => '𝒙' (line 3359) 1748s # Converting '𝒚' => '𝒚' (line 3360) 1748s # Converting '𝒛' => '𝒛' (line 3361) 1748s # Converting '𝒜' => '𝒜' (line 3362) 1748s # Converting '𝒞' => '𝒞' (line 3363) 1748s # Converting '𝒟' => '𝒟' (line 3364) 1748s # Converting '𝒢' => '𝒢' (line 3365) 1748s # Converting '𝒥' => '𝒥' (line 3366) 1748s # Converting '𝒦' => '𝒦' (line 3367) 1748s # Converting '𝒩' => '𝒩' (line 3368) 1748s # Converting '𝒪' => '𝒪' (line 3369) 1748s # Converting '𝒫' => '𝒫' (line 3370) 1748s # Converting '𝒬' => '𝒬' (line 3371) 1748s # Converting '𝒮' => '𝒮' (line 3372) 1748s # Converting '𝒯' => '𝒯' (line 3373) 1748s # Converting '𝒰' => '𝒰' (line 3374) 1748s # Converting '𝒱' => '𝒱' (line 3375) 1748s # Converting '𝒲' => '𝒲' (line 3376) 1748s # Converting '𝒳' => '𝒳' (line 3377) 1748s # Converting '𝒴' => '𝒴' (line 3378) 1748s # Converting '𝒵' => '𝒵' (line 3379) 1748s # Converting '𝒶' => '𝒶' (line 3380) 1748s # Converting '𝒷' => '𝒷' (line 3381) 1748s # Converting '𝒸' => '𝒸' (line 3382) 1748s # Converting '𝒹' => '𝒹' (line 3383) 1748s # Converting '𝒻' => '𝒻' (line 3384) 1748s # Converting '𝒽' => '𝒽' (line 3385) 1748s # Converting '𝒾' => '𝒾' (line 3386) 1748s # Converting '𝒿' => '𝒿' (line 3387) 1748s # Converting '𝓀' => '𝓀' (line 3388) 1748s # Converting '𝓁' => '𝓁' (line 3389) 1748s # Converting '𝓂' => '𝓂' (line 3390) 1748s # Converting '𝓃' => '𝓃' (line 3391) 1748s # Converting '𝓅' => '𝓅' (line 3392) 1748s # Converting '𝓆' => '𝓆' (line 3393) 1748s # Converting '𝓇' => '𝓇' (line 3394) 1748s # Converting '𝓈' => '𝓈' (line 3395) 1748s # Converting '𝓉' => '𝓉' (line 3396) 1748s # Converting '𝓊' => '𝓊' (line 3397) 1748s # Converting '𝓋' => '𝓋' (line 3398) 1748s # Converting '𝓌' => '𝓌' (line 3399) 1748s # Converting '𝓍' => '𝓍' (line 3400) 1748s # Converting '𝓎' => '𝓎' (line 3401) 1748s # Converting '𝓏' => '𝓏' (line 3402) 1748s # Converting '𝓐' => '𝓐' (line 3403) 1748s # Converting '𝓑' => '𝓑' (line 3404) 1748s # Converting '𝓒' => '𝓒' (line 3405) 1748s # Converting '𝓓' => '𝓓' (line 3406) 1748s # Converting '𝓔' => '𝓔' (line 3407) 1748s # Converting '𝓕' => '𝓕' (line 3408) 1748s # Converting '𝓖' => '𝓖' (line 3409) 1748s # Converting '𝓗' => '𝓗' (line 3410) 1748s # Converting '𝓘' => '𝓘' (line 3411) 1748s # Converting '𝓙' => '𝓙' (line 3412) 1748s # Converting '𝓚' => '𝓚' (line 3413) 1748s # Converting '𝓛' => '𝓛' (line 3414) 1748s # Converting '𝓜' => '𝓜' (line 3415) 1748s # Converting '𝓝' => '𝓝' (line 3416) 1748s # Converting '𝓞' => '𝓞' (line 3417) 1748s # Converting '𝓟' => '𝓟' (line 3418) 1748s # Converting '𝓠' => '𝓠' (line 3419) 1748s # Converting '𝓡' => '𝓡' (line 3420) 1748s # Converting '𝓢' => '𝓢' (line 3421) 1748s # Converting '𝓣' => '𝓣' (line 3422) 1748s # Converting '𝓤' => '𝓤' (line 3423) 1748s # Converting '𝓥' => '𝓥' (line 3424) 1748s # Converting '𝓦' => '𝓦' (line 3425) 1748s # Converting '𝓧' => '𝓧' (line 3426) 1748s # Converting '𝓨' => '𝓨' (line 3427) 1748s # Converting '𝓩' => '𝓩' (line 3428) 1748s # Converting '𝓪' => '𝓪' (line 3429) 1748s # Converting '𝓫' => '𝓫' (line 3430) 1748s # Converting '𝓬' => '𝓬' (line 3431) 1748s # Converting '𝓭' => '𝓭' (line 3432) 1748s # Converting '𝓮' => '𝓮' (line 3433) 1748s # Converting '𝓯' => '𝓯' (line 3434) 1748s # Converting '𝓰' => '𝓰' (line 3435) 1748s # Converting '𝓱' => '𝓱' (line 3436) 1748s # Converting '𝓲' => '𝓲' (line 3437) 1748s # Converting '𝓳' => '𝓳' (line 3438) 1748s # Converting '𝓴' => '𝓴' (line 3439) 1748s # Converting '𝓵' => '𝓵' (line 3440) 1748s # Converting '𝓶' => '𝓶' (line 3441) 1748s # Converting '𝓷' => '𝓷' (line 3442) 1748s # Converting '𝓸' => '𝓸' (line 3443) 1748s # Converting '𝓹' => '𝓹' (line 3444) 1748s # Converting '𝓺' => '𝓺' (line 3445) 1748s # Converting '𝓻' => '𝓻' (line 3446) 1748s # Converting '𝓼' => '𝓼' (line 3447) 1748s # Converting '𝓽' => '𝓽' (line 3448) 1748s # Converting '𝓾' => '𝓾' (line 3449) 1748s # Converting '𝓿' => '𝓿' (line 3450) 1748s # Converting '𝔀' => '𝔀' (line 3451) 1748s # Converting '𝔁' => '𝔁' (line 3452) 1748s # Converting '𝔂' => '𝔂' (line 3453) 1748s # Converting '𝔃' => '𝔃' (line 3454) 1748s # Converting '𝔄' => '𝔄' (line 3455) 1748s # Converting '𝔅' => '𝔅' (line 3456) 1748s # Converting '𝔇' => '𝔇' (line 3457) 1748s # Converting '𝔈' => '𝔈' (line 3458) 1748s # Converting '𝔉' => '𝔉' (line 3459) 1748s # Converting '𝔊' => '𝔊' (line 3460) 1748s # Converting '𝔍' => '𝔍' (line 3461) 1748s # Converting '𝔎' => '𝔎' (line 3462) 1748s # Converting '𝔏' => '𝔏' (line 3463) 1748s # Converting '𝔐' => '𝔐' (line 3464) 1748s # Converting '𝔑' => '𝔑' (line 3465) 1748s # Converting '𝔒' => '𝔒' (line 3466) 1748s # Converting '𝔓' => '𝔓' (line 3467) 1748s # Converting '𝔔' => '𝔔' (line 3468) 1748s # Converting '𝔖' => '𝔖' (line 3469) 1748s # Converting '𝔗' => '𝔗' (line 3470) 1748s # Converting '𝔘' => '𝔘' (line 3471) 1748s # Converting '𝔙' => '𝔙' (line 3472) 1748s # Converting '𝔚' => '𝔚' (line 3473) 1748s # Converting '𝔛' => '𝔛' (line 3474) 1748s # Converting '𝔜' => '𝔜' (line 3475) 1748s # Converting '𝔞' => '𝔞' (line 3476) 1748s # Converting '𝔟' => '𝔟' (line 3477) 1748s # Converting '𝔠' => '𝔠' (line 3478) 1748s # Converting '𝔡' => '𝔡' (line 3479) 1748s # Converting '𝔢' => '𝔢' (line 3480) 1748s # Converting '𝔣' => '𝔣' (line 3481) 1748s # Converting '𝔤' => '𝔤' (line 3482) 1748s # Converting '𝔥' => '𝔥' (line 3483) 1748s # Converting '𝔦' => '𝔦' (line 3484) 1748s # Converting '𝔧' => '𝔧' (line 3485) 1748s # Converting '𝔨' => '𝔨' (line 3486) 1748s # Converting '𝔩' => '𝔩' (line 3487) 1748s # Converting '𝔪' => '𝔪' (line 3488) 1748s # Converting '𝔫' => '𝔫' (line 3489) 1748s # Converting '𝔬' => '𝔬' (line 3490) 1748s # Converting '𝔭' => '𝔭' (line 3491) 1748s # Converting '𝔮' => '𝔮' (line 3492) 1748s # Converting '𝔯' => '𝔯' (line 3493) 1748s # Converting '𝔰' => '𝔰' (line 3494) 1748s # Converting '𝔱' => '𝔱' (line 3495) 1748s # Converting '𝔲' => '𝔲' (line 3496) 1748s # Converting '𝔳' => '𝔳' (line 3497) 1748s # Converting '𝔴' => '𝔴' (line 3498) 1748s # Converting '𝔵' => '𝔵' (line 3499) 1748s # Converting '𝔶' => '𝔶' (line 3500) 1748s # Converting '𝔷' => '𝔷' (line 3501) 1748s # Converting '𝔸' => '𝔸' (line 3502) 1748s # Converting '𝔹' => '𝔹' (line 3503) 1748s # Converting '𝔻' => '𝔻' (line 3504) 1748s # Converting '𝔼' => '𝔼' (line 3505) 1748s # Converting '𝔽' => '𝔽' (line 3506) 1748s # Converting '𝔾' => '𝔾' (line 3507) 1748s # Converting '𝕀' => '𝕀' (line 3508) 1748s # Converting '𝕁' => '𝕁' (line 3509) 1748s # Converting '𝕂' => '𝕂' (line 3510) 1748s # Converting '𝕃' => '𝕃' (line 3511) 1748s # Converting '𝕄' => '𝕄' (line 3512) 1748s # Converting '𝕆' => '𝕆' (line 3513) 1748s # Converting '𝕊' => '𝕊' (line 3514) 1748s # Converting '𝕋' => '𝕋' (line 3515) 1748s # Converting '𝕌' => '𝕌' (line 3516) 1748s # Converting '𝕍' => '𝕍' (line 3517) 1748s # Converting '𝕎' => '𝕎' (line 3518) 1748s # Converting '𝕏' => '𝕏' (line 3519) 1748s # Converting '𝕐' => '𝕐' (line 3520) 1748s # Converting '𝕒' => '𝕒' (line 3521) 1748s # Converting '𝕓' => '𝕓' (line 3522) 1748s # Converting '𝕔' => '𝕔' (line 3523) 1748s # Converting '𝕕' => '𝕕' (line 3524) 1748s # Converting '𝕖' => '𝕖' (line 3525) 1748s # Converting '𝕗' => '𝕗' (line 3526) 1748s # Converting '𝕘' => '𝕘' (line 3527) 1748s # Converting '𝕙' => '𝕙' (line 3528) 1748s # Converting '𝕚' => '𝕚' (line 3529) 1748s # Converting '𝕛' => '𝕛' (line 3530) 1748s # Converting '𝕜' => '𝕜' (line 3531) 1748s # Converting '𝕝' => '𝕝' (line 3532) 1748s # Converting '𝕞' => '𝕞' (line 3533) 1748s # Converting '𝕟' => '𝕟' (line 3534) 1748s # Converting '𝕠' => '𝕠' (line 3535) 1748s # Converting '𝕡' => '𝕡' (line 3536) 1748s # Converting '𝕢' => '𝕢' (line 3537) 1748s # Converting '𝕣' => '𝕣' (line 3538) 1748s # Converting '𝕤' => '𝕤' (line 3539) 1748s # Converting '𝕥' => '𝕥' (line 3540) 1748s # Converting '𝕦' => '𝕦' (line 3541) 1748s # Converting '𝕧' => '𝕧' (line 3542) 1748s # Converting '𝕨' => '𝕨' (line 3543) 1748s # Converting '𝕩' => '𝕩' (line 3544) 1748s # Converting '𝕪' => '𝕪' (line 3545) 1748s # Converting '𝕫' => '𝕫' (line 3546) 1748s # Converting '𝕬' => '𝕬' (line 3547) 1748s # Converting '𝕭' => '𝕭' (line 3548) 1748s # Converting '𝕮' => '𝕮' (line 3549) 1748s # Converting '𝕯' => '𝕯' (line 3550) 1748s # Converting '𝕰' => '𝕰' (line 3551) 1748s # Converting '𝕱' => '𝕱' (line 3552) 1748s # Converting '𝕲' => '𝕲' (line 3553) 1748s # Converting '𝕳' => '𝕳' (line 3554) 1748s # Converting '𝕴' => '𝕴' (line 3555) 1748s # Converting '𝕵' => '𝕵' (line 3556) 1748s # Converting '𝕶' => '𝕶' (line 3557) 1748s # Converting '𝕷' => '𝕷' (line 3558) 1748s # Converting '𝕸' => '𝕸' (line 3559) 1748s # Converting '𝕹' => '𝕹' (line 3560) 1748s # Converting '𝕺' => '𝕺' (line 3561) 1748s # Converting '𝕻' => '𝕻' (line 3562) 1748s # Converting '𝕼' => '𝕼' (line 3563) 1748s # Converting '𝕽' => '𝕽' (line 3564) 1748s # Converting '𝕾' => '𝕾' (line 3565) 1748s # Converting '𝕿' => '𝕿' (line 3566) 1748s # Converting '𝖀' => '𝖀' (line 3567) 1748s # Converting '𝖁' => '𝖁' (line 3568) 1748s # Converting '𝖂' => '𝖂' (line 3569) 1748s # Converting '𝖃' => '𝖃' (line 3570) 1748s # Converting '𝖄' => '𝖄' (line 3571) 1748s # Converting '𝖅' => '𝖅' (line 3572) 1748s # Converting '𝖆' => '𝖆' (line 3573) 1748s # Converting '𝖇' => '𝖇' (line 3574) 1748s # Converting '𝖈' => '𝖈' (line 3575) 1748s # Converting '𝖉' => '𝖉' (line 3576) 1748s # Converting '𝖊' => '𝖊' (line 3577) 1748s # Converting '𝖋' => '𝖋' (line 3578) 1748s # Converting '𝖌' => '𝖌' (line 3579) 1748s # Converting '𝖍' => '𝖍' (line 3580) 1748s # Converting '𝖎' => '𝖎' (line 3581) 1748s # Converting '𝖏' => '𝖏' (line 3582) 1748s # Converting '𝖐' => '𝖐' (line 3583) 1748s # Converting '𝖑' => '𝖑' (line 3584) 1748s # Converting '𝖒' => '𝖒' (line 3585) 1748s # Converting '𝖓' => '𝖓' (line 3586) 1748s # Converting '𝖔' => '𝖔' (line 3587) 1748s # Converting '𝖕' => '𝖕' (line 3588) 1748s # Converting '𝖖' => '𝖖' (line 3589) 1748s # Converting '𝖗' => '𝖗' (line 3590) 1748s # Converting '𝖘' => '𝖘' (line 3591) 1748s # Converting '𝖙' => '𝖙' (line 3592) 1748s # Converting '𝖚' => '𝖚' (line 3593) 1748s # Converting '𝖛' => '𝖛' (line 3594) 1748s # Converting '𝖜' => '𝖜' (line 3595) 1748s # Converting '𝖝' => '𝖝' (line 3596) 1748s # Converting '𝖞' => '𝖞' (line 3597) 1748s # Converting '𝖟' => '𝖟' (line 3598) 1748s # Converting '𝖠' => '𝖠' (line 3599) 1748s # Converting '𝖡' => '𝖡' (line 3600) 1748s # Converting '𝖢' => '𝖢' (line 3601) 1748s # Converting '𝖣' => '𝖣' (line 3602) 1748s # Converting '𝖤' => '𝖤' (line 3603) 1748s # Converting '𝖥' => '𝖥' (line 3604) 1748s # Converting '𝖦' => '𝖦' (line 3605) 1748s # Converting '𝖧' => '𝖧' (line 3606) 1748s # Converting '𝖨' => '𝖨' (line 3607) 1748s # Converting '𝖩' => '𝖩' (line 3608) 1748s # Converting '𝖪' => '𝖪' (line 3609) 1748s # Converting '𝖫' => '𝖫' (line 3610) 1748s # Converting '𝖬' => '𝖬' (line 3611) 1748s # Converting '𝖭' => '𝖭' (line 3612) 1748s # Converting '𝖮' => '𝖮' (line 3613) 1748s # Converting '𝖯' => '𝖯' (line 3614) 1748s # Converting '𝖰' => '𝖰' (line 3615) 1748s # Converting '𝖱' => '𝖱' (line 3616) 1748s # Converting '𝖲' => '𝖲' (line 3617) 1748s # Converting '𝖳' => '𝖳' (line 3618) 1748s # Converting '𝖴' => '𝖴' (line 3619) 1748s # Converting '𝖵' => '𝖵' (line 3620) 1748s # Converting '𝖶' => '𝖶' (line 3621) 1748s # Converting '𝖷' => '𝖷' (line 3622) 1748s # Converting '𝖸' => '𝖸' (line 3623) 1748s # Converting '𝖹' => '𝖹' (line 3624) 1748s # Converting '𝖺' => '𝖺' (line 3625) 1748s # Converting '𝖻' => '𝖻' (line 3626) 1748s # Converting '𝖼' => '𝖼' (line 3627) 1748s # Converting '𝖽' => '𝖽' (line 3628) 1748s # Converting '𝖾' => '𝖾' (line 3629) 1748s # Converting '𝖿' => '𝖿' (line 3630) 1748s # Converting '𝗀' => '𝗀' (line 3631) 1748s # Converting '𝗁' => '𝗁' (line 3632) 1748s # Converting '𝗂' => '𝗂' (line 3633) 1748s # Converting '𝗃' => '𝗃' (line 3634) 1748s # Converting '𝗄' => '𝗄' (line 3635) 1748s # Converting '𝗅' => '𝗅' (line 3636) 1748s # Converting '𝗆' => '𝗆' (line 3637) 1748s # Converting '𝗇' => '𝗇' (line 3638) 1748s # Converting '𝗈' => '𝗈' (line 3639) 1748s # Converting '𝗉' => '𝗉' (line 3640) 1748s # Converting '𝗊' => '𝗊' (line 3641) 1748s # Converting '𝗋' => '𝗋' (line 3642) 1748s # Converting '𝗌' => '𝗌' (line 3643) 1748s # Converting '𝗍' => '𝗍' (line 3644) 1748s # Converting '𝗎' => '𝗎' (line 3645) 1748s # Converting '𝗏' => '𝗏' (line 3646) 1748s # Converting '𝗐' => '𝗐' (line 3647) 1748s # Converting '𝗑' => '𝗑' (line 3648) 1748s # Converting '𝗒' => '𝗒' (line 3649) 1748s # Converting '𝗓' => '𝗓' (line 3650) 1748s # Converting '𝗔' => '𝗔' (line 3651) 1748s # Converting '𝗕' => '𝗕' (line 3652) 1748s # Converting '𝗖' => '𝗖' (line 3653) 1748s # Converting '𝗗' => '𝗗' (line 3654) 1748s # Converting '𝗘' => '𝗘' (line 3655) 1748s # Converting '𝗙' => '𝗙' (line 3656) 1748s # Converting '𝗚' => '𝗚' (line 3657) 1748s # Converting '𝗛' => '𝗛' (line 3658) 1748s # Converting '𝗜' => '𝗜' (line 3659) 1748s # Converting '𝗝' => '𝗝' (line 3660) 1748s # Converting '𝗞' => '𝗞' (line 3661) 1748s # Converting '𝗟' => '𝗟' (line 3662) 1748s # Converting '𝗠' => '𝗠' (line 3663) 1748s # Converting '𝗡' => '𝗡' (line 3664) 1748s # Converting '𝗢' => '𝗢' (line 3665) 1748s # Converting '𝗣' => '𝗣' (line 3666) 1748s # Converting '𝗤' => '𝗤' (line 3667) 1748s # Converting '𝗥' => '𝗥' (line 3668) 1748s # Converting '𝗦' => '𝗦' (line 3669) 1748s # Converting '𝗧' => '𝗧' (line 3670) 1748s # Converting '𝗨' => '𝗨' (line 3671) 1748s # Converting '𝗩' => '𝗩' (line 3672) 1748s # Converting '𝗪' => '𝗪' (line 3673) 1748s # Converting '𝗫' => '𝗫' (line 3674) 1748s # Converting '𝗬' => '𝗬' (line 3675) 1748s # Converting '𝗭' => '𝗭' (line 3676) 1748s # Converting '𝗮' => '𝗮' (line 3677) 1748s # Converting '𝗯' => '𝗯' (line 3678) 1748s # Converting '𝗰' => '𝗰' (line 3679) 1748s # Converting '𝗱' => '𝗱' (line 3680) 1748s # Converting '𝗲' => '𝗲' (line 3681) 1748s # Converting '𝗳' => '𝗳' (line 3682) 1748s # Converting '𝗴' => '𝗴' (line 3683) 1748s # Converting '𝗵' => '𝗵' (line 3684) 1748s # Converting '𝗶' => '𝗶' (line 3685) 1748s # Converting '𝗷' => '𝗷' (line 3686) 1748s # Converting '𝗸' => '𝗸' (line 3687) 1748s # Converting '𝗹' => '𝗹' (line 3688) 1748s # Converting '𝗺' => '𝗺' (line 3689) 1748s # Converting '𝗻' => '𝗻' (line 3690) 1748s # Converting '𝗼' => '𝗼' (line 3691) 1748s # Converting '𝗽' => '𝗽' (line 3692) 1748s # Converting '𝗾' => '𝗾' (line 3693) 1748s # Converting '𝗿' => '𝗿' (line 3694) 1748s # Converting '𝘀' => '𝘀' (line 3695) 1748s # Converting '𝘁' => '𝘁' (line 3696) 1748s # Converting '𝘂' => '𝘂' (line 3697) 1748s # Converting '𝘃' => '𝘃' (line 3698) 1748s # Converting '𝘄' => '𝘄' (line 3699) 1748s # Converting '𝘅' => '𝘅' (line 3700) 1748s # Converting '𝘆' => '𝘆' (line 3701) 1748s # Converting '𝘇' => '𝘇' (line 3702) 1748s # Converting '𝘈' => '𝘈' (line 3703) 1748s # Converting '𝘉' => '𝘉' (line 3704) 1748s # Converting '𝘊' => '𝘊' (line 3705) 1748s # Converting '𝘋' => '𝘋' (line 3706) 1748s # Converting '𝘌' => '𝘌' (line 3707) 1748s # Converting '𝘍' => '𝘍' (line 3708) 1748s # Converting '𝘎' => '𝘎' (line 3709) 1748s # Converting '𝘏' => '𝘏' (line 3710) 1748s # Converting '𝘐' => '𝘐' (line 3711) 1748s # Converting '𝘑' => '𝘑' (line 3712) 1748s # Converting '𝘒' => '𝘒' (line 3713) 1748s # Converting '𝘓' => '𝘓' (line 3714) 1748s # Converting '𝘔' => '𝘔' (line 3715) 1748s # Converting '𝘕' => '𝘕' (line 3716) 1748s # Converting '𝘖' => '𝘖' (line 3717) 1748s # Converting '𝘗' => '𝘗' (line 3718) 1748s # Converting '𝘘' => '𝘘' (line 3719) 1748s # Converting '𝘙' => '𝘙' (line 3720) 1748s # Converting '𝘚' => '𝘚' (line 3721) 1748s # Converting '𝘛' => '𝘛' (line 3722) 1748s # Converting '𝘜' => '𝘜' (line 3723) 1748s # Converting '𝘝' => '𝘝' (line 3724) 1748s # Converting '𝘞' => '𝘞' (line 3725) 1748s # Converting '𝘟' => '𝘟' (line 3726) 1748s # Converting '𝘠' => '𝘠' (line 3727) 1748s # Converting '𝘡' => '𝘡' (line 3728) 1748s # Converting '𝘢' => '𝘢' (line 3729) 1748s # Converting '𝘣' => '𝘣' (line 3730) 1748s # Converting '𝘤' => '𝘤' (line 3731) 1748s # Converting '𝘥' => '𝘥' (line 3732) 1748s # Converting '𝘦' => '𝘦' (line 3733) 1748s # Converting '𝘧' => '𝘧' (line 3734) 1748s # Converting '𝘨' => '𝘨' (line 3735) 1748s # Converting '𝘩' => '𝘩' (line 3736) 1748s # Converting '𝘪' => '𝘪' (line 3737) 1748s # Converting '𝘫' => '𝘫' (line 3738) 1748s # Converting '𝘬' => '𝘬' (line 3739) 1748s # Converting '𝘭' => '𝘭' (line 3740) 1748s # Converting '𝘮' => '𝘮' (line 3741) 1748s # Converting '𝘯' => '𝘯' (line 3742) 1748s # Converting '𝘰' => '𝘰' (line 3743) 1748s # Converting '𝘱' => '𝘱' (line 3744) 1748s # Converting '𝘲' => '𝘲' (line 3745) 1748s # Converting '𝘳' => '𝘳' (line 3746) 1748s # Converting '𝘴' => '𝘴' (line 3747) 1748s # Converting '𝘵' => '𝘵' (line 3748) 1748s # Converting '𝘶' => '𝘶' (line 3749) 1748s # Converting '𝘷' => '𝘷' (line 3750) 1748s # Converting '𝘸' => '𝘸' (line 3751) 1748s # Converting '𝘹' => '𝘹' (line 3752) 1748s # Converting '𝘺' => '𝘺' (line 3753) 1748s # Converting '𝘻' => '𝘻' (line 3754) 1748s # Converting '𝘼' => '𝘼' (line 3755) 1748s # Converting '𝘽' => '𝘽' (line 3756) 1748s # Converting '𝘾' => '𝘾' (line 3757) 1748s # Converting '𝘿' => '𝘿' (line 3758) 1748s # Converting '𝙀' => '𝙀' (line 3759) 1748s # Converting '𝙁' => '𝙁' (line 3760) 1748s # Converting '𝙂' => '𝙂' (line 3761) 1748s # Converting '𝙃' => '𝙃' (line 3762) 1748s # Converting '𝙄' => '𝙄' (line 3763) 1748s # Converting '𝙅' => '𝙅' (line 3764) 1748s # Converting '𝙆' => '𝙆' (line 3765) 1748s # Converting '𝙇' => '𝙇' (line 3766) 1748s # Converting '𝙈' => '𝙈' (line 3767) 1748s # Converting '𝙉' => '𝙉' (line 3768) 1748s # Converting '𝙊' => '𝙊' (line 3769) 1748s # Converting '𝙋' => '𝙋' (line 3770) 1748s # Converting '𝙌' => '𝙌' (line 3771) 1748s # Converting '𝙍' => '𝙍' (line 3772) 1748s # Converting '𝙎' => '𝙎' (line 3773) 1748s # Converting '𝙏' => '𝙏' (line 3774) 1748s # Converting '𝙐' => '𝙐' (line 3775) 1748s # Converting '𝙑' => '𝙑' (line 3776) 1748s # Converting '𝙒' => '𝙒' (line 3777) 1748s # Converting '𝙓' => '𝙓' (line 3778) 1748s # Converting '𝙔' => '𝙔' (line 3779) 1748s # Converting '𝙕' => '𝙕' (line 3780) 1748s # Converting '𝙖' => '𝙖' (line 3781) 1748s # Converting '𝙗' => '𝙗' (line 3782) 1748s # Converting '𝙘' => '𝙘' (line 3783) 1748s # Converting '𝙙' => '𝙙' (line 3784) 1748s # Converting '𝙚' => '𝙚' (line 3785) 1748s # Converting '𝙛' => '𝙛' (line 3786) 1748s # Converting '𝙜' => '𝙜' (line 3787) 1748s # Converting '𝙝' => '𝙝' (line 3788) 1748s # Converting '𝙞' => '𝙞' (line 3789) 1748s # Converting '𝙟' => '𝙟' (line 3790) 1748s # Converting '𝙠' => '𝙠' (line 3791) 1748s # Converting '𝙡' => '𝙡' (line 3792) 1748s # Converting '𝙢' => '𝙢' (line 3793) 1748s # Converting '𝙣' => '𝙣' (line 3794) 1748s # Converting '𝙤' => '𝙤' (line 3795) 1748s # Converting '𝙥' => '𝙥' (line 3796) 1748s # Converting '𝙦' => '𝙦' (line 3797) 1748s # Converting '𝙧' => '𝙧' (line 3798) 1748s # Converting '𝙨' => '𝙨' (line 3799) 1748s # Converting '𝙩' => '𝙩' (line 3800) 1748s # Converting '𝙪' => '𝙪' (line 3801) 1748s # Converting '𝙫' => '𝙫' (line 3802) 1748s # Converting '𝙬' => '𝙬' (line 3803) 1748s # Converting '𝙭' => '𝙭' (line 3804) 1748s # Converting '𝙮' => '𝙮' (line 3805) 1748s # Converting '𝙯' => '𝙯' (line 3806) 1748s # Converting '𝙰' => '𝙰' (line 3807) 1748s # Converting '𝙱' => '𝙱' (line 3808) 1748s # Converting '𝙲' => '𝙲' (line 3809) 1748s # Converting '𝙳' => '𝙳' (line 3810) 1748s # Converting '𝙴' => '𝙴' (line 3811) 1748s # Converting '𝙵' => '𝙵' (line 3812) 1748s # Converting '𝙶' => '𝙶' (line 3813) 1748s # Converting '𝙷' => '𝙷' (line 3814) 1748s # Converting '𝙸' => '𝙸' (line 3815) 1748s # Converting '𝙹' => '𝙹' (line 3816) 1748s # Converting '𝙺' => '𝙺' (line 3817) 1748s # Converting '𝙻' => '𝙻' (line 3818) 1748s # Converting '𝙼' => '𝙼' (line 3819) 1748s # Converting '𝙽' => '𝙽' (line 3820) 1748s # Converting '𝙾' => '𝙾' (line 3821) 1748s # Converting '𝙿' => '𝙿' (line 3822) 1748s # Converting '𝚀' => '𝚀' (line 3823) 1748s # Converting '𝚁' => '𝚁' (line 3824) 1748s # Converting '𝚂' => '𝚂' (line 3825) 1748s # Converting '𝚃' => '𝚃' (line 3826) 1748s # Converting '𝚄' => '𝚄' (line 3827) 1748s # Converting '𝚅' => '𝚅' (line 3828) 1748s # Converting '𝚆' => '𝚆' (line 3829) 1748s # Converting '𝚇' => '𝚇' (line 3830) 1748s # Converting '𝚈' => '𝚈' (line 3831) 1748s # Converting '𝚉' => '𝚉' (line 3832) 1748s # Converting '𝚊' => '𝚊' (line 3833) 1748s # Converting '𝚋' => '𝚋' (line 3834) 1748s # Converting '𝚌' => '𝚌' (line 3835) 1748s # Converting '𝚍' => '𝚍' (line 3836) 1748s # Converting '𝚎' => '𝚎' (line 3837) 1748s # Converting '𝚏' => '𝚏' (line 3838) 1748s # Converting '𝚐' => '𝚐' (line 3839) 1748s # Converting '𝚑' => '𝚑' (line 3840) 1748s # Converting '𝚒' => '𝚒' (line 3841) 1748s # Converting '𝚓' => '𝚓' (line 3842) 1748s # Converting '𝚔' => '𝚔' (line 3843) 1748s # Converting '𝚕' => '𝚕' (line 3844) 1748s # Converting '𝚖' => '𝚖' (line 3845) 1748s # Converting '𝚗' => '𝚗' (line 3846) 1748s # Converting '𝚘' => '𝚘' (line 3847) 1748s # Converting '𝚙' => '𝚙' (line 3848) 1748s # Converting '𝚚' => '𝚚' (line 3849) 1748s # Converting '𝚛' => '𝚛' (line 3850) 1748s # Converting '𝚜' => '𝚜' (line 3851) 1748s # Converting '𝚝' => '𝚝' (line 3852) 1748s # Converting '𝚞' => '𝚞' (line 3853) 1748s # Converting '𝚟' => '𝚟' (line 3854) 1748s # Converting '𝚠' => '𝚠' (line 3855) 1748s # Converting '𝚡' => '𝚡' (line 3856) 1748s # Converting '𝚢' => '𝚢' (line 3857) 1748s # Converting '𝚣' => '𝚣' (line 3858) 1748s # Converting '𝚤' => '𝚤' (line 3859) 1748s # Converting '𝚥' => '𝚥' (line 3860) 1748s # Converting '𝚨' => '𝚨' (line 3861) 1748s # Converting '𝚩' => '𝚩' (line 3862) 1748s # Converting '𝚪' => '𝚪' (line 3863) 1748s # Converting '𝚫' => '𝚫' (line 3864) 1748s # Converting '𝚬' => '𝚬' (line 3865) 1748s # Converting '𝚭' => '𝚭' (line 3866) 1748s # Converting '𝚮' => '𝚮' (line 3867) 1748s # Converting '𝚯' => '𝚯' (line 3868) 1748s # Converting '𝚰' => '𝚰' (line 3869) 1748s # Converting '𝚱' => '𝚱' (line 3870) 1748s # Converting '𝚲' => '𝚲' (line 3871) 1748s # Converting '𝚳' => '𝚳' (line 3872) 1748s # Converting '𝚴' => '𝚴' (line 3873) 1748s # Converting '𝚵' => '𝚵' (line 3874) 1748s # Converting '𝚶' => '𝚶' (line 3875) 1748s # Converting '𝚷' => '𝚷' (line 3876) 1748s # Converting '𝚸' => '𝚸' (line 3877) 1748s # Converting '𝚹' => '𝚹' (line 3878) 1748s # Converting '𝚺' => '𝚺' (line 3879) 1748s # Converting '𝚻' => '𝚻' (line 3880) 1748s # Converting '𝚼' => '𝚼' (line 3881) 1748s # Converting '𝚽' => '𝚽' (line 3882) 1748s # Converting '𝚾' => '𝚾' (line 3883) 1748s # Converting '𝚿' => '𝚿' (line 3884) 1748s # Converting '𝛀' => '𝛀' (line 3885) 1748s # Converting '𝛂' => '𝛂' (line 3886) 1748s # Converting '𝛃' => '𝛃' (line 3887) 1748s # Converting '𝛄' => '𝛄' (line 3888) 1748s # Converting '𝛅' => '𝛅' (line 3889) 1748s # Converting '𝛆' => '𝛆' (line 3890) 1748s # Converting '𝛇' => '𝛇' (line 3891) 1748s # Converting '𝛈' => '𝛈' (line 3892) 1748s # Converting '𝛉' => '𝛉' (line 3893) 1748s # Converting '𝛊' => '𝛊' (line 3894) 1748s # Converting '𝛋' => '𝛋' (line 3895) 1748s # Converting '𝛌' => '𝛌' (line 3896) 1748s # Converting '𝛍' => '𝛍' (line 3897) 1748s # Converting '𝛎' => '𝛎' (line 3898) 1748s # Converting '𝛏' => '𝛏' (line 3899) 1748s # Converting '𝛐' => '𝛐' (line 3900) 1748s # Converting '𝛑' => '𝛑' (line 3901) 1748s # Converting '𝛒' => '𝛒' (line 3902) 1748s # Converting '𝛓' => '𝛓' (line 3903) 1748s # Converting '𝛔' => '𝛔' (line 3904) 1748s # Converting '𝛕' => '𝛕' (line 3905) 1748s # Converting '𝛖' => '𝛖' (line 3906) 1748s # Converting '𝛗' => '𝛗' (line 3907) 1748s # Converting '𝛘' => '𝛘' (line 3908) 1748s # Converting '𝛙' => '𝛙' (line 3909) 1748s # Converting '𝛚' => '𝛚' (line 3910) 1748s # Converting '𝛜' => '𝛜' (line 3911) 1748s # Converting '𝛝' => '𝛝' (line 3912) 1748s # Converting '𝛞' => '𝛞' (line 3913) 1748s # Converting '𝛟' => '𝛟' (line 3914) 1748s # Converting '𝛠' => '𝛠' (line 3915) 1748s # Converting '𝛡' => '𝛡' (line 3916) 1748s # Converting '𝛢' => '𝛢' (line 3917) 1748s # Converting '𝛣' => '𝛣' (line 3918) 1748s # Converting '𝛤' => '𝛤' (line 3919) 1748s # Converting '𝛥' => '𝛥' (line 3920) 1748s # Converting '𝛦' => '𝛦' (line 3921) 1748s # Converting '𝛧' => '𝛧' (line 3922) 1748s # Converting '𝛨' => '𝛨' (line 3923) 1748s # Converting '𝛩' => '𝛩' (line 3924) 1748s # Converting '𝛪' => '𝛪' (line 3925) 1748s # Converting '𝛫' => '𝛫' (line 3926) 1748s # Converting '𝛬' => '𝛬' (line 3927) 1748s # Converting '𝛭' => '𝛭' (line 3928) 1748s # Converting '𝛮' => '𝛮' (line 3929) 1748s # Converting '𝛯' => '𝛯' (line 3930) 1748s # Converting '𝛰' => '𝛰' (line 3931) 1748s # Converting '𝛱' => '𝛱' (line 3932) 1748s # Converting '𝛲' => '𝛲' (line 3933) 1748s # Converting '𝛳' => '𝛳' (line 3934) 1748s # Converting '𝛴' => '𝛴' (line 3935) 1748s # Converting '𝛵' => '𝛵' (line 3936) 1748s # Converting '𝛶' => '𝛶' (line 3937) 1748s # Converting '𝛷' => '𝛷' (line 3938) 1748s # Converting '𝛸' => '𝛸' (line 3939) 1748s # Converting '𝛹' => '𝛹' (line 3940) 1748s # Converting '𝛺' => '𝛺' (line 3941) 1748s # Converting '𝛼' => '𝛼' (line 3942) 1748s # Converting '𝛽' => '𝛽' (line 3943) 1748s # Converting '𝛾' => '𝛾' (line 3944) 1748s # Converting '𝛿' => '𝛿' (line 3945) 1748s # Converting '𝜀' => '𝜀' (line 3946) 1748s # Converting '𝜁' => '𝜁' (line 3947) 1748s # Converting '𝜂' => '𝜂' (line 3948) 1748s # Converting '𝜃' => '𝜃' (line 3949) 1748s # Converting '𝜄' => '𝜄' (line 3950) 1748s # Converting '𝜅' => '𝜅' (line 3951) 1748s # Converting '𝜆' => '𝜆' (line 3952) 1748s # Converting '𝜇' => '𝜇' (line 3953) 1748s # Converting '𝜈' => '𝜈' (line 3954) 1748s # Converting '𝜉' => '𝜉' (line 3955) 1748s # Converting '𝜊' => '𝜊' (line 3956) 1748s # Converting '𝜋' => '𝜋' (line 3957) 1748s # Converting '𝜌' => '𝜌' (line 3958) 1748s # Converting '𝜍' => '𝜍' (line 3959) 1748s # Converting '𝜎' => '𝜎' (line 3960) 1748s # Converting '𝜏' => '𝜏' (line 3961) 1748s # Converting '𝜐' => '𝜐' (line 3962) 1748s # Converting '𝜑' => '𝜑' (line 3963) 1748s # Converting '𝜒' => '𝜒' (line 3964) 1748s # Converting '𝜓' => '𝜓' (line 3965) 1748s # Converting '𝜔' => '𝜔' (line 3966) 1748s # Converting '𝜖' => '𝜖' (line 3967) 1748s # Converting '𝜗' => '𝜗' (line 3968) 1748s # Converting '𝜘' => '𝜘' (line 3969) 1748s # Converting '𝜙' => '𝜙' (line 3970) 1748s # Converting '𝜚' => '𝜚' (line 3971) 1748s # Converting '𝜛' => '𝜛' (line 3972) 1748s # Converting '𝜜' => '𝜜' (line 3973) 1748s # Converting '𝜝' => '𝜝' (line 3974) 1748s # Converting '𝜞' => '𝜞' (line 3975) 1748s # Converting '𝜟' => '𝜟' (line 3976) 1748s # Converting '𝜠' => '𝜠' (line 3977) 1748s # Converting '𝜡' => '𝜡' (line 3978) 1748s # Converting '𝜢' => '𝜢' (line 3979) 1748s # Converting '𝜣' => '𝜣' (line 3980) 1748s # Converting '𝜤' => '𝜤' (line 3981) 1748s # Converting '𝜥' => '𝜥' (line 3982) 1748s # Converting '𝜦' => '𝜦' (line 3983) 1748s # Converting '𝜧' => '𝜧' (line 3984) 1748s # Converting '𝜨' => '𝜨' (line 3985) 1748s # Converting '𝜩' => '𝜩' (line 3986) 1748s # Converting '𝜪' => '𝜪' (line 3987) 1748s # Converting '𝜫' => '𝜫' (line 3988) 1748s # Converting '𝜬' => '𝜬' (line 3989) 1748s # Converting '𝜭' => '𝜭' (line 3990) 1748s # Converting '𝜮' => '𝜮' (line 3991) 1748s # Converting '𝜯' => '𝜯' (line 3992) 1748s # Converting '𝜰' => '𝜰' (line 3993) 1748s # Converting '𝜱' => '𝜱' (line 3994) 1748s # Converting '𝜲' => '𝜲' (line 3995) 1748s # Converting '𝜳' => '𝜳' (line 3996) 1748s # Converting '𝜴' => '𝜴' (line 3997) 1748s # Converting '𝜶' => '𝜶' (line 3998) 1748s # Converting '𝜷' => '𝜷' (line 3999) 1748s # Converting '𝜸' => '𝜸' (line 4000) 1748s # Converting '𝜹' => '𝜹' (line 4001) 1748s # Converting '𝜺' => '𝜺' (line 4002) 1748s # Converting '𝜻' => '𝜻' (line 4003) 1748s # Converting '𝜼' => '𝜼' (line 4004) 1748s # Converting '𝜽' => '𝜽' (line 4005) 1748s # Converting '𝜾' => '𝜾' (line 4006) 1748s # Converting '𝜿' => '𝜿' (line 4007) 1748s # Converting '𝝀' => '𝝀' (line 4008) 1748s # Converting '𝝁' => '𝝁' (line 4009) 1748s # Converting '𝝂' => '𝝂' (line 4010) 1748s # Converting '𝝃' => '𝝃' (line 4011) 1748s # Converting '𝝄' => '𝝄' (line 4012) 1748s # Converting '𝝅' => '𝝅' (line 4013) 1748s # Converting '𝝆' => '𝝆' (line 4014) 1748s # Converting '𝝇' => '𝝇' (line 4015) 1748s # Converting '𝝈' => '𝝈' (line 4016) 1748s # Converting '𝝉' => '𝝉' (line 4017) 1748s # Converting '𝝊' => '𝝊' (line 4018) 1748s # Converting '𝝋' => '𝝋' (line 4019) 1748s # Converting '𝝌' => '𝝌' (line 4020) 1748s # Converting '𝝍' => '𝝍' (line 4021) 1748s # Converting '𝝎' => '𝝎' (line 4022) 1748s # Converting '𝝐' => '𝝐' (line 4023) 1748s # Converting '𝝑' => '𝝑' (line 4024) 1748s # Converting '𝝒' => '𝝒' (line 4025) 1748s # Converting '𝝓' => '𝝓' (line 4026) 1748s # Converting '𝝔' => '𝝔' (line 4027) 1748s # Converting '𝝕' => '𝝕' (line 4028) 1748s # Converting '𝝖' => '𝝖' (line 4029) 1748s # Converting '𝝗' => '𝝗' (line 4030) 1748s # Converting '𝝘' => '𝝘' (line 4031) 1748s # Converting '𝝙' => '𝝙' (line 4032) 1748s # Converting '𝝚' => '𝝚' (line 4033) 1748s # Converting '𝝛' => '𝝛' (line 4034) 1748s # Converting '𝝜' => '𝝜' (line 4035) 1748s # Converting '𝝝' => '𝝝' (line 4036) 1748s # Converting '𝝞' => '𝝞' (line 4037) 1748s # Converting '𝝟' => '𝝟' (line 4038) 1748s # Converting '𝝠' => '𝝠' (line 4039) 1748s # Converting '𝝡' => '𝝡' (line 4040) 1748s # Converting '𝝢' => '𝝢' (line 4041) 1748s # Converting '𝝣' => '𝝣' (line 4042) 1748s # Converting '𝝤' => '𝝤' (line 4043) 1748s # Converting '𝝥' => '𝝥' (line 4044) 1748s # Converting '𝝦' => '𝝦' (line 4045) 1748s # Converting '𝝧' => '𝝧' (line 4046) 1748s # Converting '𝝨' => '𝝨' (line 4047) 1748s # Converting '𝝩' => '𝝩' (line 4048) 1748s # Converting '𝝪' => '𝝪' (line 4049) 1748s # Converting '𝝫' => '𝝫' (line 4050) 1748s # Converting '𝝬' => '𝝬' (line 4051) 1748s # Converting '𝝭' => '𝝭' (line 4052) 1748s # Converting '𝝮' => '𝝮' (line 4053) 1748s # Converting '𝝰' => '𝝰' (line 4054) 1748s # Converting '𝝱' => '𝝱' (line 4055) 1748s # Converting '𝝲' => '𝝲' (line 4056) 1748s # Converting '𝝳' => '𝝳' (line 4057) 1748s # Converting '𝝴' => '𝝴' (line 4058) 1748s # Converting '𝝵' => '𝝵' (line 4059) 1748s # Converting '𝝶' => '𝝶' (line 4060) 1748s # Converting '𝝷' => '𝝷' (line 4061) 1748s # Converting '𝝸' => '𝝸' (line 4062) 1748s # Converting '𝝹' => '𝝹' (line 4063) 1748s # Converting '𝝺' => '𝝺' (line 4064) 1748s # Converting '𝝻' => '𝝻' (line 4065) 1748s # Converting '𝝼' => '𝝼' (line 4066) 1748s # Converting '𝝽' => '𝝽' (line 4067) 1748s # Converting '𝝾' => '𝝾' (line 4068) 1748s # Converting '𝝿' => '𝝿' (line 4069) 1748s # Converting '𝞀' => '𝞀' (line 4070) 1748s # Converting '𝞁' => '𝞁' (line 4071) 1748s # Converting '𝞂' => '𝞂' (line 4072) 1748s # Converting '𝞃' => '𝞃' (line 4073) 1748s # Converting '𝞄' => '𝞄' (line 4074) 1748s # Converting '𝞅' => '𝞅' (line 4075) 1748s # Converting '𝞆' => '𝞆' (line 4076) 1748s # Converting '𝞇' => '𝞇' (line 4077) 1748s # Converting '𝞈' => '𝞈' (line 4078) 1748s # Converting '𝞊' => '𝞊' (line 4079) 1748s # Converting '𝞋' => '𝞋' (line 4080) 1748s # Converting '𝞌' => '𝞌' (line 4081) 1748s # Converting '𝞍' => '𝞍' (line 4082) 1748s # Converting '𝞎' => '𝞎' (line 4083) 1748s # Converting '𝞏' => '𝞏' (line 4084) 1748s # Converting '𝞐' => '𝞐' (line 4085) 1748s # Converting '𝞑' => '𝞑' (line 4086) 1748s # Converting '𝞒' => '𝞒' (line 4087) 1748s # Converting '𝞓' => '𝞓' (line 4088) 1748s # Converting '𝞔' => '𝞔' (line 4089) 1748s # Converting '𝞕' => '𝞕' (line 4090) 1748s # Converting '𝞖' => '𝞖' (line 4091) 1748s # Converting '𝞗' => '𝞗' (line 4092) 1748s # Converting '𝞘' => '𝞘' (line 4093) 1748s # Converting '𝞙' => '𝞙' (line 4094) 1748s # Converting '𝞚' => '𝞚' (line 4095) 1748s # Converting '𝞛' => '𝞛' (line 4096) 1748s # Converting '𝞜' => '𝞜' (line 4097) 1748s # Converting '𝞝' => '𝞝' (line 4098) 1748s # Converting '𝞞' => '𝞞' (line 4099) 1748s # Converting '𝞟' => '𝞟' (line 4100) 1748s # Converting '𝞠' => '𝞠' (line 4101) 1748s # Converting '𝞡' => '𝞡' (line 4102) 1748s # Converting '𝞢' => '𝞢' (line 4103) 1748s # Converting '𝞣' => '𝞣' (line 4104) 1748s # Converting '𝞤' => '𝞤' (line 4105) 1748s # Converting '𝞥' => '𝞥' (line 4106) 1748s # Converting '𝞦' => '𝞦' (line 4107) 1748s # Converting '𝞧' => '𝞧' (line 4108) 1748s # Converting '𝞨' => '𝞨' (line 4109) 1748s # Converting '𝞪' => '𝞪' (line 4110) 1748s # Converting '𝞫' => '𝞫' (line 4111) 1748s # Converting '𝞬' => '𝞬' (line 4112) 1748s # Converting '𝞭' => '𝞭' (line 4113) 1748s # Converting '𝞮' => '𝞮' (line 4114) 1748s # Converting '𝞯' => '𝞯' (line 4115) 1748s # Converting '𝞰' => '𝞰' (line 4116) 1748s # Converting '𝞱' => '𝞱' (line 4117) 1748s # Converting '𝞲' => '𝞲' (line 4118) 1748s # Converting '𝞳' => '𝞳' (line 4119) 1748s # Converting '𝞴' => '𝞴' (line 4120) 1748s # Converting '𝞵' => '𝞵' (line 4121) 1748s # Converting '𝞶' => '𝞶' (line 4122) 1748s # Converting '𝞷' => '𝞷' (line 4123) 1748s # Converting '𝞸' => '𝞸' (line 4124) 1748s # Converting '𝞹' => '𝞹' (line 4125) 1748s # Converting '𝞺' => '𝞺' (line 4126) 1748s # Converting '𝞻' => '𝞻' (line 4127) 1748s # Converting '𝞼' => '𝞼' (line 4128) 1748s # Converting '𝞽' => '𝞽' (line 4129) 1748s # Converting '𝞾' => '𝞾' (line 4130) 1748s # Converting '𝞿' => '𝞿' (line 4131) 1748s # Converting '𝟀' => '𝟀' (line 4132) 1748s # Converting '𝟁' => '𝟁' (line 4133) 1748s # Converting '𝟂' => '𝟂' (line 4134) 1748s # Converting '𝟄' => '𝟄' (line 4135) 1748s # Converting '𝟅' => '𝟅' (line 4136) 1748s # Converting '𝟆' => '𝟆' (line 4137) 1748s # Converting '𝟇' => '𝟇' (line 4138) 1748s # Converting '𝟈' => '𝟈' (line 4139) 1748s # Converting '𝟉' => '𝟉' (line 4140) 1748s # Converting '𝟊' => '𝟊' (line 4141) 1748s # Converting '𝟋' => '𝟋' (line 4142) 1748s # Converting '𝼀' => '𝼀' (line 4143) 1748s # Converting '𝼁' => '𝼁' (line 4144) 1748s # Converting '𝼂' => '𝼂' (line 4145) 1748s # Converting '𝼃' => '𝼃' (line 4146) 1748s # Converting '𝼄' => '𝼄' (line 4147) 1748s # Converting '𝼅' => '𝼅' (line 4148) 1748s # Converting '𝼆' => '𝼆' (line 4149) 1748s # Converting '𝼇' => '𝼇' (line 4150) 1748s # Converting '𝼈' => '𝼈' (line 4151) 1748s # Converting '𝼉' => '𝼉' (line 4152) 1748s # Converting '𝼋' => '𝼋' (line 4153) 1748s # Converting '𝼌' => '𝼌' (line 4154) 1748s # Converting '𝼍' => '𝼍' (line 4155) 1748s # Converting '𝼎' => '𝼎' (line 4156) 1748s # Converting '𝼏' => '𝼏' (line 4157) 1748s # Converting '𝼐' => '𝼐' (line 4158) 1748s # Converting '𝼑' => '𝼑' (line 4159) 1748s # Converting '𝼒' => '𝼒' (line 4160) 1748s # Converting '𝼓' => '𝼓' (line 4161) 1748s # Converting '𝼔' => '𝼔' (line 4162) 1748s # Converting '𝼕' => '𝼕' (line 4163) 1748s # Converting '𝼖' => '𝼖' (line 4164) 1748s # Converting '𝼗' => '𝼗' (line 4165) 1748s # Converting '𝼘' => '𝼘' (line 4166) 1748s # Converting '𝼙' => '𝼙' (line 4167) 1748s # Converting '𝼚' => '𝼚' (line 4168) 1748s # Converting '𝼛' => '𝼛' (line 4169) 1748s # Converting '𝼜' => '𝼜' (line 4170) 1748s # Converting '𝼝' => '𝼝' (line 4171) 1748s # Converting '𝼞' => '𝼞' (line 4172) 1748s # Converting '𝼥' => '𝼥' (line 4173) 1748s # Converting '𝼦' => '𝼦' (line 4174) 1748s # Converting '𝼧' => '𝼧' (line 4175) 1748s # Converting '𝼨' => '𝼨' (line 4176) 1748s # Converting '𝼩' => '𝼩' (line 4177) 1748s # Converting '𝼪' => '𝼪' (line 4178) 1748s # Converting '𞤀' => '𞤀' (line 4179) 1748s # Converting '𞤁' => '𞤁' (line 4180) 1748s # Converting '𞤂' => '𞤂' (line 4181) 1748s # Converting '𞤃' => '𞤃' (line 4182) 1748s # Converting '𞤄' => '𞤄' (line 4183) 1748s # Converting '𞤅' => '𞤅' (line 4184) 1748s # Converting '𞤆' => '𞤆' (line 4185) 1748s # Converting '𞤇' => '𞤇' (line 4186) 1748s # Converting '𞤈' => '𞤈' (line 4187) 1748s # Converting '𞤉' => '𞤉' (line 4188) 1748s # Converting '𞤊' => '𞤊' (line 4189) 1748s # Converting '𞤋' => '𞤋' (line 4190) 1748s # Converting '𞤌' => '𞤌' (line 4191) 1748s # Converting '𞤍' => '𞤍' (line 4192) 1748s # Converting '𞤎' => '𞤎' (line 4193) 1748s # Converting '𞤏' => '𞤏' (line 4194) 1748s # Converting '𞤐' => '𞤐' (line 4195) 1748s # Converting '𞤑' => '𞤑' (line 4196) 1748s # Converting '𞤒' => '𞤒' (line 4197) 1748s # Converting '𞤓' => '𞤓' (line 4198) 1748s # Converting '𞤔' => '𞤔' (line 4199) 1748s # Converting '𞤕' => '𞤕' (line 4200) 1748s # Converting '𞤖' => '𞤖' (line 4201) 1748s # Converting '𞤗' => '𞤗' (line 4202) 1748s # Converting '𞤘' => '𞤘' (line 4203) 1748s # Converting '𞤙' => '𞤙' (line 4204) 1748s # Converting '𞤚' => '𞤚' (line 4205) 1748s # Converting '𞤛' => '𞤛' (line 4206) 1748s # Converting '𞤜' => '𞤜' (line 4207) 1748s # Converting '𞤝' => '𞤝' (line 4208) 1748s # Converting '𞤞' => '𞤞' (line 4209) 1748s # Converting '𞤟' => '𞤟' (line 4210) 1748s # Converting '𞤠' => '𞤠' (line 4211) 1748s # Converting '𞤡' => '𞤡' (line 4212) 1748s # Converting '𞤢' => '𞤀' (line 4213) 1748s # Converting '𞤣' => '𞤁' (line 4214) 1748s # Converting '𞤤' => '𞤂' (line 4215) 1748s # Converting '𞤥' => '𞤃' (line 4216) 1748s # Converting '𞤦' => '𞤄' (line 4217) 1748s # Converting '𞤧' => '𞤅' (line 4218) 1748s # Converting '𞤨' => '𞤆' (line 4219) 1748s # Converting '𞤩' => '𞤇' (line 4220) 1748s # Converting '𞤪' => '𞤈' (line 4221) 1748s # Converting '𞤫' => '𞤉' (line 4222) 1748s # Converting '𞤬' => '𞤊' (line 4223) 1748s # Converting '𞤭' => '𞤋' (line 4224) 1748s # Converting '𞤮' => '𞤌' (line 4225) 1748s # Converting '𞤯' => '𞤍' (line 4226) 1748s # Converting '𞤰' => '𞤎' (line 4227) 1748s # Converting '𞤱' => '𞤏' (line 4228) 1748s # Converting '𞤲' => '𞤐' (line 4229) 1748s # Converting '𞤳' => '𞤑' (line 4230) 1748s # Converting '𞤴' => '𞤒' (line 4231) 1748s # Converting '𞤵' => '𞤓' (line 4232) 1748s # Converting '𞤶' => '𞤔' (line 4233) 1748s # Converting '𞤷' => '𞤕' (line 4234) 1748s # Converting '𞤸' => '𞤖' (line 4235) 1748s # Converting '𞤹' => '𞤗' (line 4236) 1748s # Converting '𞤺' => '𞤘' (line 4237) 1748s # Converting '𞤻' => '𞤙' (line 4238) 1748s # Converting '𞤼' => '𞤚' (line 4239) 1748s # Converting '𞤽' => '𞤛' (line 4240) 1748s # Converting '𞤾' => '𞤜' (line 4241) 1748s # Converting '𞤿' => '𞤝' (line 4242) 1748s # Converting '𞥀' => '𞤞' (line 4243) 1748s # Converting '𞥁' => '𞤟' (line 4244) 1748s # Converting '𞥂' => '𞤠' (line 4245) 1748s # Converting '𞥃' => '𞤡' (line 4246) 1748s # Converting 'AaBbCc@@' => 'aabbcc@@' (line 6) 1748s # Converting 'A' => 'a' (line 10) 1748s # Converting 'B' => 'b' (line 11) 1748s # Converting 'C' => 'c' (line 12) 1748s # Converting 'D' => 'd' (line 13) 1748s # Converting 'E' => 'e' (line 14) 1748s # Converting 'F' => 'f' (line 15) 1748s # Converting 'G' => 'g' (line 16) 1748s # Converting 'H' => 'h' (line 17) 1748s # Converting 'I' => 'i' (line 18) 1748s # Converting 'J' => 'j' (line 19) 1748s # Converting 'K' => 'k' (line 20) 1748s # Converting 'L' => 'l' (line 21) 1748s # Converting 'M' => 'm' (line 22) 1748s # Converting 'N' => 'n' (line 23) 1748s # Converting 'O' => 'o' (line 24) 1748s # Converting 'P' => 'p' (line 25) 1748s # Converting 'Q' => 'q' (line 26) 1748s # Converting 'R' => 'r' (line 27) 1748s # Converting 'S' => 's' (line 28) 1748s # Converting 'T' => 't' (line 29) 1748s # Converting 'U' => 'u' (line 30) 1748s # Converting 'V' => 'v' (line 31) 1748s # Converting 'W' => 'w' (line 32) 1748s # Converting 'X' => 'x' (line 33) 1748s # Converting 'Y' => 'y' (line 34) 1748s # Converting 'Z' => 'z' (line 35) 1748s # Converting 'µ' => 'μ' (line 36) 1748s # Converting 'À' => 'à' (line 37) 1748s # Converting 'Á' => 'á' (line 38) 1748s # Converting 'Â' => 'â' (line 39) 1748s # Converting 'Ã' => 'ã' (line 40) 1748s # Converting 'Ä' => 'ä' (line 41) 1748s # Converting 'Å' => 'å' (line 42) 1748s # Converting 'Æ' => 'æ' (line 43) 1748s # Converting 'Ç' => 'ç' (line 44) 1748s # Converting 'È' => 'è' (line 45) 1748s # Converting 'É' => 'é' (line 46) 1748s # Converting 'Ê' => 'ê' (line 47) 1748s # Converting 'Ë' => 'ë' (line 48) 1748s # Converting 'Ì' => 'ì' (line 49) 1748s # Converting 'Í' => 'í' (line 50) 1748s # Converting 'Î' => 'î' (line 51) 1748s # Converting 'Ï' => 'ï' (line 52) 1748s # Converting 'Ð' => 'ð' (line 53) 1748s # Converting 'Ñ' => 'ñ' (line 54) 1748s # Converting 'Ò' => 'ò' (line 55) 1748s # Converting 'Ó' => 'ó' (line 56) 1748s # Converting 'Ô' => 'ô' (line 57) 1748s # Converting 'Õ' => 'õ' (line 58) 1748s # Converting 'Ö' => 'ö' (line 59) 1748s # Converting 'Ø' => 'ø' (line 60) 1748s # Converting 'Ù' => 'ù' (line 61) 1748s # Converting 'Ú' => 'ú' (line 62) 1748s # Converting 'Û' => 'û' (line 63) 1748s # Converting 'Ü' => 'ü' (line 64) 1748s # Converting 'Ý' => 'ý' (line 65) 1748s # Converting 'Þ' => 'þ' (line 66) 1748s # Converting 'ß' => 'ss' (line 67) 1748s # Converting 'Ā' => 'ā' (line 68) 1748s # Converting 'Ă' => 'ă' (line 69) 1748s # Converting 'Ą' => 'ą' (line 70) 1748s # Converting 'Ć' => 'ć' (line 71) 1748s # Converting 'Ĉ' => 'ĉ' (line 72) 1748s # Converting 'Ċ' => 'ċ' (line 73) 1748s # Converting 'Č' => 'č' (line 74) 1748s # Converting 'Ď' => 'ď' (line 75) 1748s # Converting 'Đ' => 'đ' (line 76) 1748s # Converting 'Ē' => 'ē' (line 77) 1748s # Converting 'Ĕ' => 'ĕ' (line 78) 1748s # Converting 'Ė' => 'ė' (line 79) 1748s # Converting 'Ę' => 'ę' (line 80) 1748s # Converting 'Ě' => 'ě' (line 81) 1748s # Converting 'Ĝ' => 'ĝ' (line 82) 1748s # Converting 'Ğ' => 'ğ' (line 83) 1748s # Converting 'Ġ' => 'ġ' (line 84) 1748s # Converting 'Ģ' => 'ģ' (line 85) 1748s # Converting 'Ĥ' => 'ĥ' (line 86) 1748s # Converting 'Ħ' => 'ħ' (line 87) 1748s # Converting 'Ĩ' => 'ĩ' (line 88) 1748s # Converting 'Ī' => 'ī' (line 89) 1748s # Converting 'Ĭ' => 'ĭ' (line 90) 1748s # Converting 'Į' => 'į' (line 91) 1748s # Converting 'İ' => 'i̇' (line 92) 1748s # Converting 'IJ' => 'ij' (line 93) 1748s # Converting 'Ĵ' => 'ĵ' (line 94) 1748s # Converting 'Ķ' => 'ķ' (line 95) 1748s # Converting 'Ĺ' => 'ĺ' (line 96) 1748s # Converting 'Ļ' => 'ļ' (line 97) 1748s # Converting 'Ľ' => 'ľ' (line 98) 1748s # Converting 'Ŀ' => 'ŀ' (line 99) 1748s # Converting 'Ł' => 'ł' (line 100) 1748s # Converting 'Ń' => 'ń' (line 101) 1748s # Converting 'Ņ' => 'ņ' (line 102) 1748s # Converting 'Ň' => 'ň' (line 103) 1748s # Converting 'ʼn' => 'ʼn' (line 104) 1748s # Converting 'Ŋ' => 'ŋ' (line 105) 1748s # Converting 'Ō' => 'ō' (line 106) 1748s # Converting 'Ŏ' => 'ŏ' (line 107) 1748s # Converting 'Ő' => 'ő' (line 108) 1748s # Converting 'Œ' => 'œ' (line 109) 1748s # Converting 'Ŕ' => 'ŕ' (line 110) 1748s # Converting 'Ŗ' => 'ŗ' (line 111) 1748s # Converting 'Ř' => 'ř' (line 112) 1748s # Converting 'Ś' => 'ś' (line 113) 1748s # Converting 'Ŝ' => 'ŝ' (line 114) 1748s # Converting 'Ş' => 'ş' (line 115) 1748s # Converting 'Š' => 'š' (line 116) 1748s # Converting 'Ţ' => 'ţ' (line 117) 1748s # Converting 'Ť' => 'ť' (line 118) 1748s # Converting 'Ŧ' => 'ŧ' (line 119) 1748s # Converting 'Ũ' => 'ũ' (line 120) 1748s # Converting 'Ū' => 'ū' (line 121) 1748s # Converting 'Ŭ' => 'ŭ' (line 122) 1748s # Converting 'Ů' => 'ů' (line 123) 1748s # Converting 'Ű' => 'ű' (line 124) 1748s # Converting 'Ų' => 'ų' (line 125) 1748s # Converting 'Ŵ' => 'ŵ' (line 126) 1748s # Converting 'Ŷ' => 'ŷ' (line 127) 1748s # Converting 'Ÿ' => 'ÿ' (line 128) 1748s # Converting 'Ź' => 'ź' (line 129) 1748s # Converting 'Ż' => 'ż' (line 130) 1748s # Converting 'Ž' => 'ž' (line 131) 1748s # Converting 'ſ' => 's' (line 132) 1748s # Converting 'Ɓ' => 'ɓ' (line 133) 1748s # Converting 'Ƃ' => 'ƃ' (line 134) 1748s # Converting 'Ƅ' => 'ƅ' (line 135) 1748s # Converting 'Ɔ' => 'ɔ' (line 136) 1748s # Converting 'Ƈ' => 'ƈ' (line 137) 1748s # Converting 'Ɖ' => 'ɖ' (line 138) 1748s # Converting 'Ɗ' => 'ɗ' (line 139) 1748s # Converting 'Ƌ' => 'ƌ' (line 140) 1748s # Converting 'Ǝ' => 'ǝ' (line 141) 1748s # Converting 'Ə' => 'ə' (line 142) 1748s # Converting 'Ɛ' => 'ɛ' (line 143) 1748s # Converting 'Ƒ' => 'ƒ' (line 144) 1748s # Converting 'Ɠ' => 'ɠ' (line 145) 1748s # Converting 'Ɣ' => 'ɣ' (line 146) 1748s # Converting 'Ɩ' => 'ɩ' (line 147) 1748s # Converting 'Ɨ' => 'ɨ' (line 148) 1748s # Converting 'Ƙ' => 'ƙ' (line 149) 1748s # Converting 'Ɯ' => 'ɯ' (line 150) 1748s # Converting 'Ɲ' => 'ɲ' (line 151) 1748s # Converting 'Ɵ' => 'ɵ' (line 152) 1748s # Converting 'Ơ' => 'ơ' (line 153) 1748s # Converting 'Ƣ' => 'ƣ' (line 154) 1748s # Converting 'Ƥ' => 'ƥ' (line 155) 1748s # Converting 'Ʀ' => 'ʀ' (line 156) 1748s # Converting 'Ƨ' => 'ƨ' (line 157) 1748s # Converting 'Ʃ' => 'ʃ' (line 158) 1748s # Converting 'Ƭ' => 'ƭ' (line 159) 1748s # Converting 'Ʈ' => 'ʈ' (line 160) 1748s # Converting 'Ư' => 'ư' (line 161) 1748s # Converting 'Ʊ' => 'ʊ' (line 162) 1748s # Converting 'Ʋ' => 'ʋ' (line 163) 1748s # Converting 'Ƴ' => 'ƴ' (line 164) 1748s # Converting 'Ƶ' => 'ƶ' (line 165) 1748s # Converting 'Ʒ' => 'ʒ' (line 166) 1748s # Converting 'Ƹ' => 'ƹ' (line 167) 1748s # Converting 'Ƽ' => 'ƽ' (line 168) 1748s # Converting 'DŽ' => 'dž' (line 169) 1748s # Converting 'Dž' => 'dž' (line 170) 1748s # Converting 'LJ' => 'lj' (line 171) 1748s # Converting 'Lj' => 'lj' (line 172) 1748s # Converting 'NJ' => 'nj' (line 173) 1748s # Converting 'Nj' => 'nj' (line 174) 1748s # Converting 'Ǎ' => 'ǎ' (line 175) 1748s # Converting 'Ǐ' => 'ǐ' (line 176) 1748s # Converting 'Ǒ' => 'ǒ' (line 177) 1748s # Converting 'Ǔ' => 'ǔ' (line 178) 1748s # Converting 'Ǖ' => 'ǖ' (line 179) 1748s # Converting 'Ǘ' => 'ǘ' (line 180) 1748s # Converting 'Ǚ' => 'ǚ' (line 181) 1748s # Converting 'Ǜ' => 'ǜ' (line 182) 1748s # Converting 'Ǟ' => 'ǟ' (line 183) 1748s # Converting 'Ǡ' => 'ǡ' (line 184) 1748s # Converting 'Ǣ' => 'ǣ' (line 185) 1748s # Converting 'Ǥ' => 'ǥ' (line 186) 1748s # Converting 'Ǧ' => 'ǧ' (line 187) 1748s # Converting 'Ǩ' => 'ǩ' (line 188) 1748s # Converting 'Ǫ' => 'ǫ' (line 189) 1748s # Converting 'Ǭ' => 'ǭ' (line 190) 1748s # Converting 'Ǯ' => 'ǯ' (line 191) 1748s # Converting 'ǰ' => 'ǰ' (line 192) 1748s # Converting 'DZ' => 'dz' (line 193) 1748s # Converting 'Dz' => 'dz' (line 194) 1748s # Converting 'Ǵ' => 'ǵ' (line 195) 1748s # Converting 'Ƕ' => 'ƕ' (line 196) 1748s # Converting 'Ƿ' => 'ƿ' (line 197) 1748s # Converting 'Ǹ' => 'ǹ' (line 198) 1748s # Converting 'Ǻ' => 'ǻ' (line 199) 1748s # Converting 'Ǽ' => 'ǽ' (line 200) 1748s # Converting 'Ǿ' => 'ǿ' (line 201) 1748s # Converting 'Ȁ' => 'ȁ' (line 202) 1748s # Converting 'Ȃ' => 'ȃ' (line 203) 1748s # Converting 'Ȅ' => 'ȅ' (line 204) 1748s # Converting 'Ȇ' => 'ȇ' (line 205) 1748s # Converting 'Ȉ' => 'ȉ' (line 206) 1748s # Converting 'Ȋ' => 'ȋ' (line 207) 1748s # Converting 'Ȍ' => 'ȍ' (line 208) 1748s # Converting 'Ȏ' => 'ȏ' (line 209) 1748s # Converting 'Ȑ' => 'ȑ' (line 210) 1748s # Converting 'Ȓ' => 'ȓ' (line 211) 1748s # Converting 'Ȕ' => 'ȕ' (line 212) 1748s # Converting 'Ȗ' => 'ȗ' (line 213) 1748s # Converting 'Ș' => 'ș' (line 214) 1748s # Converting 'Ț' => 'ț' (line 215) 1748s # Converting 'Ȝ' => 'ȝ' (line 216) 1748s # Converting 'Ȟ' => 'ȟ' (line 217) 1748s # Converting 'Ƞ' => 'ƞ' (line 218) 1748s # Converting 'Ȣ' => 'ȣ' (line 219) 1748s # Converting 'Ȥ' => 'ȥ' (line 220) 1748s # Converting 'Ȧ' => 'ȧ' (line 221) 1748s # Converting 'Ȩ' => 'ȩ' (line 222) 1748s # Converting 'Ȫ' => 'ȫ' (line 223) 1748s # Converting 'Ȭ' => 'ȭ' (line 224) 1748s # Converting 'Ȯ' => 'ȯ' (line 225) 1748s # Converting 'Ȱ' => 'ȱ' (line 226) 1748s # Converting 'Ȳ' => 'ȳ' (line 227) 1748s # Converting 'Ⱥ' => 'ⱥ' (line 228) 1748s # Converting 'Ȼ' => 'ȼ' (line 229) 1748s # Converting 'Ƚ' => 'ƚ' (line 230) 1748s # Converting 'Ⱦ' => 'ⱦ' (line 231) 1748s # Converting 'Ɂ' => 'ɂ' (line 232) 1748s # Converting 'Ƀ' => 'ƀ' (line 233) 1748s # Converting 'Ʉ' => 'ʉ' (line 234) 1748s # Converting 'Ʌ' => 'ʌ' (line 235) 1748s # Converting 'Ɇ' => 'ɇ' (line 236) 1748s # Converting 'Ɉ' => 'ɉ' (line 237) 1748s # Converting 'Ɋ' => 'ɋ' (line 238) 1748s # Converting 'Ɍ' => 'ɍ' (line 239) 1748s # Converting 'Ɏ' => 'ɏ' (line 240) 1748s # Converting 'ͅ' => 'ι' (line 241) 1748s # Converting 'Ͱ' => 'ͱ' (line 242) 1748s # Converting 'Ͳ' => 'ͳ' (line 243) 1748s # Converting 'Ͷ' => 'ͷ' (line 244) 1748s # Converting 'Ϳ' => 'ϳ' (line 245) 1748s # Converting 'Ά' => 'ά' (line 246) 1748s # Converting 'Έ' => 'έ' (line 247) 1748s # Converting 'Ή' => 'ή' (line 248) 1748s # Converting 'Ί' => 'ί' (line 249) 1748s # Converting 'Ό' => 'ό' (line 250) 1748s # Converting 'Ύ' => 'ύ' (line 251) 1748s # Converting 'Ώ' => 'ώ' (line 252) 1748s # Converting 'ΐ' => 'ΐ' (line 253) 1748s # Converting 'Α' => 'α' (line 254) 1748s # Converting 'Β' => 'β' (line 255) 1748s # Converting 'Γ' => 'γ' (line 256) 1748s # Converting 'Δ' => 'δ' (line 257) 1748s # Converting 'Ε' => 'ε' (line 258) 1748s # Converting 'Ζ' => 'ζ' (line 259) 1748s # Converting 'Η' => 'η' (line 260) 1748s # Converting 'Θ' => 'θ' (line 261) 1748s # Converting 'Ι' => 'ι' (line 262) 1748s # Converting 'Κ' => 'κ' (line 263) 1748s # Converting 'Λ' => 'λ' (line 264) 1748s # Converting 'Μ' => 'μ' (line 265) 1748s # Converting 'Ν' => 'ν' (line 266) 1748s # Converting 'Ξ' => 'ξ' (line 267) 1748s # Converting 'Ο' => 'ο' (line 268) 1748s # Converting 'Π' => 'π' (line 269) 1748s # Converting 'Ρ' => 'ρ' (line 270) 1748s # Converting 'Σ' => 'σ' (line 271) 1748s # Converting 'Τ' => 'τ' (line 272) 1748s # Converting 'Υ' => 'υ' (line 273) 1748s # Converting 'Φ' => 'φ' (line 274) 1748s # Converting 'Χ' => 'χ' (line 275) 1748s # Converting 'Ψ' => 'ψ' (line 276) 1748s # Converting 'Ω' => 'ω' (line 277) 1748s # Converting 'Ϊ' => 'ϊ' (line 278) 1748s # Converting 'Ϋ' => 'ϋ' (line 279) 1748s # Converting 'ΰ' => 'ΰ' (line 280) 1748s # Converting 'ς' => 'σ' (line 281) 1748s # Converting 'Ϗ' => 'ϗ' (line 282) 1748s # Converting 'ϐ' => 'β' (line 283) 1748s # Converting 'ϑ' => 'θ' (line 284) 1748s # Converting 'ϕ' => 'φ' (line 285) 1748s # Converting 'ϖ' => 'π' (line 286) 1748s # Converting 'Ϙ' => 'ϙ' (line 287) 1748s # Converting 'Ϛ' => 'ϛ' (line 288) 1748s # Converting 'Ϝ' => 'ϝ' (line 289) 1748s # Converting 'Ϟ' => 'ϟ' (line 290) 1748s # Converting 'Ϡ' => 'ϡ' (line 291) 1748s # Converting 'Ϣ' => 'ϣ' (line 292) 1748s # Converting 'Ϥ' => 'ϥ' (line 293) 1748s # Converting 'Ϧ' => 'ϧ' (line 294) 1748s # Converting 'Ϩ' => 'ϩ' (line 295) 1748s # Converting 'Ϫ' => 'ϫ' (line 296) 1748s # Converting 'Ϭ' => 'ϭ' (line 297) 1748s # Converting 'Ϯ' => 'ϯ' (line 298) 1748s # Converting 'ϰ' => 'κ' (line 299) 1748s # Converting 'ϱ' => 'ρ' (line 300) 1748s # Converting 'ϴ' => 'θ' (line 301) 1748s # Converting 'ϵ' => 'ε' (line 302) 1748s # Converting 'Ϸ' => 'ϸ' (line 303) 1748s # Converting 'Ϲ' => 'ϲ' (line 304) 1748s # Converting 'Ϻ' => 'ϻ' (line 305) 1748s # Converting 'Ͻ' => 'ͻ' (line 306) 1748s # Converting 'Ͼ' => 'ͼ' (line 307) 1748s # Converting 'Ͽ' => 'ͽ' (line 308) 1748s # Converting 'Ѐ' => 'ѐ' (line 309) 1748s # Converting 'Ё' => 'ё' (line 310) 1748s # Converting 'Ђ' => 'ђ' (line 311) 1748s # Converting 'Ѓ' => 'ѓ' (line 312) 1748s # Converting 'Є' => 'є' (line 313) 1748s # Converting 'Ѕ' => 'ѕ' (line 314) 1748s # Converting 'І' => 'і' (line 315) 1748s # Converting 'Ї' => 'ї' (line 316) 1748s # Converting 'Ј' => 'ј' (line 317) 1748s # Converting 'Љ' => 'љ' (line 318) 1748s # Converting 'Њ' => 'њ' (line 319) 1748s # Converting 'Ћ' => 'ћ' (line 320) 1748s # Converting 'Ќ' => 'ќ' (line 321) 1748s # Converting 'Ѝ' => 'ѝ' (line 322) 1748s # Converting 'Ў' => 'ў' (line 323) 1748s # Converting 'Џ' => 'џ' (line 324) 1748s # Converting 'А' => 'а' (line 325) 1748s # Converting 'Б' => 'б' (line 326) 1748s # Converting 'В' => 'в' (line 327) 1748s # Converting 'Г' => 'г' (line 328) 1748s # Converting 'Д' => 'д' (line 329) 1748s # Converting 'Е' => 'е' (line 330) 1748s # Converting 'Ж' => 'ж' (line 331) 1748s # Converting 'З' => 'з' (line 332) 1748s # Converting 'И' => 'и' (line 333) 1748s # Converting 'Й' => 'й' (line 334) 1748s # Converting 'К' => 'к' (line 335) 1748s # Converting 'Л' => 'л' (line 336) 1748s # Converting 'М' => 'м' (line 337) 1748s # Converting 'Н' => 'н' (line 338) 1748s # Converting 'О' => 'о' (line 339) 1748s # Converting 'П' => 'п' (line 340) 1748s # Converting 'Р' => 'р' (line 341) 1748s # Converting 'С' => 'с' (line 342) 1748s # Converting 'Т' => 'т' (line 343) 1748s # Converting 'У' => 'у' (line 344) 1748s # Converting 'Ф' => 'ф' (line 345) 1748s # Converting 'Х' => 'х' (line 346) 1748s # Converting 'Ц' => 'ц' (line 347) 1748s # Converting 'Ч' => 'ч' (line 348) 1748s # Converting 'Ш' => 'ш' (line 349) 1748s # Converting 'Щ' => 'щ' (line 350) 1748s # Converting 'Ъ' => 'ъ' (line 351) 1748s # Converting 'Ы' => 'ы' (line 352) 1748s # Converting 'Ь' => 'ь' (line 353) 1748s # Converting 'Э' => 'э' (line 354) 1748s # Converting 'Ю' => 'ю' (line 355) 1748s # Converting 'Я' => 'я' (line 356) 1748s # Converting 'Ѡ' => 'ѡ' (line 357) 1748s # Converting 'Ѣ' => 'ѣ' (line 358) 1748s # Converting 'Ѥ' => 'ѥ' (line 359) 1748s # Converting 'Ѧ' => 'ѧ' (line 360) 1748s # Converting 'Ѩ' => 'ѩ' (line 361) 1748s # Converting 'Ѫ' => 'ѫ' (line 362) 1748s # Converting 'Ѭ' => 'ѭ' (line 363) 1748s # Converting 'Ѯ' => 'ѯ' (line 364) 1748s # Converting 'Ѱ' => 'ѱ' (line 365) 1748s # Converting 'Ѳ' => 'ѳ' (line 366) 1748s # Converting 'Ѵ' => 'ѵ' (line 367) 1748s # Converting 'Ѷ' => 'ѷ' (line 368) 1748s # Converting 'Ѹ' => 'ѹ' (line 369) 1748s # Converting 'Ѻ' => 'ѻ' (line 370) 1748s # Converting 'Ѽ' => 'ѽ' (line 371) 1748s # Converting 'Ѿ' => 'ѿ' (line 372) 1748s # Converting 'Ҁ' => 'ҁ' (line 373) 1748s # Converting 'Ҋ' => 'ҋ' (line 374) 1748s # Converting 'Ҍ' => 'ҍ' (line 375) 1748s # Converting 'Ҏ' => 'ҏ' (line 376) 1748s # Converting 'Ґ' => 'ґ' (line 377) 1748s # Converting 'Ғ' => 'ғ' (line 378) 1748s # Converting 'Ҕ' => 'ҕ' (line 379) 1748s # Converting 'Җ' => 'җ' (line 380) 1748s # Converting 'Ҙ' => 'ҙ' (line 381) 1748s # Converting 'Қ' => 'қ' (line 382) 1748s # Converting 'Ҝ' => 'ҝ' (line 383) 1748s # Converting 'Ҟ' => 'ҟ' (line 384) 1748s # Converting 'Ҡ' => 'ҡ' (line 385) 1748s # Converting 'Ң' => 'ң' (line 386) 1748s # Converting 'Ҥ' => 'ҥ' (line 387) 1748s # Converting 'Ҧ' => 'ҧ' (line 388) 1748s # Converting 'Ҩ' => 'ҩ' (line 389) 1748s # Converting 'Ҫ' => 'ҫ' (line 390) 1748s # Converting 'Ҭ' => 'ҭ' (line 391) 1748s # Converting 'Ү' => 'ү' (line 392) 1748s # Converting 'Ұ' => 'ұ' (line 393) 1748s # Converting 'Ҳ' => 'ҳ' (line 394) 1748s # Converting 'Ҵ' => 'ҵ' (line 395) 1748s # Converting 'Ҷ' => 'ҷ' (line 396) 1748s # Converting 'Ҹ' => 'ҹ' (line 397) 1748s # Converting 'Һ' => 'һ' (line 398) 1748s # Converting 'Ҽ' => 'ҽ' (line 399) 1748s # Converting 'Ҿ' => 'ҿ' (line 400) 1748s # Converting 'Ӏ' => 'ӏ' (line 401) 1748s # Converting 'Ӂ' => 'ӂ' (line 402) 1748s # Converting 'Ӄ' => 'ӄ' (line 403) 1748s # Converting 'Ӆ' => 'ӆ' (line 404) 1748s # Converting 'Ӈ' => 'ӈ' (line 405) 1748s # Converting 'Ӊ' => 'ӊ' (line 406) 1748s # Converting 'Ӌ' => 'ӌ' (line 407) 1748s # Converting 'Ӎ' => 'ӎ' (line 408) 1748s # Converting 'Ӑ' => 'ӑ' (line 409) 1748s # Converting 'Ӓ' => 'ӓ' (line 410) 1748s # Converting 'Ӕ' => 'ӕ' (line 411) 1748s # Converting 'Ӗ' => 'ӗ' (line 412) 1748s # Converting 'Ә' => 'ә' (line 413) 1748s # Converting 'Ӛ' => 'ӛ' (line 414) 1748s # Converting 'Ӝ' => 'ӝ' (line 415) 1748s # Converting 'Ӟ' => 'ӟ' (line 416) 1748s # Converting 'Ӡ' => 'ӡ' (line 417) 1748s # Converting 'Ӣ' => 'ӣ' (line 418) 1748s # Converting 'Ӥ' => 'ӥ' (line 419) 1748s # Converting 'Ӧ' => 'ӧ' (line 420) 1748s # Converting 'Ө' => 'ө' (line 421) 1748s # Converting 'Ӫ' => 'ӫ' (line 422) 1748s # Converting 'Ӭ' => 'ӭ' (line 423) 1748s # Converting 'Ӯ' => 'ӯ' (line 424) 1748s # Converting 'Ӱ' => 'ӱ' (line 425) 1748s # Converting 'Ӳ' => 'ӳ' (line 426) 1748s # Converting 'Ӵ' => 'ӵ' (line 427) 1748s # Converting 'Ӷ' => 'ӷ' (line 428) 1748s # Converting 'Ӹ' => 'ӹ' (line 429) 1748s # Converting 'Ӻ' => 'ӻ' (line 430) 1748s # Converting 'Ӽ' => 'ӽ' (line 431) 1748s # Converting 'Ӿ' => 'ӿ' (line 432) 1748s # Converting 'Ԁ' => 'ԁ' (line 433) 1748s # Converting 'Ԃ' => 'ԃ' (line 434) 1748s # Converting 'Ԅ' => 'ԅ' (line 435) 1748s # Converting 'Ԇ' => 'ԇ' (line 436) 1748s # Converting 'Ԉ' => 'ԉ' (line 437) 1748s # Converting 'Ԋ' => 'ԋ' (line 438) 1748s # Converting 'Ԍ' => 'ԍ' (line 439) 1748s # Converting 'Ԏ' => 'ԏ' (line 440) 1748s # Converting 'Ԑ' => 'ԑ' (line 441) 1748s # Converting 'Ԓ' => 'ԓ' (line 442) 1748s # Converting 'Ԕ' => 'ԕ' (line 443) 1748s # Converting 'Ԗ' => 'ԗ' (line 444) 1748s # Converting 'Ԙ' => 'ԙ' (line 445) 1748s # Converting 'Ԛ' => 'ԛ' (line 446) 1748s # Converting 'Ԝ' => 'ԝ' (line 447) 1748s # Converting 'Ԟ' => 'ԟ' (line 448) 1748s # Converting 'Ԡ' => 'ԡ' (line 449) 1748s # Converting 'Ԣ' => 'ԣ' (line 450) 1748s # Converting 'Ԥ' => 'ԥ' (line 451) 1748s # Converting 'Ԧ' => 'ԧ' (line 452) 1748s # Converting 'Ԩ' => 'ԩ' (line 453) 1748s # Converting 'Ԫ' => 'ԫ' (line 454) 1748s # Converting 'Ԭ' => 'ԭ' (line 455) 1748s # Converting 'Ԯ' => 'ԯ' (line 456) 1748s # Converting 'Ա' => 'ա' (line 457) 1748s # Converting 'Բ' => 'բ' (line 458) 1748s # Converting 'Գ' => 'գ' (line 459) 1748s # Converting 'Դ' => 'դ' (line 460) 1748s # Converting 'Ե' => 'ե' (line 461) 1748s # Converting 'Զ' => 'զ' (line 462) 1748s # Converting 'Է' => 'է' (line 463) 1748s # Converting 'Ը' => 'ը' (line 464) 1748s # Converting 'Թ' => 'թ' (line 465) 1748s # Converting 'Ժ' => 'ժ' (line 466) 1748s # Converting 'Ի' => 'ի' (line 467) 1748s # Converting 'Լ' => 'լ' (line 468) 1748s # Converting 'Խ' => 'խ' (line 469) 1748s # Converting 'Ծ' => 'ծ' (line 470) 1748s # Converting 'Կ' => 'կ' (line 471) 1748s # Converting 'Հ' => 'հ' (line 472) 1748s # Converting 'Ձ' => 'ձ' (line 473) 1748s # Converting 'Ղ' => 'ղ' (line 474) 1748s # Converting 'Ճ' => 'ճ' (line 475) 1748s # Converting 'Մ' => 'մ' (line 476) 1748s # Converting 'Յ' => 'յ' (line 477) 1748s # Converting 'Ն' => 'ն' (line 478) 1748s # Converting 'Շ' => 'շ' (line 479) 1748s # Converting 'Ո' => 'ո' (line 480) 1748s # Converting 'Չ' => 'չ' (line 481) 1748s # Converting 'Պ' => 'պ' (line 482) 1748s # Converting 'Ջ' => 'ջ' (line 483) 1748s # Converting 'Ռ' => 'ռ' (line 484) 1748s # Converting 'Ս' => 'ս' (line 485) 1748s # Converting 'Վ' => 'վ' (line 486) 1748s # Converting 'Տ' => 'տ' (line 487) 1748s # Converting 'Ր' => 'ր' (line 488) 1748s # Converting 'Ց' => 'ց' (line 489) 1748s # Converting 'Ւ' => 'ւ' (line 490) 1748s # Converting 'Փ' => 'փ' (line 491) 1748s # Converting 'Ք' => 'ք' (line 492) 1748s # Converting 'Օ' => 'օ' (line 493) 1748s # Converting 'Ֆ' => 'ֆ' (line 494) 1748s # Converting 'և' => 'եւ' (line 495) 1748s # Converting 'Ⴀ' => 'ⴀ' (line 496) 1748s # Converting 'Ⴁ' => 'ⴁ' (line 497) 1748s # Converting 'Ⴂ' => 'ⴂ' (line 498) 1748s # Converting 'Ⴃ' => 'ⴃ' (line 499) 1748s # Converting 'Ⴄ' => 'ⴄ' (line 500) 1748s # Converting 'Ⴅ' => 'ⴅ' (line 501) 1748s # Converting 'Ⴆ' => 'ⴆ' (line 502) 1748s # Converting 'Ⴇ' => 'ⴇ' (line 503) 1748s # Converting 'Ⴈ' => 'ⴈ' (line 504) 1748s # Converting 'Ⴉ' => 'ⴉ' (line 505) 1748s # Converting 'Ⴊ' => 'ⴊ' (line 506) 1748s # Converting 'Ⴋ' => 'ⴋ' (line 507) 1748s # Converting 'Ⴌ' => 'ⴌ' (line 508) 1748s # Converting 'Ⴍ' => 'ⴍ' (line 509) 1748s # Converting 'Ⴎ' => 'ⴎ' (line 510) 1748s # Converting 'Ⴏ' => 'ⴏ' (line 511) 1748s # Converting 'Ⴐ' => 'ⴐ' (line 512) 1748s # Converting 'Ⴑ' => 'ⴑ' (line 513) 1748s # Converting 'Ⴒ' => 'ⴒ' (line 514) 1748s # Converting 'Ⴓ' => 'ⴓ' (line 515) 1748s # Converting 'Ⴔ' => 'ⴔ' (line 516) 1748s # Converting 'Ⴕ' => 'ⴕ' (line 517) 1748s # Converting 'Ⴖ' => 'ⴖ' (line 518) 1748s # Converting 'Ⴗ' => 'ⴗ' (line 519) 1748s # Converting 'Ⴘ' => 'ⴘ' (line 520) 1748s # Converting 'Ⴙ' => 'ⴙ' (line 521) 1748s # Converting 'Ⴚ' => 'ⴚ' (line 522) 1748s # Converting 'Ⴛ' => 'ⴛ' (line 523) 1748s # Converting 'Ⴜ' => 'ⴜ' (line 524) 1748s # Converting 'Ⴝ' => 'ⴝ' (line 525) 1748s # Converting 'Ⴞ' => 'ⴞ' (line 526) 1748s # Converting 'Ⴟ' => 'ⴟ' (line 527) 1748s # Converting 'Ⴠ' => 'ⴠ' (line 528) 1748s # Converting 'Ⴡ' => 'ⴡ' (line 529) 1748s # Converting 'Ⴢ' => 'ⴢ' (line 530) 1748s # Converting 'Ⴣ' => 'ⴣ' (line 531) 1748s # Converting 'Ⴤ' => 'ⴤ' (line 532) 1748s # Converting 'Ⴥ' => 'ⴥ' (line 533) 1748s # Converting 'Ⴧ' => 'ⴧ' (line 534) 1748s # Converting 'Ⴭ' => 'ⴭ' (line 535) 1748s # Converting 'ᏸ' => 'Ᏸ' (line 536) 1748s # Converting 'ᏹ' => 'Ᏹ' (line 537) 1748s # Converting 'ᏺ' => 'Ᏺ' (line 538) 1748s # Converting 'ᏻ' => 'Ᏻ' (line 539) 1748s # Converting 'ᏼ' => 'Ᏼ' (line 540) 1748s # Converting 'ᏽ' => 'Ᏽ' (line 541) 1748s # Converting 'ᲀ' => 'в' (line 542) 1748s # Converting 'ᲁ' => 'д' (line 543) 1748s # Converting 'ᲂ' => 'о' (line 544) 1748s # Converting 'ᲃ' => 'с' (line 545) 1748s # Converting 'ᲄ' => 'т' (line 546) 1748s # Converting 'ᲅ' => 'т' (line 547) 1748s # Converting 'ᲆ' => 'ъ' (line 548) 1748s # Converting 'ᲇ' => 'ѣ' (line 549) 1748s # Converting 'ᲈ' => 'ꙋ' (line 550) 1748s # Converting 'Ᲊ' => 'ᲊ' (line 551) 1748s # Converting 'Ა' => 'ა' (line 552) 1748s # Converting 'Ბ' => 'ბ' (line 553) 1748s # Converting 'Გ' => 'გ' (line 554) 1748s # Converting 'Დ' => 'დ' (line 555) 1748s # Converting 'Ე' => 'ე' (line 556) 1748s # Converting 'Ვ' => 'ვ' (line 557) 1748s # Converting 'Ზ' => 'ზ' (line 558) 1748s # Converting 'Თ' => 'თ' (line 559) 1748s # Converting 'Ი' => 'ი' (line 560) 1748s # Converting 'Კ' => 'კ' (line 561) 1748s # Converting 'Ლ' => 'ლ' (line 562) 1748s # Converting 'Მ' => 'მ' (line 563) 1748s # Converting 'Ნ' => 'ნ' (line 564) 1748s # Converting 'Ო' => 'ო' (line 565) 1748s # Converting 'Პ' => 'პ' (line 566) 1748s # Converting 'Ჟ' => 'ჟ' (line 567) 1748s # Converting 'Რ' => 'რ' (line 568) 1748s # Converting 'Ს' => 'ს' (line 569) 1748s # Converting 'Ტ' => 'ტ' (line 570) 1748s # Converting 'Უ' => 'უ' (line 571) 1748s # Converting 'Ფ' => 'ფ' (line 572) 1748s # Converting 'Ქ' => 'ქ' (line 573) 1748s # Converting 'Ღ' => 'ღ' (line 574) 1748s # Converting 'Ყ' => 'ყ' (line 575) 1748s # Converting 'Შ' => 'შ' (line 576) 1748s # Converting 'Ჩ' => 'ჩ' (line 577) 1748s # Converting 'Ც' => 'ც' (line 578) 1748s # Converting 'Ძ' => 'ძ' (line 579) 1748s # Converting 'Წ' => 'წ' (line 580) 1748s # Converting 'Ჭ' => 'ჭ' (line 581) 1748s # Converting 'Ხ' => 'ხ' (line 582) 1748s # Converting 'Ჯ' => 'ჯ' (line 583) 1748s # Converting 'Ჰ' => 'ჰ' (line 584) 1748s # Converting 'Ჱ' => 'ჱ' (line 585) 1748s # Converting 'Ჲ' => 'ჲ' (line 586) 1748s # Converting 'Ჳ' => 'ჳ' (line 587) 1748s # Converting 'Ჴ' => 'ჴ' (line 588) 1748s # Converting 'Ჵ' => 'ჵ' (line 589) 1748s # Converting 'Ჶ' => 'ჶ' (line 590) 1748s # Converting 'Ჷ' => 'ჷ' (line 591) 1748s # Converting 'Ჸ' => 'ჸ' (line 592) 1748s # Converting 'Ჹ' => 'ჹ' (line 593) 1748s # Converting 'Ჺ' => 'ჺ' (line 594) 1748s # Converting 'Ჽ' => 'ჽ' (line 595) 1748s # Converting 'Ჾ' => 'ჾ' (line 596) 1748s # Converting 'Ჿ' => 'ჿ' (line 597) 1748s # Converting 'Ḁ' => 'ḁ' (line 598) 1748s # Converting 'Ḃ' => 'ḃ' (line 599) 1748s # Converting 'Ḅ' => 'ḅ' (line 600) 1748s # Converting 'Ḇ' => 'ḇ' (line 601) 1748s # Converting 'Ḉ' => 'ḉ' (line 602) 1748s # Converting 'Ḋ' => 'ḋ' (line 603) 1748s # Converting 'Ḍ' => 'ḍ' (line 604) 1748s # Converting 'Ḏ' => 'ḏ' (line 605) 1748s # Converting 'Ḑ' => 'ḑ' (line 606) 1748s # Converting 'Ḓ' => 'ḓ' (line 607) 1748s # Converting 'Ḕ' => 'ḕ' (line 608) 1748s # Converting 'Ḗ' => 'ḗ' (line 609) 1748s # Converting 'Ḙ' => 'ḙ' (line 610) 1748s # Converting 'Ḛ' => 'ḛ' (line 611) 1748s # Converting 'Ḝ' => 'ḝ' (line 612) 1748s # Converting 'Ḟ' => 'ḟ' (line 613) 1748s # Converting 'Ḡ' => 'ḡ' (line 614) 1748s # Converting 'Ḣ' => 'ḣ' (line 615) 1748s # Converting 'Ḥ' => 'ḥ' (line 616) 1748s # Converting 'Ḧ' => 'ḧ' (line 617) 1748s # Converting 'Ḩ' => 'ḩ' (line 618) 1748s # Converting 'Ḫ' => 'ḫ' (line 619) 1748s # Converting 'Ḭ' => 'ḭ' (line 620) 1748s # Converting 'Ḯ' => 'ḯ' (line 621) 1748s # Converting 'Ḱ' => 'ḱ' (line 622) 1748s # Converting 'Ḳ' => 'ḳ' (line 623) 1748s # Converting 'Ḵ' => 'ḵ' (line 624) 1748s # Converting 'Ḷ' => 'ḷ' (line 625) 1748s # Converting 'Ḹ' => 'ḹ' (line 626) 1748s # Converting 'Ḻ' => 'ḻ' (line 627) 1748s # Converting 'Ḽ' => 'ḽ' (line 628) 1748s # Converting 'Ḿ' => 'ḿ' (line 629) 1748s # Converting 'Ṁ' => 'ṁ' (line 630) 1748s # Converting 'Ṃ' => 'ṃ' (line 631) 1748s # Converting 'Ṅ' => 'ṅ' (line 632) 1748s # Converting 'Ṇ' => 'ṇ' (line 633) 1748s # Converting 'Ṉ' => 'ṉ' (line 634) 1748s # Converting 'Ṋ' => 'ṋ' (line 635) 1748s # Converting 'Ṍ' => 'ṍ' (line 636) 1748s # Converting 'Ṏ' => 'ṏ' (line 637) 1748s # Converting 'Ṑ' => 'ṑ' (line 638) 1748s # Converting 'Ṓ' => 'ṓ' (line 639) 1748s # Converting 'Ṕ' => 'ṕ' (line 640) 1748s # Converting 'Ṗ' => 'ṗ' (line 641) 1748s # Converting 'Ṙ' => 'ṙ' (line 642) 1748s # Converting 'Ṛ' => 'ṛ' (line 643) 1748s # Converting 'Ṝ' => 'ṝ' (line 644) 1748s # Converting 'Ṟ' => 'ṟ' (line 645) 1748s # Converting 'Ṡ' => 'ṡ' (line 646) 1748s # Converting 'Ṣ' => 'ṣ' (line 647) 1748s # Converting 'Ṥ' => 'ṥ' (line 648) 1748s # Converting 'Ṧ' => 'ṧ' (line 649) 1748s # Converting 'Ṩ' => 'ṩ' (line 650) 1748s # Converting 'Ṫ' => 'ṫ' (line 651) 1748s # Converting 'Ṭ' => 'ṭ' (line 652) 1748s # Converting 'Ṯ' => 'ṯ' (line 653) 1748s # Converting 'Ṱ' => 'ṱ' (line 654) 1748s # Converting 'Ṳ' => 'ṳ' (line 655) 1748s # Converting 'Ṵ' => 'ṵ' (line 656) 1748s # Converting 'Ṷ' => 'ṷ' (line 657) 1748s # Converting 'Ṹ' => 'ṹ' (line 658) 1748s # Converting 'Ṻ' => 'ṻ' (line 659) 1748s # Converting 'Ṽ' => 'ṽ' (line 660) 1748s # Converting 'Ṿ' => 'ṿ' (line 661) 1748s # Converting 'Ẁ' => 'ẁ' (line 662) 1748s # Converting 'Ẃ' => 'ẃ' (line 663) 1748s # Converting 'Ẅ' => 'ẅ' (line 664) 1748s # Converting 'Ẇ' => 'ẇ' (line 665) 1748s # Converting 'Ẉ' => 'ẉ' (line 666) 1748s # Converting 'Ẋ' => 'ẋ' (line 667) 1748s # Converting 'Ẍ' => 'ẍ' (line 668) 1748s # Converting 'Ẏ' => 'ẏ' (line 669) 1748s # Converting 'Ẑ' => 'ẑ' (line 670) 1748s # Converting 'Ẓ' => 'ẓ' (line 671) 1748s # Converting 'Ẕ' => 'ẕ' (line 672) 1748s # Converting 'ẖ' => 'ẖ' (line 673) 1748s # Converting 'ẗ' => 'ẗ' (line 674) 1748s # Converting 'ẘ' => 'ẘ' (line 675) 1748s # Converting 'ẙ' => 'ẙ' (line 676) 1748s # Converting 'ẚ' => 'aʾ' (line 677) 1748s # Converting 'ẛ' => 'ṡ' (line 678) 1748s # Converting 'ẞ' => 'ss' (line 679) 1748s # Converting 'Ạ' => 'ạ' (line 680) 1748s # Converting 'Ả' => 'ả' (line 681) 1748s # Converting 'Ấ' => 'ấ' (line 682) 1748s # Converting 'Ầ' => 'ầ' (line 683) 1748s # Converting 'Ẩ' => 'ẩ' (line 684) 1748s # Converting 'Ẫ' => 'ẫ' (line 685) 1748s # Converting 'Ậ' => 'ậ' (line 686) 1748s # Converting 'Ắ' => 'ắ' (line 687) 1748s # Converting 'Ằ' => 'ằ' (line 688) 1748s # Converting 'Ẳ' => 'ẳ' (line 689) 1748s # Converting 'Ẵ' => 'ẵ' (line 690) 1748s # Converting 'Ặ' => 'ặ' (line 691) 1748s # Converting 'Ẹ' => 'ẹ' (line 692) 1748s # Converting 'Ẻ' => 'ẻ' (line 693) 1748s # Converting 'Ẽ' => 'ẽ' (line 694) 1748s # Converting 'Ế' => 'ế' (line 695) 1748s # Converting 'Ề' => 'ề' (line 696) 1748s # Converting 'Ể' => 'ể' (line 697) 1748s # Converting 'Ễ' => 'ễ' (line 698) 1748s # Converting 'Ệ' => 'ệ' (line 699) 1748s # Converting 'Ỉ' => 'ỉ' (line 700) 1748s # Converting 'Ị' => 'ị' (line 701) 1748s # Converting 'Ọ' => 'ọ' (line 702) 1748s # Converting 'Ỏ' => 'ỏ' (line 703) 1748s # Converting 'Ố' => 'ố' (line 704) 1748s # Converting 'Ồ' => 'ồ' (line 705) 1748s # Converting 'Ổ' => 'ổ' (line 706) 1748s # Converting 'Ỗ' => 'ỗ' (line 707) 1748s # Converting 'Ộ' => 'ộ' (line 708) 1748s # Converting 'Ớ' => 'ớ' (line 709) 1748s # Converting 'Ờ' => 'ờ' (line 710) 1748s # Converting 'Ở' => 'ở' (line 711) 1748s # Converting 'Ỡ' => 'ỡ' (line 712) 1748s # Converting 'Ợ' => 'ợ' (line 713) 1748s # Converting 'Ụ' => 'ụ' (line 714) 1748s # Converting 'Ủ' => 'ủ' (line 715) 1748s # Converting 'Ứ' => 'ứ' (line 716) 1748s # Converting 'Ừ' => 'ừ' (line 717) 1748s # Converting 'Ử' => 'ử' (line 718) 1748s # Converting 'Ữ' => 'ữ' (line 719) 1748s # Converting 'Ự' => 'ự' (line 720) 1748s # Converting 'Ỳ' => 'ỳ' (line 721) 1748s # Converting 'Ỵ' => 'ỵ' (line 722) 1748s # Converting 'Ỷ' => 'ỷ' (line 723) 1748s # Converting 'Ỹ' => 'ỹ' (line 724) 1748s # Converting 'Ỻ' => 'ỻ' (line 725) 1748s # Converting 'Ỽ' => 'ỽ' (line 726) 1748s # Converting 'Ỿ' => 'ỿ' (line 727) 1748s # Converting 'Ἀ' => 'ἀ' (line 728) 1748s # Converting 'Ἁ' => 'ἁ' (line 729) 1748s # Converting 'Ἂ' => 'ἂ' (line 730) 1748s # Converting 'Ἃ' => 'ἃ' (line 731) 1748s # Converting 'Ἄ' => 'ἄ' (line 732) 1748s # Converting 'Ἅ' => 'ἅ' (line 733) 1748s # Converting 'Ἆ' => 'ἆ' (line 734) 1748s # Converting 'Ἇ' => 'ἇ' (line 735) 1748s # Converting 'Ἐ' => 'ἐ' (line 736) 1748s # Converting 'Ἑ' => 'ἑ' (line 737) 1748s # Converting 'Ἒ' => 'ἒ' (line 738) 1748s # Converting 'Ἓ' => 'ἓ' (line 739) 1748s # Converting 'Ἔ' => 'ἔ' (line 740) 1748s # Converting 'Ἕ' => 'ἕ' (line 741) 1748s # Converting 'Ἠ' => 'ἠ' (line 742) 1748s # Converting 'Ἡ' => 'ἡ' (line 743) 1748s # Converting 'Ἢ' => 'ἢ' (line 744) 1748s # Converting 'Ἣ' => 'ἣ' (line 745) 1748s # Converting 'Ἤ' => 'ἤ' (line 746) 1748s # Converting 'Ἥ' => 'ἥ' (line 747) 1748s # Converting 'Ἦ' => 'ἦ' (line 748) 1748s # Converting 'Ἧ' => 'ἧ' (line 749) 1748s # Converting 'Ἰ' => 'ἰ' (line 750) 1748s # Converting 'Ἱ' => 'ἱ' (line 751) 1748s # Converting 'Ἲ' => 'ἲ' (line 752) 1748s # Converting 'Ἳ' => 'ἳ' (line 753) 1748s # Converting 'Ἴ' => 'ἴ' (line 754) 1748s # Converting 'Ἵ' => 'ἵ' (line 755) 1748s # Converting 'Ἶ' => 'ἶ' (line 756) 1748s # Converting 'Ἷ' => 'ἷ' (line 757) 1748s # Converting 'Ὀ' => 'ὀ' (line 758) 1748s # Converting 'Ὁ' => 'ὁ' (line 759) 1748s # Converting 'Ὂ' => 'ὂ' (line 760) 1748s # Converting 'Ὃ' => 'ὃ' (line 761) 1748s # Converting 'Ὄ' => 'ὄ' (line 762) 1748s # Converting 'Ὅ' => 'ὅ' (line 763) 1748s # Converting 'ὐ' => 'ὐ' (line 764) 1748s # Converting 'ὒ' => 'ὒ' (line 765) 1748s # Converting 'ὔ' => 'ὔ' (line 766) 1748s # Converting 'ὖ' => 'ὖ' (line 767) 1748s # Converting 'Ὑ' => 'ὑ' (line 768) 1748s # Converting 'Ὓ' => 'ὓ' (line 769) 1748s # Converting 'Ὕ' => 'ὕ' (line 770) 1748s # Converting 'Ὗ' => 'ὗ' (line 771) 1748s # Converting 'Ὠ' => 'ὠ' (line 772) 1748s # Converting 'Ὡ' => 'ὡ' (line 773) 1748s # Converting 'Ὢ' => 'ὢ' (line 774) 1748s # Converting 'Ὣ' => 'ὣ' (line 775) 1748s # Converting 'Ὤ' => 'ὤ' (line 776) 1748s # Converting 'Ὥ' => 'ὥ' (line 777) 1748s # Converting 'Ὦ' => 'ὦ' (line 778) 1748s # Converting 'Ὧ' => 'ὧ' (line 779) 1748s # Converting 'ᾀ' => 'ἀι' (line 780) 1748s # Converting 'ᾁ' => 'ἁι' (line 781) 1748s # Converting 'ᾂ' => 'ἂι' (line 782) 1748s # Converting 'ᾃ' => 'ἃι' (line 783) 1748s # Converting 'ᾄ' => 'ἄι' (line 784) 1748s # Converting 'ᾅ' => 'ἅι' (line 785) 1748s # Converting 'ᾆ' => 'ἆι' (line 786) 1748s # Converting 'ᾇ' => 'ἇι' (line 787) 1748s # Converting 'ᾈ' => 'ἀι' (line 788) 1748s # Converting 'ᾉ' => 'ἁι' (line 789) 1748s # Converting 'ᾊ' => 'ἂι' (line 790) 1748s # Converting 'ᾋ' => 'ἃι' (line 791) 1748s # Converting 'ᾌ' => 'ἄι' (line 792) 1748s # Converting 'ᾍ' => 'ἅι' (line 793) 1748s # Converting 'ᾎ' => 'ἆι' (line 794) 1748s # Converting 'ᾏ' => 'ἇι' (line 795) 1748s # Converting 'ᾐ' => 'ἠι' (line 796) 1748s # Converting 'ᾑ' => 'ἡι' (line 797) 1748s # Converting 'ᾒ' => 'ἢι' (line 798) 1748s # Converting 'ᾓ' => 'ἣι' (line 799) 1748s # Converting 'ᾔ' => 'ἤι' (line 800) 1748s # Converting 'ᾕ' => 'ἥι' (line 801) 1748s # Converting 'ᾖ' => 'ἦι' (line 802) 1748s # Converting 'ᾗ' => 'ἧι' (line 803) 1748s # Converting 'ᾘ' => 'ἠι' (line 804) 1748s # Converting 'ᾙ' => 'ἡι' (line 805) 1748s # Converting 'ᾚ' => 'ἢι' (line 806) 1748s # Converting 'ᾛ' => 'ἣι' (line 807) 1748s # Converting 'ᾜ' => 'ἤι' (line 808) 1748s # Converting 'ᾝ' => 'ἥι' (line 809) 1748s # Converting 'ᾞ' => 'ἦι' (line 810) 1748s # Converting 'ᾟ' => 'ἧι' (line 811) 1748s # Converting 'ᾠ' => 'ὠι' (line 812) 1748s # Converting 'ᾡ' => 'ὡι' (line 813) 1748s # Converting 'ᾢ' => 'ὢι' (line 814) 1748s # Converting 'ᾣ' => 'ὣι' (line 815) 1748s # Converting 'ᾤ' => 'ὤι' (line 816) 1748s # Converting 'ᾥ' => 'ὥι' (line 817) 1748s # Converting 'ᾦ' => 'ὦι' (line 818) 1748s # Converting 'ᾧ' => 'ὧι' (line 819) 1748s # Converting 'ᾨ' => 'ὠι' (line 820) 1748s # Converting 'ᾩ' => 'ὡι' (line 821) 1748s # Converting 'ᾪ' => 'ὢι' (line 822) 1748s # Converting 'ᾫ' => 'ὣι' (line 823) 1748s # Converting 'ᾬ' => 'ὤι' (line 824) 1748s # Converting 'ᾭ' => 'ὥι' (line 825) 1748s # Converting 'ᾮ' => 'ὦι' (line 826) 1748s # Converting 'ᾯ' => 'ὧι' (line 827) 1748s # Converting 'ᾲ' => 'ὰι' (line 828) 1748s # Converting 'ᾳ' => 'αι' (line 829) 1748s # Converting 'ᾴ' => 'άι' (line 830) 1748s # Converting 'ᾶ' => 'ᾶ' (line 831) 1748s # Converting 'ᾷ' => 'ᾶι' (line 832) 1748s # Converting 'Ᾰ' => 'ᾰ' (line 833) 1748s # Converting 'Ᾱ' => 'ᾱ' (line 834) 1748s # Converting 'Ὰ' => 'ὰ' (line 835) 1748s # Converting 'Ά' => 'ά' (line 836) 1748s # Converting 'ᾼ' => 'αι' (line 837) 1748s # Converting 'ι' => 'ι' (line 838) 1748s # Converting 'ῂ' => 'ὴι' (line 839) 1748s # Converting 'ῃ' => 'ηι' (line 840) 1748s # Converting 'ῄ' => 'ήι' (line 841) 1748s # Converting 'ῆ' => 'ῆ' (line 842) 1748s # Converting 'ῇ' => 'ῆι' (line 843) 1748s # Converting 'Ὲ' => 'ὲ' (line 844) 1748s # Converting 'Έ' => 'έ' (line 845) 1748s # Converting 'Ὴ' => 'ὴ' (line 846) 1748s # Converting 'Ή' => 'ή' (line 847) 1748s # Converting 'ῌ' => 'ηι' (line 848) 1748s # Converting 'ῒ' => 'ῒ' (line 849) 1748s # Converting 'ΐ' => 'ΐ' (line 850) 1748s # Converting 'ῖ' => 'ῖ' (line 851) 1748s # Converting 'ῗ' => 'ῗ' (line 852) 1748s # Converting 'Ῐ' => 'ῐ' (line 853) 1748s # Converting 'Ῑ' => 'ῑ' (line 854) 1748s # Converting 'Ὶ' => 'ὶ' (line 855) 1748s # Converting 'Ί' => 'ί' (line 856) 1748s # Converting 'ῢ' => 'ῢ' (line 857) 1748s # Converting 'ΰ' => 'ΰ' (line 858) 1748s # Converting 'ῤ' => 'ῤ' (line 859) 1748s # Converting 'ῦ' => 'ῦ' (line 860) 1748s # Converting 'ῧ' => 'ῧ' (line 861) 1748s # Converting 'Ῠ' => 'ῠ' (line 862) 1748s # Converting 'Ῡ' => 'ῡ' (line 863) 1748s # Converting 'Ὺ' => 'ὺ' (line 864) 1748s # Converting 'Ύ' => 'ύ' (line 865) 1748s # Converting 'Ῥ' => 'ῥ' (line 866) 1748s # Converting 'ῲ' => 'ὼι' (line 867) 1748s # Converting 'ῳ' => 'ωι' (line 868) 1748s # Converting 'ῴ' => 'ώι' (line 869) 1748s # Converting 'ῶ' => 'ῶ' (line 870) 1748s # Converting 'ῷ' => 'ῶι' (line 871) 1748s # Converting 'Ὸ' => 'ὸ' (line 872) 1748s # Converting 'Ό' => 'ό' (line 873) 1748s # Converting 'Ὼ' => 'ὼ' (line 874) 1748s # Converting 'Ώ' => 'ώ' (line 875) 1748s # Converting 'ῼ' => 'ωι' (line 876) 1748s # Converting 'Ω' => 'ω' (line 877) 1748s # Converting 'K' => 'k' (line 878) 1748s # Converting 'Å' => 'å' (line 879) 1748s # Converting 'Ⅎ' => 'ⅎ' (line 880) 1748s # Converting 'Ⅰ' => 'ⅰ' (line 881) 1748s # Converting 'Ⅱ' => 'ⅱ' (line 882) 1748s # Converting 'Ⅲ' => 'ⅲ' (line 883) 1748s # Converting 'Ⅳ' => 'ⅳ' (line 884) 1748s # Converting 'Ⅴ' => 'ⅴ' (line 885) 1748s # Converting 'Ⅵ' => 'ⅵ' (line 886) 1748s # Converting 'Ⅶ' => 'ⅶ' (line 887) 1748s # Converting 'Ⅷ' => 'ⅷ' (line 888) 1748s # Converting 'Ⅸ' => 'ⅸ' (line 889) 1748s # Converting 'Ⅹ' => 'ⅹ' (line 890) 1748s # Converting 'Ⅺ' => 'ⅺ' (line 891) 1748s # Converting 'Ⅻ' => 'ⅻ' (line 892) 1748s # Converting 'Ⅼ' => 'ⅼ' (line 893) 1748s # Converting 'Ⅽ' => 'ⅽ' (line 894) 1748s # Converting 'Ⅾ' => 'ⅾ' (line 895) 1748s # Converting 'Ⅿ' => 'ⅿ' (line 896) 1748s # Converting 'Ↄ' => 'ↄ' (line 897) 1748s # Converting 'Ⓐ' => 'ⓐ' (line 898) 1748s # Converting 'Ⓑ' => 'ⓑ' (line 899) 1748s # Converting 'Ⓒ' => 'ⓒ' (line 900) 1748s # Converting 'Ⓓ' => 'ⓓ' (line 901) 1748s # Converting 'Ⓔ' => 'ⓔ' (line 902) 1748s # Converting 'Ⓕ' => 'ⓕ' (line 903) 1748s # Converting 'Ⓖ' => 'ⓖ' (line 904) 1748s # Converting 'Ⓗ' => 'ⓗ' (line 905) 1748s # Converting 'Ⓘ' => 'ⓘ' (line 906) 1748s # Converting 'Ⓙ' => 'ⓙ' (line 907) 1748s # Converting 'Ⓚ' => 'ⓚ' (line 908) 1748s # Converting 'Ⓛ' => 'ⓛ' (line 909) 1748s # Converting 'Ⓜ' => 'ⓜ' (line 910) 1748s # Converting 'Ⓝ' => 'ⓝ' (line 911) 1748s # Converting 'Ⓞ' => 'ⓞ' (line 912) 1748s # Converting 'Ⓟ' => 'ⓟ' (line 913) 1748s # Converting 'Ⓠ' => 'ⓠ' (line 914) 1748s # Converting 'Ⓡ' => 'ⓡ' (line 915) 1748s # Converting 'Ⓢ' => 'ⓢ' (line 916) 1748s # Converting 'Ⓣ' => 'ⓣ' (line 917) 1748s # Converting 'Ⓤ' => 'ⓤ' (line 918) 1748s # Converting 'Ⓥ' => 'ⓥ' (line 919) 1748s # Converting 'Ⓦ' => 'ⓦ' (line 920) 1748s # Converting 'Ⓧ' => 'ⓧ' (line 921) 1748s # Converting 'Ⓨ' => 'ⓨ' (line 922) 1748s # Converting 'Ⓩ' => 'ⓩ' (line 923) 1748s # Converting 'Ⰰ' => 'ⰰ' (line 924) 1748s # Converting 'Ⰱ' => 'ⰱ' (line 925) 1748s # Converting 'Ⰲ' => 'ⰲ' (line 926) 1748s # Converting 'Ⰳ' => 'ⰳ' (line 927) 1748s # Converting 'Ⰴ' => 'ⰴ' (line 928) 1748s # Converting 'Ⰵ' => 'ⰵ' (line 929) 1748s # Converting 'Ⰶ' => 'ⰶ' (line 930) 1748s # Converting 'Ⰷ' => 'ⰷ' (line 931) 1748s # Converting 'Ⰸ' => 'ⰸ' (line 932) 1748s # Converting 'Ⰹ' => 'ⰹ' (line 933) 1748s # Converting 'Ⰺ' => 'ⰺ' (line 934) 1748s # Converting 'Ⰻ' => 'ⰻ' (line 935) 1748s # Converting 'Ⰼ' => 'ⰼ' (line 936) 1748s # Converting 'Ⰽ' => 'ⰽ' (line 937) 1748s # Converting 'Ⰾ' => 'ⰾ' (line 938) 1748s # Converting 'Ⰿ' => 'ⰿ' (line 939) 1748s # Converting 'Ⱀ' => 'ⱀ' (line 940) 1748s # Converting 'Ⱁ' => 'ⱁ' (line 941) 1748s # Converting 'Ⱂ' => 'ⱂ' (line 942) 1748s # Converting 'Ⱃ' => 'ⱃ' (line 943) 1748s # Converting 'Ⱄ' => 'ⱄ' (line 944) 1748s # Converting 'Ⱅ' => 'ⱅ' (line 945) 1748s # Converting 'Ⱆ' => 'ⱆ' (line 946) 1748s # Converting 'Ⱇ' => 'ⱇ' (line 947) 1748s # Converting 'Ⱈ' => 'ⱈ' (line 948) 1748s # Converting 'Ⱉ' => 'ⱉ' (line 949) 1748s # Converting 'Ⱊ' => 'ⱊ' (line 950) 1748s # Converting 'Ⱋ' => 'ⱋ' (line 951) 1748s # Converting 'Ⱌ' => 'ⱌ' (line 952) 1748s # Converting 'Ⱍ' => 'ⱍ' (line 953) 1748s # Converting 'Ⱎ' => 'ⱎ' (line 954) 1748s # Converting 'Ⱏ' => 'ⱏ' (line 955) 1748s # Converting 'Ⱐ' => 'ⱐ' (line 956) 1748s # Converting 'Ⱑ' => 'ⱑ' (line 957) 1748s # Converting 'Ⱒ' => 'ⱒ' (line 958) 1748s # Converting 'Ⱓ' => 'ⱓ' (line 959) 1748s # Converting 'Ⱔ' => 'ⱔ' (line 960) 1748s # Converting 'Ⱕ' => 'ⱕ' (line 961) 1748s # Converting 'Ⱖ' => 'ⱖ' (line 962) 1748s # Converting 'Ⱗ' => 'ⱗ' (line 963) 1748s # Converting 'Ⱘ' => 'ⱘ' (line 964) 1748s # Converting 'Ⱙ' => 'ⱙ' (line 965) 1748s # Converting 'Ⱚ' => 'ⱚ' (line 966) 1748s # Converting 'Ⱛ' => 'ⱛ' (line 967) 1748s # Converting 'Ⱜ' => 'ⱜ' (line 968) 1748s # Converting 'Ⱝ' => 'ⱝ' (line 969) 1748s # Converting 'Ⱞ' => 'ⱞ' (line 970) 1748s # Converting 'Ⱟ' => 'ⱟ' (line 971) 1748s # Converting 'Ⱡ' => 'ⱡ' (line 972) 1748s # Converting 'Ɫ' => 'ɫ' (line 973) 1748s # Converting 'Ᵽ' => 'ᵽ' (line 974) 1748s # Converting 'Ɽ' => 'ɽ' (line 975) 1748s # Converting 'Ⱨ' => 'ⱨ' (line 976) 1748s # Converting 'Ⱪ' => 'ⱪ' (line 977) 1748s # Converting 'Ⱬ' => 'ⱬ' (line 978) 1748s # Converting 'Ɑ' => 'ɑ' (line 979) 1748s # Converting 'Ɱ' => 'ɱ' (line 980) 1748s # Converting 'Ɐ' => 'ɐ' (line 981) 1748s # Converting 'Ɒ' => 'ɒ' (line 982) 1748s # Converting 'Ⱳ' => 'ⱳ' (line 983) 1748s # Converting 'Ⱶ' => 'ⱶ' (line 984) 1748s # Converting 'Ȿ' => 'ȿ' (line 985) 1748s # Converting 'Ɀ' => 'ɀ' (line 986) 1748s # Converting 'Ⲁ' => 'ⲁ' (line 987) 1748s # Converting 'Ⲃ' => 'ⲃ' (line 988) 1748s # Converting 'Ⲅ' => 'ⲅ' (line 989) 1748s # Converting 'Ⲇ' => 'ⲇ' (line 990) 1748s # Converting 'Ⲉ' => 'ⲉ' (line 991) 1748s # Converting 'Ⲋ' => 'ⲋ' (line 992) 1748s # Converting 'Ⲍ' => 'ⲍ' (line 993) 1748s # Converting 'Ⲏ' => 'ⲏ' (line 994) 1748s # Converting 'Ⲑ' => 'ⲑ' (line 995) 1748s # Converting 'Ⲓ' => 'ⲓ' (line 996) 1748s # Converting 'Ⲕ' => 'ⲕ' (line 997) 1748s # Converting 'Ⲗ' => 'ⲗ' (line 998) 1748s # Converting 'Ⲙ' => 'ⲙ' (line 999) 1748s # Converting 'Ⲛ' => 'ⲛ' (line 1000) 1748s # Converting 'Ⲝ' => 'ⲝ' (line 1001) 1748s # Converting 'Ⲟ' => 'ⲟ' (line 1002) 1748s # Converting 'Ⲡ' => 'ⲡ' (line 1003) 1748s # Converting 'Ⲣ' => 'ⲣ' (line 1004) 1748s # Converting 'Ⲥ' => 'ⲥ' (line 1005) 1748s # Converting 'Ⲧ' => 'ⲧ' (line 1006) 1748s # Converting 'Ⲩ' => 'ⲩ' (line 1007) 1748s # Converting 'Ⲫ' => 'ⲫ' (line 1008) 1748s # Converting 'Ⲭ' => 'ⲭ' (line 1009) 1748s # Converting 'Ⲯ' => 'ⲯ' (line 1010) 1748s # Converting 'Ⲱ' => 'ⲱ' (line 1011) 1748s # Converting 'Ⲳ' => 'ⲳ' (line 1012) 1748s # Converting 'Ⲵ' => 'ⲵ' (line 1013) 1748s # Converting 'Ⲷ' => 'ⲷ' (line 1014) 1748s # Converting 'Ⲹ' => 'ⲹ' (line 1015) 1748s # Converting 'Ⲻ' => 'ⲻ' (line 1016) 1748s # Converting 'Ⲽ' => 'ⲽ' (line 1017) 1748s # Converting 'Ⲿ' => 'ⲿ' (line 1018) 1748s # Converting 'Ⳁ' => 'ⳁ' (line 1019) 1748s # Converting 'Ⳃ' => 'ⳃ' (line 1020) 1748s # Converting 'Ⳅ' => 'ⳅ' (line 1021) 1748s # Converting 'Ⳇ' => 'ⳇ' (line 1022) 1748s # Converting 'Ⳉ' => 'ⳉ' (line 1023) 1748s # Converting 'Ⳋ' => 'ⳋ' (line 1024) 1748s # Converting 'Ⳍ' => 'ⳍ' (line 1025) 1748s # Converting 'Ⳏ' => 'ⳏ' (line 1026) 1748s # Converting 'Ⳑ' => 'ⳑ' (line 1027) 1748s # Converting 'Ⳓ' => 'ⳓ' (line 1028) 1748s # Converting 'Ⳕ' => 'ⳕ' (line 1029) 1748s # Converting 'Ⳗ' => 'ⳗ' (line 1030) 1748s # Converting 'Ⳙ' => 'ⳙ' (line 1031) 1748s # Converting 'Ⳛ' => 'ⳛ' (line 1032) 1748s # Converting 'Ⳝ' => 'ⳝ' (line 1033) 1748s # Converting 'Ⳟ' => 'ⳟ' (line 1034) 1748s # Converting 'Ⳡ' => 'ⳡ' (line 1035) 1748s # Converting 'Ⳣ' => 'ⳣ' (line 1036) 1748s # Converting 'Ⳬ' => 'ⳬ' (line 1037) 1748s # Converting 'Ⳮ' => 'ⳮ' (line 1038) 1748s # Converting 'Ⳳ' => 'ⳳ' (line 1039) 1748s # Converting 'Ꙁ' => 'ꙁ' (line 1040) 1748s # Converting 'Ꙃ' => 'ꙃ' (line 1041) 1748s # Converting 'Ꙅ' => 'ꙅ' (line 1042) 1748s # Converting 'Ꙇ' => 'ꙇ' (line 1043) 1748s # Converting 'Ꙉ' => 'ꙉ' (line 1044) 1748s # Converting 'Ꙋ' => 'ꙋ' (line 1045) 1748s # Converting 'Ꙍ' => 'ꙍ' (line 1046) 1748s # Converting 'Ꙏ' => 'ꙏ' (line 1047) 1748s # Converting 'Ꙑ' => 'ꙑ' (line 1048) 1748s # Converting 'Ꙓ' => 'ꙓ' (line 1049) 1748s # Converting 'Ꙕ' => 'ꙕ' (line 1050) 1748s # Converting 'Ꙗ' => 'ꙗ' (line 1051) 1748s # Converting 'Ꙙ' => 'ꙙ' (line 1052) 1748s # Converting 'Ꙛ' => 'ꙛ' (line 1053) 1748s # Converting 'Ꙝ' => 'ꙝ' (line 1054) 1748s # Converting 'Ꙟ' => 'ꙟ' (line 1055) 1748s # Converting 'Ꙡ' => 'ꙡ' (line 1056) 1748s # Converting 'Ꙣ' => 'ꙣ' (line 1057) 1748s # Converting 'Ꙥ' => 'ꙥ' (line 1058) 1748s # Converting 'Ꙧ' => 'ꙧ' (line 1059) 1748s # Converting 'Ꙩ' => 'ꙩ' (line 1060) 1748s # Converting 'Ꙫ' => 'ꙫ' (line 1061) 1748s # Converting 'Ꙭ' => 'ꙭ' (line 1062) 1748s # Converting 'Ꚁ' => 'ꚁ' (line 1063) 1748s # Converting 'Ꚃ' => 'ꚃ' (line 1064) 1748s # Converting 'Ꚅ' => 'ꚅ' (line 1065) 1748s # Converting 'Ꚇ' => 'ꚇ' (line 1066) 1748s # Converting 'Ꚉ' => 'ꚉ' (line 1067) 1748s # Converting 'Ꚋ' => 'ꚋ' (line 1068) 1748s # Converting 'Ꚍ' => 'ꚍ' (line 1069) 1748s # Converting 'Ꚏ' => 'ꚏ' (line 1070) 1748s # Converting 'Ꚑ' => 'ꚑ' (line 1071) 1748s # Converting 'Ꚓ' => 'ꚓ' (line 1072) 1748s # Converting 'Ꚕ' => 'ꚕ' (line 1073) 1748s # Converting 'Ꚗ' => 'ꚗ' (line 1074) 1748s # Converting 'Ꚙ' => 'ꚙ' (line 1075) 1748s # Converting 'Ꚛ' => 'ꚛ' (line 1076) 1748s # Converting 'Ꜣ' => 'ꜣ' (line 1077) 1748s # Converting 'Ꜥ' => 'ꜥ' (line 1078) 1748s # Converting 'Ꜧ' => 'ꜧ' (line 1079) 1748s # Converting 'Ꜩ' => 'ꜩ' (line 1080) 1748s # Converting 'Ꜫ' => 'ꜫ' (line 1081) 1748s # Converting 'Ꜭ' => 'ꜭ' (line 1082) 1748s # Converting 'Ꜯ' => 'ꜯ' (line 1083) 1748s # Converting 'Ꜳ' => 'ꜳ' (line 1084) 1748s # Converting 'Ꜵ' => 'ꜵ' (line 1085) 1748s # Converting 'Ꜷ' => 'ꜷ' (line 1086) 1748s # Converting 'Ꜹ' => 'ꜹ' (line 1087) 1748s # Converting 'Ꜻ' => 'ꜻ' (line 1088) 1748s # Converting 'Ꜽ' => 'ꜽ' (line 1089) 1748s # Converting 'Ꜿ' => 'ꜿ' (line 1090) 1748s # Converting 'Ꝁ' => 'ꝁ' (line 1091) 1748s # Converting 'Ꝃ' => 'ꝃ' (line 1092) 1748s # Converting 'Ꝅ' => 'ꝅ' (line 1093) 1748s # Converting 'Ꝇ' => 'ꝇ' (line 1094) 1748s # Converting 'Ꝉ' => 'ꝉ' (line 1095) 1748s # Converting 'Ꝋ' => 'ꝋ' (line 1096) 1748s # Converting 'Ꝍ' => 'ꝍ' (line 1097) 1748s # Converting 'Ꝏ' => 'ꝏ' (line 1098) 1748s # Converting 'Ꝑ' => 'ꝑ' (line 1099) 1748s # Converting 'Ꝓ' => 'ꝓ' (line 1100) 1748s # Converting 'Ꝕ' => 'ꝕ' (line 1101) 1748s # Converting 'Ꝗ' => 'ꝗ' (line 1102) 1748s # Converting 'Ꝙ' => 'ꝙ' (line 1103) 1748s # Converting 'Ꝛ' => 'ꝛ' (line 1104) 1748s # Converting 'Ꝝ' => 'ꝝ' (line 1105) 1748s # Converting 'Ꝟ' => 'ꝟ' (line 1106) 1748s # Converting 'Ꝡ' => 'ꝡ' (line 1107) 1748s # Converting 'Ꝣ' => 'ꝣ' (line 1108) 1748s # Converting 'Ꝥ' => 'ꝥ' (line 1109) 1748s # Converting 'Ꝧ' => 'ꝧ' (line 1110) 1748s # Converting 'Ꝩ' => 'ꝩ' (line 1111) 1748s # Converting 'Ꝫ' => 'ꝫ' (line 1112) 1748s # Converting 'Ꝭ' => 'ꝭ' (line 1113) 1748s # Converting 'Ꝯ' => 'ꝯ' (line 1114) 1748s # Converting 'Ꝺ' => 'ꝺ' (line 1115) 1748s # Converting 'Ꝼ' => 'ꝼ' (line 1116) 1748s # Converting 'Ᵹ' => 'ᵹ' (line 1117) 1748s # Converting 'Ꝿ' => 'ꝿ' (line 1118) 1748s # Converting 'Ꞁ' => 'ꞁ' (line 1119) 1748s # Converting 'Ꞃ' => 'ꞃ' (line 1120) 1748s # Converting 'Ꞅ' => 'ꞅ' (line 1121) 1748s # Converting 'Ꞇ' => 'ꞇ' (line 1122) 1748s # Converting 'Ꞌ' => 'ꞌ' (line 1123) 1748s # Converting 'Ɥ' => 'ɥ' (line 1124) 1748s # Converting 'Ꞑ' => 'ꞑ' (line 1125) 1748s # Converting 'Ꞓ' => 'ꞓ' (line 1126) 1748s # Converting 'Ꞗ' => 'ꞗ' (line 1127) 1748s # Converting 'Ꞙ' => 'ꞙ' (line 1128) 1748s # Converting 'Ꞛ' => 'ꞛ' (line 1129) 1748s # Converting 'Ꞝ' => 'ꞝ' (line 1130) 1748s # Converting 'Ꞟ' => 'ꞟ' (line 1131) 1748s # Converting 'Ꞡ' => 'ꞡ' (line 1132) 1748s # Converting 'Ꞣ' => 'ꞣ' (line 1133) 1748s # Converting 'Ꞥ' => 'ꞥ' (line 1134) 1748s # Converting 'Ꞧ' => 'ꞧ' (line 1135) 1748s # Converting 'Ꞩ' => 'ꞩ' (line 1136) 1748s # Converting 'Ɦ' => 'ɦ' (line 1137) 1748s # Converting 'Ɜ' => 'ɜ' (line 1138) 1748s # Converting 'Ɡ' => 'ɡ' (line 1139) 1748s # Converting 'Ɬ' => 'ɬ' (line 1140) 1748s # Converting 'Ɪ' => 'ɪ' (line 1141) 1748s # Converting 'Ʞ' => 'ʞ' (line 1142) 1748s # Converting 'Ʇ' => 'ʇ' (line 1143) 1748s # Converting 'Ʝ' => 'ʝ' (line 1144) 1748s # Converting 'Ꭓ' => 'ꭓ' (line 1145) 1748s # Converting 'Ꞵ' => 'ꞵ' (line 1146) 1748s # Converting 'Ꞷ' => 'ꞷ' (line 1147) 1748s # Converting 'Ꞹ' => 'ꞹ' (line 1148) 1748s # Converting 'Ꞻ' => 'ꞻ' (line 1149) 1748s # Converting 'Ꞽ' => 'ꞽ' (line 1150) 1748s # Converting 'Ꞿ' => 'ꞿ' (line 1151) 1748s # Converting 'Ꟁ' => 'ꟁ' (line 1152) 1748s # Converting 'Ꟃ' => 'ꟃ' (line 1153) 1748s # Converting 'Ꞔ' => 'ꞔ' (line 1154) 1748s # Converting 'Ʂ' => 'ʂ' (line 1155) 1748s # Converting 'Ᶎ' => 'ᶎ' (line 1156) 1748s # Converting 'Ꟈ' => 'ꟈ' (line 1157) 1748s # Converting 'Ꟊ' => 'ꟊ' (line 1158) 1748s # Converting 'Ɤ' => 'ɤ' (line 1159) 1748s # Converting 'Ꟍ' => 'ꟍ' (line 1160) 1748s # Converting '꟎' => '꟏' (line 1161) 1748s # Converting 'Ꟑ' => 'ꟑ' (line 1162) 1748s # Converting '꟒' => 'ꟓ' (line 1163) 1748s # Converting '꟔' => 'ꟕ' (line 1164) 1748s # Converting 'Ꟗ' => 'ꟗ' (line 1165) 1748s # Converting 'Ꟙ' => 'ꟙ' (line 1166) 1748s # Converting 'Ꟛ' => 'ꟛ' (line 1167) 1748s # Converting 'Ƛ' => 'ƛ' (line 1168) 1748s # Converting 'Ꟶ' => 'ꟶ' (line 1169) 1748s # Converting 'ꭰ' => 'Ꭰ' (line 1170) 1748s # Converting 'ꭱ' => 'Ꭱ' (line 1171) 1748s # Converting 'ꭲ' => 'Ꭲ' (line 1172) 1748s # Converting 'ꭳ' => 'Ꭳ' (line 1173) 1748s # Converting 'ꭴ' => 'Ꭴ' (line 1174) 1748s # Converting 'ꭵ' => 'Ꭵ' (line 1175) 1748s # Converting 'ꭶ' => 'Ꭶ' (line 1176) 1748s # Converting 'ꭷ' => 'Ꭷ' (line 1177) 1748s # Converting 'ꭸ' => 'Ꭸ' (line 1178) 1748s # Converting 'ꭹ' => 'Ꭹ' (line 1179) 1748s # Converting 'ꭺ' => 'Ꭺ' (line 1180) 1748s # Converting 'ꭻ' => 'Ꭻ' (line 1181) 1748s # Converting 'ꭼ' => 'Ꭼ' (line 1182) 1748s # Converting 'ꭽ' => 'Ꭽ' (line 1183) 1748s # Converting 'ꭾ' => 'Ꭾ' (line 1184) 1748s # Converting 'ꭿ' => 'Ꭿ' (line 1185) 1748s # Converting 'ꮀ' => 'Ꮀ' (line 1186) 1748s # Converting 'ꮁ' => 'Ꮁ' (line 1187) 1748s # Converting 'ꮂ' => 'Ꮂ' (line 1188) 1748s # Converting 'ꮃ' => 'Ꮃ' (line 1189) 1748s # Converting 'ꮄ' => 'Ꮄ' (line 1190) 1748s # Converting 'ꮅ' => 'Ꮅ' (line 1191) 1748s # Converting 'ꮆ' => 'Ꮆ' (line 1192) 1748s # Converting 'ꮇ' => 'Ꮇ' (line 1193) 1748s # Converting 'ꮈ' => 'Ꮈ' (line 1194) 1748s # Converting 'ꮉ' => 'Ꮉ' (line 1195) 1748s # Converting 'ꮊ' => 'Ꮊ' (line 1196) 1748s # Converting 'ꮋ' => 'Ꮋ' (line 1197) 1748s # Converting 'ꮌ' => 'Ꮌ' (line 1198) 1748s # Converting 'ꮍ' => 'Ꮍ' (line 1199) 1748s # Converting 'ꮎ' => 'Ꮎ' (line 1200) 1748s # Converting 'ꮏ' => 'Ꮏ' (line 1201) 1748s # Converting 'ꮐ' => 'Ꮐ' (line 1202) 1748s # Converting 'ꮑ' => 'Ꮑ' (line 1203) 1748s # Converting 'ꮒ' => 'Ꮒ' (line 1204) 1748s # Converting 'ꮓ' => 'Ꮓ' (line 1205) 1748s # Converting 'ꮔ' => 'Ꮔ' (line 1206) 1748s # Converting 'ꮕ' => 'Ꮕ' (line 1207) 1748s # Converting 'ꮖ' => 'Ꮖ' (line 1208) 1748s # Converting 'ꮗ' => 'Ꮗ' (line 1209) 1748s # Converting 'ꮘ' => 'Ꮘ' (line 1210) 1748s # Converting 'ꮙ' => 'Ꮙ' (line 1211) 1748s # Converting 'ꮚ' => 'Ꮚ' (line 1212) 1748s # Converting 'ꮛ' => 'Ꮛ' (line 1213) 1748s # Converting 'ꮜ' => 'Ꮜ' (line 1214) 1748s # Converting 'ꮝ' => 'Ꮝ' (line 1215) 1748s # Converting 'ꮞ' => 'Ꮞ' (line 1216) 1748s # Converting 'ꮟ' => 'Ꮟ' (line 1217) 1748s # Converting 'ꮠ' => 'Ꮠ' (line 1218) 1748s # Converting 'ꮡ' => 'Ꮡ' (line 1219) 1748s # Converting 'ꮢ' => 'Ꮢ' (line 1220) 1748s # Converting 'ꮣ' => 'Ꮣ' (line 1221) 1748s # Converting 'ꮤ' => 'Ꮤ' (line 1222) 1748s # Converting 'ꮥ' => 'Ꮥ' (line 1223) 1748s # Converting 'ꮦ' => 'Ꮦ' (line 1224) 1748s # Converting 'ꮧ' => 'Ꮧ' (line 1225) 1748s # Converting 'ꮨ' => 'Ꮨ' (line 1226) 1748s # Converting 'ꮩ' => 'Ꮩ' (line 1227) 1748s # Converting 'ꮪ' => 'Ꮪ' (line 1228) 1748s # Converting 'ꮫ' => 'Ꮫ' (line 1229) 1748s # Converting 'ꮬ' => 'Ꮬ' (line 1230) 1748s # Converting 'ꮭ' => 'Ꮭ' (line 1231) 1748s # Converting 'ꮮ' => 'Ꮮ' (line 1232) 1748s # Converting 'ꮯ' => 'Ꮯ' (line 1233) 1748s # Converting 'ꮰ' => 'Ꮰ' (line 1234) 1748s # Converting 'ꮱ' => 'Ꮱ' (line 1235) 1748s # Converting 'ꮲ' => 'Ꮲ' (line 1236) 1748s # Converting 'ꮳ' => 'Ꮳ' (line 1237) 1748s # Converting 'ꮴ' => 'Ꮴ' (line 1238) 1748s # Converting 'ꮵ' => 'Ꮵ' (line 1239) 1748s # Converting 'ꮶ' => 'Ꮶ' (line 1240) 1748s # Converting 'ꮷ' => 'Ꮷ' (line 1241) 1748s # Converting 'ꮸ' => 'Ꮸ' (line 1242) 1748s # Converting 'ꮹ' => 'Ꮹ' (line 1243) 1748s # Converting 'ꮺ' => 'Ꮺ' (line 1244) 1748s # Converting 'ꮻ' => 'Ꮻ' (line 1245) 1748s # Converting 'ꮼ' => 'Ꮼ' (line 1246) 1748s # Converting 'ꮽ' => 'Ꮽ' (line 1247) 1748s # Converting 'ꮾ' => 'Ꮾ' (line 1248) 1748s # Converting 'ꮿ' => 'Ꮿ' (line 1249) 1748s # Converting 'ff' => 'ff' (line 1250) 1748s # Converting 'fi' => 'fi' (line 1251) 1748s # Converting 'fl' => 'fl' (line 1252) 1748s # Converting 'ffi' => 'ffi' (line 1253) 1748s # Converting 'ffl' => 'ffl' (line 1254) 1748s # Converting 'ſt' => 'st' (line 1255) 1748s # Converting 'st' => 'st' (line 1256) 1748s # Converting 'ﬓ' => 'մն' (line 1257) 1748s # Converting 'ﬔ' => 'մե' (line 1258) 1748s # Converting 'ﬕ' => 'մի' (line 1259) 1748s # Converting 'ﬖ' => 'վն' (line 1260) 1748s # Converting 'ﬗ' => 'մխ' (line 1261) 1748s # Converting 'A' => 'a' (line 1262) 1748s # Converting 'B' => 'b' (line 1263) 1748s # Converting 'C' => 'c' (line 1264) 1748s # Converting 'D' => 'd' (line 1265) 1748s # Converting 'E' => 'e' (line 1266) 1748s # Converting 'F' => 'f' (line 1267) 1748s # Converting 'G' => 'g' (line 1268) 1748s # Converting 'H' => 'h' (line 1269) 1748s # Converting 'I' => 'i' (line 1270) 1748s # Converting 'J' => 'j' (line 1271) 1748s # Converting 'K' => 'k' (line 1272) 1748s # Converting 'L' => 'l' (line 1273) 1748s # Converting 'M' => 'm' (line 1274) 1748s # Converting 'N' => 'n' (line 1275) 1748s # Converting 'O' => 'o' (line 1276) 1748s # Converting 'P' => 'p' (line 1277) 1748s # Converting 'Q' => 'q' (line 1278) 1748s # Converting 'R' => 'r' (line 1279) 1748s # Converting 'S' => 's' (line 1280) 1748s # Converting 'T' => 't' (line 1281) 1748s # Converting 'U' => 'u' (line 1282) 1748s # Converting 'V' => 'v' (line 1283) 1748s # Converting 'W' => 'w' (line 1284) 1748s # Converting 'X' => 'x' (line 1285) 1748s # Converting 'Y' => 'y' (line 1286) 1748s # Converting 'Z' => 'z' (line 1287) 1748s # Converting '𐐀' => '𐐨' (line 1288) 1748s # Converting '𐐁' => '𐐩' (line 1289) 1748s # Converting '𐐂' => '𐐪' (line 1290) 1748s # Converting '𐐃' => '𐐫' (line 1291) 1748s # Converting '𐐄' => '𐐬' (line 1292) 1748s # Converting '𐐅' => '𐐭' (line 1293) 1748s # Converting '𐐆' => '𐐮' (line 1294) 1748s # Converting '𐐇' => '𐐯' (line 1295) 1748s # Converting '𐐈' => '𐐰' (line 1296) 1748s # Converting '𐐉' => '𐐱' (line 1297) 1748s # Converting '𐐊' => '𐐲' (line 1298) 1748s # Converting '𐐋' => '𐐳' (line 1299) 1748s # Converting '𐐌' => '𐐴' (line 1300) 1748s # Converting '𐐍' => '𐐵' (line 1301) 1748s # Converting '𐐎' => '𐐶' (line 1302) 1748s # Converting '𐐏' => '𐐷' (line 1303) 1748s # Converting '𐐐' => '𐐸' (line 1304) 1748s # Converting '𐐑' => '𐐹' (line 1305) 1748s # Converting '𐐒' => '𐐺' (line 1306) 1748s # Converting '𐐓' => '𐐻' (line 1307) 1748s # Converting '𐐔' => '𐐼' (line 1308) 1748s # Converting '𐐕' => '𐐽' (line 1309) 1748s # Converting '𐐖' => '𐐾' (line 1310) 1748s # Converting '𐐗' => '𐐿' (line 1311) 1748s # Converting '𐐘' => '𐑀' (line 1312) 1748s # Converting '𐐙' => '𐑁' (line 1313) 1748s # Converting '𐐚' => '𐑂' (line 1314) 1748s # Converting '𐐛' => '𐑃' (line 1315) 1748s # Converting '𐐜' => '𐑄' (line 1316) 1748s # Converting '𐐝' => '𐑅' (line 1317) 1748s # Converting '𐐞' => '𐑆' (line 1318) 1748s # Converting '𐐟' => '𐑇' (line 1319) 1748s # Converting '𐐠' => '𐑈' (line 1320) 1748s # Converting '𐐡' => '𐑉' (line 1321) 1748s # Converting '𐐢' => '𐑊' (line 1322) 1748s # Converting '𐐣' => '𐑋' (line 1323) 1748s # Converting '𐐤' => '𐑌' (line 1324) 1748s # Converting '𐐥' => '𐑍' (line 1325) 1748s # Converting '𐐦' => '𐑎' (line 1326) 1748s # Converting '𐐧' => '𐑏' (line 1327) 1748s # Converting '𐒰' => '𐓘' (line 1328) 1748s # Converting '𐒱' => '𐓙' (line 1329) 1748s # Converting '𐒲' => '𐓚' (line 1330) 1748s # Converting '𐒳' => '𐓛' (line 1331) 1748s # Converting '𐒴' => '𐓜' (line 1332) 1748s # Converting '𐒵' => '𐓝' (line 1333) 1748s # Converting '𐒶' => '𐓞' (line 1334) 1748s # Converting '𐒷' => '𐓟' (line 1335) 1748s # Converting '𐒸' => '𐓠' (line 1336) 1748s # Converting '𐒹' => '𐓡' (line 1337) 1748s # Converting '𐒺' => '𐓢' (line 1338) 1748s # Converting '𐒻' => '𐓣' (line 1339) 1748s # Converting '𐒼' => '𐓤' (line 1340) 1748s # Converting '𐒽' => '𐓥' (line 1341) 1748s # Converting '𐒾' => '𐓦' (line 1342) 1748s # Converting '𐒿' => '𐓧' (line 1343) 1748s # Converting '𐓀' => '𐓨' (line 1344) 1748s # Converting '𐓁' => '𐓩' (line 1345) 1748s # Converting '𐓂' => '𐓪' (line 1346) 1748s # Converting '𐓃' => '𐓫' (line 1347) 1748s # Converting '𐓄' => '𐓬' (line 1348) 1748s # Converting '𐓅' => '𐓭' (line 1349) 1748s # Converting '𐓆' => '𐓮' (line 1350) 1748s # Converting '𐓇' => '𐓯' (line 1351) 1748s # Converting '𐓈' => '𐓰' (line 1352) 1748s # Converting '𐓉' => '𐓱' (line 1353) 1748s # Converting '𐓊' => '𐓲' (line 1354) 1748s # Converting '𐓋' => '𐓳' (line 1355) 1748s # Converting '𐓌' => '𐓴' (line 1356) 1748s # Converting '𐓍' => '𐓵' (line 1357) 1748s # Converting '𐓎' => '𐓶' (line 1358) 1748s # Converting '𐓏' => '𐓷' (line 1359) 1748s # Converting '𐓐' => '𐓸' (line 1360) 1748s # Converting '𐓑' => '𐓹' (line 1361) 1748s # Converting '𐓒' => '𐓺' (line 1362) 1748s # Converting '𐓓' => '𐓻' (line 1363) 1748s # Converting '𐕰' => '𐖗' (line 1364) 1748s # Converting '𐕱' => '𐖘' (line 1365) 1748s # Converting '𐕲' => '𐖙' (line 1366) 1748s # Converting '𐕳' => '𐖚' (line 1367) 1748s # Converting '𐕴' => '𐖛' (line 1368) 1748s # Converting '𐕵' => '𐖜' (line 1369) 1748s # Converting '𐕶' => '𐖝' (line 1370) 1748s # Converting '𐕷' => '𐖞' (line 1371) 1748s # Converting '𐕸' => '𐖟' (line 1372) 1748s # Converting '𐕹' => '𐖠' (line 1373) 1748s # Converting '𐕺' => '𐖡' (line 1374) 1748s # Converting '𐕼' => '𐖣' (line 1375) 1748s # Converting '𐕽' => '𐖤' (line 1376) 1748s # Converting '𐕾' => '𐖥' (line 1377) 1748s # Converting '𐕿' => '𐖦' (line 1378) 1748s # Converting '𐖀' => '𐖧' (line 1379) 1748s # Converting '𐖁' => '𐖨' (line 1380) 1748s # Converting '𐖂' => '𐖩' (line 1381) 1748s # Converting '𐖃' => '𐖪' (line 1382) 1748s # Converting '𐖄' => '𐖫' (line 1383) 1748s # Converting '𐖅' => '𐖬' (line 1384) 1748s # Converting '𐖆' => '𐖭' (line 1385) 1748s # Converting '𐖇' => '𐖮' (line 1386) 1748s # Converting '𐖈' => '𐖯' (line 1387) 1748s # Converting '𐖉' => '𐖰' (line 1388) 1748s # Converting '𐖊' => '𐖱' (line 1389) 1748s # Converting '𐖌' => '𐖳' (line 1390) 1748s # Converting '𐖍' => '𐖴' (line 1391) 1748s # Converting '𐖎' => '𐖵' (line 1392) 1748s # Converting '𐖏' => '𐖶' (line 1393) 1748s # Converting '𐖐' => '𐖷' (line 1394) 1748s # Converting '𐖑' => '𐖸' (line 1395) 1748s # Converting '𐖒' => '𐖹' (line 1396) 1748s # Converting '𐖔' => '𐖻' (line 1397) 1748s # Converting '𐖕' => '𐖼' (line 1398) 1748s # Converting '𐲀' => '𐳀' (line 1399) 1748s # Converting '𐲁' => '𐳁' (line 1400) 1748s # Converting '𐲂' => '𐳂' (line 1401) 1748s # Converting '𐲃' => '𐳃' (line 1402) 1748s # Converting '𐲄' => '𐳄' (line 1403) 1748s # Converting '𐲅' => '𐳅' (line 1404) 1748s # Converting '𐲆' => '𐳆' (line 1405) 1748s # Converting '𐲇' => '𐳇' (line 1406) 1748s # Converting '𐲈' => '𐳈' (line 1407) 1748s # Converting '𐲉' => '𐳉' (line 1408) 1748s # Converting '𐲊' => '𐳊' (line 1409) 1748s # Converting '𐲋' => '𐳋' (line 1410) 1748s # Converting '𐲌' => '𐳌' (line 1411) 1748s # Converting '𐲍' => '𐳍' (line 1412) 1748s # Converting '𐲎' => '𐳎' (line 1413) 1748s # Converting '𐲏' => '𐳏' (line 1414) 1748s # Converting '𐲐' => '𐳐' (line 1415) 1748s # Converting '𐲑' => '𐳑' (line 1416) 1748s # Converting '𐲒' => '𐳒' (line 1417) 1748s # Converting '𐲓' => '𐳓' (line 1418) 1748s # Converting '𐲔' => '𐳔' (line 1419) 1748s # Converting '𐲕' => '𐳕' (line 1420) 1748s # Converting '𐲖' => '𐳖' (line 1421) 1748s # Converting '𐲗' => '𐳗' (line 1422) 1748s # Converting '𐲘' => '𐳘' (line 1423) 1748s # Converting '𐲙' => '𐳙' (line 1424) 1748s # Converting '𐲚' => '𐳚' (line 1425) 1748s # Converting '𐲛' => '𐳛' (line 1426) 1748s # Converting '𐲜' => '𐳜' (line 1427) 1748s # Converting '𐲝' => '𐳝' (line 1428) 1748s # Converting '𐲞' => '𐳞' (line 1429) 1748s # Converting '𐲟' => '𐳟' (line 1430) 1748s # Converting '𐲠' => '𐳠' (line 1431) 1748s # Converting '𐲡' => '𐳡' (line 1432) 1748s # Converting '𐲢' => '𐳢' (line 1433) 1748s # Converting '𐲣' => '𐳣' (line 1434) 1748s # Converting '𐲤' => '𐳤' (line 1435) 1748s # Converting '𐲥' => '𐳥' (line 1436) 1748s # Converting '𐲦' => '𐳦' (line 1437) 1748s # Converting '𐲧' => '𐳧' (line 1438) 1748s # Converting '𐲨' => '𐳨' (line 1439) 1748s # Converting '𐲩' => '𐳩' (line 1440) 1748s # Converting '𐲪' => '𐳪' (line 1441) 1748s # Converting '𐲫' => '𐳫' (line 1442) 1748s # Converting '𐲬' => '𐳬' (line 1443) 1748s # Converting '𐲭' => '𐳭' (line 1444) 1748s # Converting '𐲮' => '𐳮' (line 1445) 1748s # Converting '𐲯' => '𐳯' (line 1446) 1748s # Converting '𐲰' => '𐳰' (line 1447) 1748s # Converting '𐲱' => '𐳱' (line 1448) 1748s # Converting '𐲲' => '𐳲' (line 1449) 1748s # Converting '𐵐' => '𐵰' (line 1450) 1748s # Converting '𐵑' => '𐵱' (line 1451) 1748s # Converting '𐵒' => '𐵲' (line 1452) 1748s # Converting '𐵓' => '𐵳' (line 1453) 1748s # Converting '𐵔' => '𐵴' (line 1454) 1748s # Converting '𐵕' => '𐵵' (line 1455) 1748s # Converting '𐵖' => '𐵶' (line 1456) 1748s # Converting '𐵗' => '𐵷' (line 1457) 1748s # Converting '𐵘' => '𐵸' (line 1458) 1748s # Converting '𐵙' => '𐵹' (line 1459) 1748s # Converting '𐵚' => '𐵺' (line 1460) 1748s # Converting '𐵛' => '𐵻' (line 1461) 1748s # Converting '𐵜' => '𐵼' (line 1462) 1748s # Converting '𐵝' => '𐵽' (line 1463) 1748s # Converting '𐵞' => '𐵾' (line 1464) 1748s # Converting '𐵟' => '𐵿' (line 1465) 1748s # Converting '𐵠' => '𐶀' (line 1466) 1748s # Converting '𐵡' => '𐶁' (line 1467) 1748s # Converting '𐵢' => '𐶂' (line 1468) 1748s # Converting '𐵣' => '𐶃' (line 1469) 1748s # Converting '𐵤' => '𐶄' (line 1470) 1748s # Converting '𐵥' => '𐶅' (line 1471) 1748s # Converting '𑢠' => '𑣀' (line 1472) 1748s # Converting '𑢡' => '𑣁' (line 1473) 1748s # Converting '𑢢' => '𑣂' (line 1474) 1748s # Converting '𑢣' => '𑣃' (line 1475) 1748s # Converting '𑢤' => '𑣄' (line 1476) 1748s # Converting '𑢥' => '𑣅' (line 1477) 1748s # Converting '𑢦' => '𑣆' (line 1478) 1748s # Converting '𑢧' => '𑣇' (line 1479) 1748s # Converting '𑢨' => '𑣈' (line 1480) 1748s # Converting '𑢩' => '𑣉' (line 1481) 1748s # Converting '𑢪' => '𑣊' (line 1482) 1748s # Converting '𑢫' => '𑣋' (line 1483) 1748s # Converting '𑢬' => '𑣌' (line 1484) 1748s # Converting '𑢭' => '𑣍' (line 1485) 1748s # Converting '𑢮' => '𑣎' (line 1486) 1748s # Converting '𑢯' => '𑣏' (line 1487) 1748s # Converting '𑢰' => '𑣐' (line 1488) 1748s # Converting '𑢱' => '𑣑' (line 1489) 1748s # Converting '𑢲' => '𑣒' (line 1490) 1748s # Converting '𑢳' => '𑣓' (line 1491) 1748s # Converting '𑢴' => '𑣔' (line 1492) 1748s # Converting '𑢵' => '𑣕' (line 1493) 1748s # Converting '𑢶' => '𑣖' (line 1494) 1748s # Converting '𑢷' => '𑣗' (line 1495) 1748s # Converting '𑢸' => '𑣘' (line 1496) 1748s # Converting '𑢹' => '𑣙' (line 1497) 1748s # Converting '𑢺' => '𑣚' (line 1498) 1748s # Converting '𑢻' => '𑣛' (line 1499) 1748s # Converting '𑢼' => '𑣜' (line 1500) 1748s # Converting '𑢽' => '𑣝' (line 1501) 1748s # Converting '𑢾' => '𑣞' (line 1502) 1748s # Converting '𑢿' => '𑣟' (line 1503) 1748s # Converting '𖹀' => '𖹠' (line 1504) 1748s # Converting '𖹁' => '𖹡' (line 1505) 1748s # Converting '𖹂' => '𖹢' (line 1506) 1748s # Converting '𖹃' => '𖹣' (line 1507) 1748s # Converting '𖹄' => '𖹤' (line 1508) 1748s # Converting '𖹅' => '𖹥' (line 1509) 1748s # Converting '𖹆' => '𖹦' (line 1510) 1748s # Converting '𖹇' => '𖹧' (line 1511) 1748s # Converting '𖹈' => '𖹨' (line 1512) 1748s # Converting '𖹉' => '𖹩' (line 1513) 1748s # Converting '𖹊' => '𖹪' (line 1514) 1748s # Converting '𖹋' => '𖹫' (line 1515) 1748s # Converting '𖹌' => '𖹬' (line 1516) 1748s # Converting '𖹍' => '𖹭' (line 1517) 1748s # Converting '𖹎' => '𖹮' (line 1518) 1748s # Converting '𖹏' => '𖹯' (line 1519) 1748s # Converting '𖹐' => '𖹰' (line 1520) 1748s # Converting '𖹑' => '𖹱' (line 1521) 1748s # Converting '𖹒' => '𖹲' (line 1522) 1748s # Converting '𖹓' => '𖹳' (line 1523) 1748s # Converting '𖹔' => '𖹴' (line 1524) 1748s # Converting '𖹕' => '𖹵' (line 1525) 1748s # Converting '𖹖' => '𖹶' (line 1526) 1748s # Converting '𖹗' => '𖹷' (line 1527) 1748s # Converting '𖹘' => '𖹸' (line 1528) 1748s # Converting '𖹙' => '𖹹' (line 1529) 1748s # Converting '𖹚' => '𖹺' (line 1530) 1748s # Converting '𖹛' => '𖹻' (line 1531) 1748s # Converting '𖹜' => '𖹼' (line 1532) 1748s # Converting '𖹝' => '𖹽' (line 1533) 1748s # Converting '𖹞' => '𖹾' (line 1534) 1748s # Converting '𖹟' => '𖹿' (line 1535) 1748s # Converting '𖺠' => '𖺻' (line 1536) 1748s # Converting '𖺡' => '𖺼' (line 1537) 1748s # Converting '𖺢' => '𖺽' (line 1538) 1748s # Converting '𖺣' => '𖺾' (line 1539) 1748s # Converting '𖺤' => '𖺿' (line 1540) 1748s # Converting '𖺥' => '𖻀' (line 1541) 1748s # Converting '𖺦' => '𖻁' (line 1542) 1748s # Converting '𖺧' => '𖻂' (line 1543) 1748s # Converting '𖺨' => '𖻃' (line 1544) 1748s # Converting '𖺩' => '𖻄' (line 1545) 1748s # Converting '𖺪' => '𖻅' (line 1546) 1748s # Converting '𖺫' => '𖻆' (line 1547) 1748s # Converting '𖺬' => '𖻇' (line 1548) 1748s # Converting '𖺭' => '𖻈' (line 1549) 1748s # Converting '𖺮' => '𖻉' (line 1550) 1748s # Converting '𖺯' => '𖻊' (line 1551) 1748s # Converting '𖺰' => '𖻋' (line 1552) 1748s # Converting '𖺱' => '𖻌' (line 1553) 1748s # Converting '𖺲' => '𖻍' (line 1554) 1748s # Converting '𖺳' => '𖻎' (line 1555) 1748s # Converting '𖺴' => '𖻏' (line 1556) 1748s # Converting '𖺵' => '𖻐' (line 1557) 1748s # Converting '𖺶' => '𖻑' (line 1558) 1748s # Converting '𖺷' => '𖻒' (line 1559) 1748s # Converting '𖺸' => '𖻓' (line 1560) 1748s # Converting '𞤀' => '𞤢' (line 1561) 1748s # Converting '𞤁' => '𞤣' (line 1562) 1748s # Converting '𞤂' => '𞤤' (line 1563) 1748s # Converting '𞤃' => '𞤥' (line 1564) 1748s # Converting '𞤄' => '𞤦' (line 1565) 1748s # Converting '𞤅' => '𞤧' (line 1566) 1748s # Converting '𞤆' => '𞤨' (line 1567) 1748s # Converting '𞤇' => '𞤩' (line 1568) 1748s # Converting '𞤈' => '𞤪' (line 1569) 1748s # Converting '𞤉' => '𞤫' (line 1570) 1748s # Converting '𞤊' => '𞤬' (line 1571) 1748s # Converting '𞤋' => '𞤭' (line 1572) 1748s # Converting '𞤌' => '𞤮' (line 1573) 1748s # Converting '𞤍' => '𞤯' (line 1574) 1748s # Converting '𞤎' => '𞤰' (line 1575) 1748s # Converting '𞤏' => '𞤱' (line 1576) 1748s # Converting '𞤐' => '𞤲' (line 1577) 1748s # Converting '𞤑' => '𞤳' (line 1578) 1748s # Converting '𞤒' => '𞤴' (line 1579) 1748s # Converting '𞤓' => '𞤵' (line 1580) 1748s # Converting '𞤔' => '𞤶' (line 1581) 1748s # Converting '𞤕' => '𞤷' (line 1582) 1748s # Converting '𞤖' => '𞤸' (line 1583) 1748s # Converting '𞤗' => '𞤹' (line 1584) 1748s # Converting '𞤘' => '𞤺' (line 1585) 1748s # Converting '𞤙' => '𞤻' (line 1586) 1748s # Converting '𞤚' => '𞤼' (line 1587) 1748s # Converting '𞤛' => '𞤽' (line 1588) 1748s # Converting '𞤜' => '𞤾' (line 1589) 1748s # Converting '𞤝' => '𞤿' (line 1590) 1748s # Converting '𞤞' => '𞥀' (line 1591) 1748s # Converting '𞤟' => '𞥁' (line 1592) 1748s # Converting '𞤠' => '𞥂' (line 1593) 1748s # Converting '𞤡' => '𞥃' (line 1594) 1748s ok 6 /unicode/casemap_and_casefold 1748s ok 7 /unicode/cases 1748s ok 8 /unicode/character-type 1748s ok 9 /unicode/cntrl 1748s ok 10 /unicode/combining-class 1748s # Composing U+000041 and U+000042; expecting U+000000 1748s # Composing U+000041 and U+000000; expecting U+000000 1748s # Composing U+000066 and U+000069; expecting U+000000 1748s # Composing U+000308 and U+000301; expecting U+000000 1748s # Composing U+000f71 and U+000f72; expecting U+000000 1748s # Composing U+00212b and U+000000; expecting U+000000 1748s # Composing U+0000c5 and U+000000; expecting U+000000 1748s # Composing U+002126 and U+000000; expecting U+000000 1748s # Composing U+0003a9 and U+000000; expecting U+000000 1748s # Composing U+000041 and U+00030a; expecting U+0000c5 1748s # Composing U+00006f and U+000302; expecting U+0000f4 1748s # Composing U+001e63 and U+000307; expecting U+001e69 1748s # Composing U+000073 and U+000323; expecting U+001e63 1748s # Composing U+000064 and U+000307; expecting U+001e0b 1748s # Composing U+000064 and U+000323; expecting U+001e0d 1748s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 1748s # Composing U+001111 and U+001171; expecting U+00d4cc 1748s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 1748s # Composing U+00110e and U+001173; expecting U+00ce20 1748s # Composing U+001100 and U+001160; expecting U+000000 1748s # Composing U+001100 and U+001177; expecting U+000000 1748s # Composing U+00abff and U+0011b6; expecting U+000000 1748s # Composing U+00d7a5 and U+0011b6; expecting U+000000 1748s # Composing U+00ac01 and U+0011b6; expecting U+000000 1748s # Composing U+00d4cc and U+0011a6; expecting U+000000 1748s # Composing U+00d4cc and U+0011c4; expecting U+000000 1748s # Composing U+01611e and U+01611e; expecting U+016121 1748s # Composing U+01611e and U+01611f; expecting U+016123 1748s # Composing U+0000f6 and U+000304; expecting U+00022b 1748s # Composing U+000b47 and U+000b57; expecting U+000b4c 1748s # Composing U+0000a0 and U+000b57; expecting U+000000 1748s # Composing U+016e00 and U+00030a; expecting U+000000 1748s # Composing U+00212b and U+016e00; expecting U+000000 1748s # Composing U+001e63 and U+000306; expecting U+000000 1748s # Composing U+001e63 and U+000304; expecting U+000000 1748s # Composing U+001e63 and U+000b57; expecting U+000000 1748s # Composing U+001e63 and U+000000; expecting U+000000 1748s # Composing U+001e63 and U+0113c2; expecting U+000000 1748s # Composing U+001f01 and U+0113c2; expecting U+000000 1748s # Composing U+00006e and U+000302; expecting U+000000 1748s # Composing U+001e63 and U+01611f; expecting U+000000 1748s # Composing U+01138e and U+0113b8; expecting U+000000 1748s # Composing U+01611e and U+000000; expecting U+000000 1748s # Composing U+000000 and U+01611f; expecting U+000000 1748s # Composing U+011390 and U+0113c2; expecting U+000000 1748s ok 11 /unicode/compose 1748s ok 12 /unicode/decompose 1748s ok 13 /unicode/decompose-tail 1748s ok 14 /unicode/defined 1748s ok 15 /unicode/digit 1748s ok 16 /unicode/digit-value 1748s # Fully decomposing U+000041; expecting 1 codepoints 1748s # Fully decomposing U+00fb01; expecting 1 codepoints 1748s # Fully decomposing U+00212b; expecting 2 codepoints 1748s # Fully decomposing U+002126; expecting 1 codepoints 1748s # Fully decomposing U+000344; expecting 2 codepoints 1748s # Fully decomposing U+000f73; expecting 2 codepoints 1748s # Fully decomposing U+0000c5; expecting 2 codepoints 1748s # Fully decomposing U+0000f4; expecting 2 codepoints 1748s # Fully decomposing U+001e69; expecting 3 codepoints 1748s # Fully decomposing U+001e63; expecting 2 codepoints 1748s # Fully decomposing U+001e0b; expecting 2 codepoints 1748s # Fully decomposing U+001e0d; expecting 2 codepoints 1748s # Fully decomposing U+00d4db; expecting 3 codepoints 1748s # Fully decomposing U+00d4cc; expecting 2 codepoints 1748s # Fully decomposing U+00ce31; expecting 3 codepoints 1748s # Fully decomposing U+00ce20; expecting 2 codepoints 1748s ok 17 /unicode/fully-decompose-canonical 1748s ok 18 /unicode/fully-decompose-len 1748s ok 19 /unicode/normalization 1748s ok 20 /unicode/graph 1748s # Testing script Zyyy (code 1517910393) 1748s # Testing script Zinh (code 1516858984) 1748s # Testing script Zmth (code 1517122664) 1748s # Testing script Arab (code 1098015074) 1748s # Testing script Armn (code 1098018158) 1748s # Testing script Beng (code 1113943655) 1748s # Testing script Bopo (code 1114599535) 1748s # Testing script Cher (code 1130915186) 1748s # Testing script Copt (code 1131376756) 1748s # Testing script Cyrl (code 1132032620) 1748s # Testing script Dsrt (code 1148416628) 1748s # Testing script Deva (code 1147500129) 1748s # Testing script Ethi (code 1165256809) 1748s # Testing script Geor (code 1197830002) 1748s # Testing script Goth (code 1198486632) 1748s # Testing script Grek (code 1198679403) 1748s # Testing script Gujr (code 1198877298) 1748s # Testing script Guru (code 1198879349) 1748s # Testing script Hani (code 1214344809) 1748s # Testing script Hang (code 1214344807) 1748s # Testing script Hebr (code 1214603890) 1748s # Testing script Hira (code 1214870113) 1748s # Testing script Knda (code 1265525857) 1748s # Testing script Kana (code 1264676449) 1748s # Testing script Khmr (code 1265134962) 1748s # Testing script Laoo (code 1281453935) 1748s # Testing script Latn (code 1281455214) 1748s # Testing script Mlym (code 1298954605) 1748s # Testing script Mong (code 1299148391) 1748s # Testing script Mymr (code 1299803506) 1748s # Testing script Ogam (code 1332175213) 1748s # Testing script Ital (code 1232363884) 1748s # Testing script Orya (code 1332902241) 1748s # Testing script Runr (code 1383427698) 1748s # Testing script Sinh (code 1399418472) 1748s # Testing script Syrc (code 1400468067) 1748s # Testing script Taml (code 1415671148) 1748s # Testing script Telu (code 1415933045) 1748s # Testing script Thaa (code 1416126817) 1748s # Testing script Thai (code 1416126825) 1748s # Testing script Tibt (code 1416192628) 1748s # Testing script Cans (code 1130458739) 1748s # Testing script Yiii (code 1500080489) 1748s # Testing script Tglg (code 1416064103) 1748s # Testing script Hano (code 1214344815) 1748s # Testing script Buhd (code 1114990692) 1748s # Testing script Tagb (code 1415669602) 1748s # Testing script Brai (code 1114792297) 1748s # Testing script Cprt (code 1131442804) 1748s # Testing script Limb (code 1281977698) 1748s # Testing script Osma (code 1332964705) 1748s # Testing script Shaw (code 1399349623) 1748s # Testing script Linb (code 1281977954) 1748s # Testing script Tale (code 1415670885) 1748s # Testing script Ugar (code 1432838514) 1748s # Testing script Talu (code 1415670901) 1748s # Testing script Bugi (code 1114990441) 1748s # Testing script Glag (code 1198285159) 1748s # Testing script Tfng (code 1415999079) 1748s # Testing script Sylo (code 1400466543) 1748s # Testing script Xpeo (code 1483761007) 1748s # Testing script Khar (code 1265131890) 1748s # Testing script Zzzz (code 1517976186) 1748s # Testing script Bali (code 1113681001) 1748s # Testing script Xsux (code 1483961720) 1748s # Testing script Phnx (code 1349021304) 1748s # Testing script Phag (code 1349017959) 1748s # Testing script Nkoo (code 1315663727) 1748s # Testing script Kali (code 1264675945) 1748s # Testing script Lepc (code 1281716323) 1748s # Testing script Rjng (code 1382706791) 1748s # Testing script Sund (code 1400204900) 1748s # Testing script Saur (code 1398895986) 1748s # Testing script Cham (code 1130914157) 1748s # Testing script Olck (code 1332503403) 1748s # Testing script Vaii (code 1449224553) 1748s # Testing script Cari (code 1130459753) 1748s # Testing script Lyci (code 1283023721) 1748s # Testing script Lydi (code 1283023977) 1748s # Testing script Avst (code 1098281844) 1748s # Testing script Bamu (code 1113681269) 1748s # Testing script Egyp (code 1164409200) 1748s # Testing script Armi (code 1098018153) 1748s # Testing script Phli (code 1349020777) 1748s # Testing script Prti (code 1349678185) 1748s # Testing script Java (code 1247901281) 1748s # Testing script Kthi (code 1265920105) 1748s # Testing script Lisu (code 1281979253) 1748s # Testing script Mtei (code 1299473769) 1748s # Testing script Sarb (code 1398895202) 1748s # Testing script Orkh (code 1332898664) 1748s # Testing script Samr (code 1398893938) 1748s # Testing script Lana (code 1281453665) 1748s # Testing script Tavt (code 1415673460) 1748s # Testing script Batk (code 1113683051) 1748s # Testing script Brah (code 1114792296) 1748s # Testing script Mand (code 1298230884) 1748s # Testing script Cakm (code 1130457965) 1748s # Testing script Merc (code 1298494051) 1748s # Testing script Mero (code 1298494063) 1748s # Testing script Plrd (code 1349284452) 1748s # Testing script Shrd (code 1399353956) 1748s # Testing script Sora (code 1399812705) 1748s # Testing script Takr (code 1415670642) 1748s # Testing script Bass (code 1113682803) 1748s # Testing script Aghb (code 1097295970) 1748s # Testing script Dupl (code 1148547180) 1748s # Testing script Elba (code 1164730977) 1748s # Testing script Gran (code 1198678382) 1748s # Testing script Khoj (code 1265135466) 1748s # Testing script Sind (code 1399418468) 1748s # Testing script Lina (code 1281977953) 1748s # Testing script Mahj (code 1298229354) 1748s # Testing script Mani (code 1298230889) 1748s # Testing script Mend (code 1298493028) 1748s # Testing script Modi (code 1299145833) 1748s # Testing script Mroo (code 1299345263) 1748s # Testing script Nbat (code 1315070324) 1748s # Testing script Narb (code 1315009122) 1748s # Testing script Perm (code 1348825709) 1748s # Testing script Hmng (code 1215131239) 1748s # Testing script Palm (code 1348562029) 1748s # Testing script Pauc (code 1348564323) 1748s # Testing script Phlp (code 1349020784) 1748s # Testing script Sidd (code 1399415908) 1748s # Testing script Tirh (code 1416196712) 1748s # Testing script Wara (code 1466004065) 1748s # Testing script Ahom (code 1097363309) 1748s # Testing script Hluw (code 1215067511) 1748s # Testing script Hatr (code 1214346354) 1748s # Testing script Mult (code 1299541108) 1748s # Testing script Hung (code 1215655527) 1748s # Testing script Sgnw (code 1399287415) 1748s # Testing script Adlm (code 1097100397) 1748s # Testing script Bhks (code 1114139507) 1748s # Testing script Marc (code 1298231907) 1748s # Testing script Newa (code 1315272545) 1748s # Testing script Osge (code 1332963173) 1748s # Testing script Tang (code 1415671399) 1748s # Testing script Gonm (code 1198485101) 1748s # Testing script Nshu (code 1316186229) 1748s # Testing script Soyo (code 1399814511) 1748s # Testing script Zanb (code 1516334690) 1748s # Testing script Dogr (code 1148151666) 1748s # Testing script Gong (code 1198485095) 1748s # Testing script Rohg (code 1383032935) 1748s # Testing script Maka (code 1298230113) 1748s # Testing script Medf (code 1298490470) 1748s # Testing script Sogo (code 1399809903) 1748s # Testing script Sogd (code 1399809892) 1748s # Testing script Elym (code 1164736877) 1748s # Testing script Nand (code 1315008100) 1748s # Testing script Hmnp (code 1215131248) 1748s # Testing script Wcho (code 1466132591) 1748s # Testing script Chrs (code 1130918515) 1748s # Testing script Diak (code 1147756907) 1748s # Testing script Kits (code 1265202291) 1748s # Testing script Yezi (code 1499822697) 1748s # Testing script Cpmn (code 1131441518) 1748s # Testing script Ougr (code 1333094258) 1748s # Testing script Tnsa (code 1416524641) 1748s # Testing script Toto (code 1416590447) 1748s # Testing script Vith (code 1449751656) 1748s # Testing script Kawi (code 1264678761) 1748s # Testing script Nagm (code 1315006317) 1748s # Testing script Todr (code 1416586354) 1748s # Testing script Gara (code 1197568609) 1748s # Testing script Tutg (code 1416983655) 1748s # Testing script Sunu (code 1400204917) 1748s # Testing script Gukh (code 1198877544) 1748s # Testing script Krai (code 1265787241) 1748s # Testing script Onao (code 1332633967) 1748s ok 21 /unicode/iso15924 1748s ok 22 /unicode/lower 1748s ok 23 /unicode/mark 1748s ok 24 /unicode/mirror 1748s ok 25 /unicode/print 1748s ok 26 /unicode/punctuation 1748s ok 27 /unicode/script 1748s ok 28 /unicode/space 1748s ok 29 /unicode/strdown 1748s ok 30 /unicode/strup 1748s ok 31 /unicode/turkish-strupdown 1748s ok 32 /unicode/title 1748s ok 33 /unicode/upper 1748s ok 34 /unicode/validate 1748s ok 35 /unicode/wide 1748s ok 36 /unicode/unichar-to-utf8 1748s ok 37 /unicode/xdigit 1748s ok 38 /unicode/xdigit-value 1748s ok 39 /unicode/zero-width 1748s ok 40 /unicode/normalize 1748s # Testing script 0 1748s # Testing script 1 1748s # Testing script 2 1748s # Testing script 3 1748s # Testing script 4 1748s # Testing script 5 1748s # Testing script 6 1748s # Testing script 7 1748s # Testing script 8 1748s # Testing script 9 1748s # Testing script 10 1748s # Testing script 11 1748s # Testing script 12 1748s # Testing script 13 1748s # Testing script 14 1748s # Testing script 15 1748s # Testing script 16 1748s # Testing script 17 1748s # Testing script 18 1748s # Testing script 19 1748s # Testing script 20 1748s # Testing script 21 1748s # Testing script 22 1748s # Testing script 23 1748s # Testing script 24 1748s # Testing script 25 1748s # Testing script 26 1748s # Testing script 27 1748s # Testing script 28 1748s # Testing script 29 1748s # Testing script 30 1748s # Testing script 31 1748s # Testing script 32 1748s # Testing script 33 1748s # Testing script 34 1748s # Testing script 35 1748s # Testing script 36 1748s # Testing script 37 1748s # Testing script 38 1748s # Testing script 39 1748s # Testing script 40 1748s # Testing script 41 1748s # Testing script 42 1748s # Testing script 43 1748s # Testing script 44 1748s # Testing script 45 1748s # Testing script 46 1748s # Testing script 47 1748s # Testing script 48 1748s # Testing script 49 1748s # Testing script 50 1748s # Testing script 51 1748s # Testing script 52 1748s # Testing script 53 1748s # Testing script 54 1748s # Testing script 55 1748s # Testing script 56 1748s # Testing script 57 1748s # Testing script 58 1748s # Testing script 59 1748s # Testing script 60 1748s # Testing script 61 1748s # Testing script 62 1748s # Testing script 63 1748s # Testing script 64 1748s # Testing script 65 1748s # Testing script 66 1748s # Testing script 67 1748s # Testing script 68 1748s # Testing script 69 1748s # Testing script 70 1748s # Testing script 71 1748s # Testing script 72 1748s # Testing script 73 1748s # Testing script 74 1748s # Testing script 75 1748s # Testing script 76 1748s # Testing script 77 1748s # Testing script 78 1748s # Testing script 79 1748s # Testing script 80 1748s # Testing script 81 1748s # Testing script 82 1748s # Testing script 83 1748s # Testing script 84 1748s # Testing script 85 1748s # Testing script 86 1748s # Testing script 87 1748s # Testing script 88 1748s # Testing script 89 1748s # Testing script 90 1748s # Testing script 91 1748s # Testing script 92 1748s # Testing script 93 1748s # Testing script 94 1748s # Testing script 95 1748s # Testing script 96 1748s # Testing script 97 1748s # Testing script 98 1748s # Testing script 99 1748s # Testing script 100 1748s # Testing script 101 1748s # Testing script 102 1748s # Testing script 103 1748s # Testing script 104 1748s # Testing script 105 1748s # Testing script 106 1748s # Testing script 107 1748s # Testing script 108 1748s # Testing script 109 1748s # Testing script 110 1748s # Testing script 111 1748s # Testing script 112 1748s # Testing script 113 1748s # Testing script 114 1748s # Testing script 115 1748s # Testing script 116 1748s # Testing script 117 1748s # Testing script 118 1748s # Testing script 119 1748s # Testing script 120 1748s # Testing script 121 1748s # Testing script 122 1748s # Testing script 123 1748s # Testing script 124 1748s # Testing script 125 1748s # Testing script 126 1748s # Testing script 127 1748s # Testing script 128 1748s # Testing script 129 1748s # Testing script 130 1748s # Testing script 131 1748s # Testing script 132 1748s # Testing script 133 1748s # Testing script 134 1748s # Testing script 135 1748s # Testing script 136 1748s # Testing script 137 1748s # Testing script 138 1748s # Testing script 139 1748s # Testing script 140 1748s # Testing script 141 1748s # Testing script 142 1748s # Testing script 143 1748s # Testing script 144 1748s # Testing script 145 1748s # Testing script 146 1748s # Testing script 147 1748s # Testing script 148 1748s # Testing script 149 1748s # Testing script 150 1748s # Testing script 151 1748s # Testing script 152 1748s # Testing script 153 1748s # Testing script 154 1748s # Testing script 155 1748s # Testing script 156 1748s # Testing script 157 1748s # Testing script 158 1748s # Testing script 159 1748s # Testing script 160 1748s # Testing script 161 1748s # Testing script 162 1748s # Testing script 163 1748s # Testing script 164 1748s # Testing script 165 1748s # Testing script 166 1748s # Testing script 167 1748s # Testing script 168 1748s # Testing script 169 1748s # Testing script 170 1748s # Testing script 171 1748s # Testing script 172 1748s # Testing script 173 1748s # Testing script 174 1748s # Testing script 175 1748s ok 41 /unicode/unknown-scripts 1748s # End of unicode tests 1748s TAP version 14 1748s # random seed: R02Sf0bfeb049743821865ef9e81e16e1c59 1748s 1..29 1748s # Start of thread tests 1748s ok 1 /thread/rec-mutex1 1748s ok 2 /thread/rec-mutex2 1748s ok 3 /thread/rec-mutex3 1748s ok 4 /thread/rec-mutex4 1748s # Start of rec-mutex tests 1748s # Start of perf tests 1748s # Start of uncontended tests 1748s # max perf: inf mips 1748s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1748s # max perf: inf mips 1748s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1748s # max perf: inf mips 1748s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1748s # max perf: inf mips 1748s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1748s # max perf: inf mips 1748s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1748s # End of uncontended tests 1748s # Start of contended1 tests 1748s # max perf: inf mips 1748s ok 10 /thread/rec-mutex/perf/contended1/depth1 1748s # max perf: inf mips 1748s ok 11 /thread/rec-mutex/perf/contended1/depth2 1748s # max perf: inf mips 1748s ok 12 /thread/rec-mutex/perf/contended1/depth3 1748s # max perf: inf mips 1748s ok 13 /thread/rec-mutex/perf/contended1/depth4 1748s # max perf: 2.000000 mips 1748s ok 14 /thread/rec-mutex/perf/contended1/depth5 1748s # End of contended1 tests 1748s # Start of contended2 tests 1748s # max perf: inf mips 1748s ok 15 /thread/rec-mutex/perf/contended2/depth1 1748s # max perf: inf mips 1748s ok 16 /thread/rec-mutex/perf/contended2/depth2 1748s # max perf: inf mips 1748s ok 17 /thread/rec-mutex/perf/contended2/depth3 1748s # max perf: inf mips 1748s ok 18 /thread/rec-mutex/perf/contended2/depth4 1748s # max perf: inf mips 1748s ok 19 /thread/rec-mutex/perf/contended2/depth5 1748s # End of contended2 tests 1748s # Start of contended3 tests 1748s # max perf: inf mips 1748s ok 20 /thread/rec-mutex/perf/contended3/depth1 1748s # max perf: inf mips 1748s ok 21 /thread/rec-mutex/perf/contended3/depth2 1748s # max perf: inf mips 1748s ok 22 /thread/rec-mutex/perf/contended3/depth3 1748s # max perf: inf mips 1748s ok 23 /thread/rec-mutex/perf/contended3/depth4 1748s # max perf: inf mips 1748s ok 24 /thread/rec-mutex/perf/contended3/depth5 1748s # End of contended3 tests 1748s # Start of contended4 tests 1748s # max perf: inf mips 1748s ok 25 /thread/rec-mutex/perf/contended4/depth1 1748s # max perf: inf mips 1748s ok 26 /thread/rec-mutex/perf/contended4/depth2 1748s # max perf: inf mips 1748s ok 27 /thread/rec-mutex/perf/contended4/depth3 1748s # max perf: inf mips 1748s ok 28 /thread/rec-mutex/perf/contended4/depth4 1748s # max perf: inf mips 1748s ok 29 /thread/rec-mutex/perf/contended4/depth5 1748s # End of contended4 tests 1748s # End of perf tests 1748s # End of rec-mutex tests 1748s # End of thread tests 1748s TAP version 14 1748s # random seed: R02S0e763784e9d542f2468202683479039d 1748s 1..55 1748s # Start of file tests 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/basic/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/basic/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/basic/.dirs/system-config1:/tmp/test_file_EICCK3/file/basic/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/basic/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/basic/.dirs/system-data1:/tmp/test_file_EICCK3/file/basic/.dirs/system-data2 1748s ok - glib/unicode.test 1748s # Running test: glib/rec-mutex.test 1748s ok - glib/rec-mutex.test 1748s # Running test: glib/file.test 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/basic/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/basic/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/basic/.dirs/runtime 1748s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1748s ok 1 /file/basic 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/build-filename/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/build-filename/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/build-filename/.dirs/system-config1:/tmp/test_file_EICCK3/file/build-filename/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/build-filename/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/build-filename/.dirs/system-data1:/tmp/test_file_EICCK3/file/build-filename/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/build-filename/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/build-filename/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/build-filename/.dirs/runtime 1748s ok 2 /file/build-filename 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/build-filenamev/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/build-filenamev/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_EICCK3/file/build-filenamev/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/build-filenamev/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_EICCK3/file/build-filenamev/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/build-filenamev/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/build-filenamev/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/build-filenamev/.dirs/runtime 1748s ok 3 /file/build-filenamev 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/parent/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/parent/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/parent/.dirs/system-config1:/tmp/test_file_EICCK3/file/parent/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/parent/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/parent/.dirs/system-data1:/tmp/test_file_EICCK3/file/parent/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/parent/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/parent/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/parent/.dirs/runtime 1748s ok 4 /file/parent 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/child/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/child/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/child/.dirs/system-config1:/tmp/test_file_EICCK3/file/child/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/child/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/child/.dirs/system-data1:/tmp/test_file_EICCK3/file/child/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/child/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/child/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/child/.dirs/runtime 1748s ok 5 /file/child 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/empty-path/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/empty-path/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/empty-path/.dirs/system-config1:/tmp/test_file_EICCK3/file/empty-path/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/empty-path/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/empty-path/.dirs/system-data1:/tmp/test_file_EICCK3/file/empty-path/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/empty-path/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/empty-path/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/empty-path/.dirs/runtime 1748s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1748s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1748s ok 6 /file/empty-path 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/type/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/type/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/type/.dirs/system-config1:/tmp/test_file_EICCK3/file/type/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/type/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/type/.dirs/system-data1:/tmp/test_file_EICCK3/file/type/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/type/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/type/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/type/.dirs/runtime 1748s ok 7 /file/type 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/parse-name/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/parse-name/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/parse-name/.dirs/system-config1:/tmp/test_file_EICCK3/file/parse-name/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/parse-name/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/parse-name/.dirs/system-data1:/tmp/test_file_EICCK3/file/parse-name/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/parse-name/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/parse-name/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/parse-name/.dirs/runtime 1748s ok 8 /file/parse-name 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/replace-load/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/replace-load/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/replace-load/.dirs/system-config1:/tmp/test_file_EICCK3/file/replace-load/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/replace-load/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/replace-load/.dirs/system-data1:/tmp/test_file_EICCK3/file/replace-load/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/replace-load/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/replace-load/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/replace-load/.dirs/runtime 1748s ok 9 /file/replace-load 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/replace-cancel/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/replace-cancel/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_EICCK3/file/replace-cancel/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/replace-cancel/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_EICCK3/file/replace-cancel/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/replace-cancel/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/replace-cancel/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/replace-cancel/.dirs/runtime 1748s # Bug Reference: https://bugzilla.gnome.org/629301 1748s ok 10 /file/replace-cancel 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/replace-symlink/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/replace-symlink/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_EICCK3/file/replace-symlink/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/replace-symlink/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_EICCK3/file/replace-symlink/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/replace-symlink/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/replace-symlink/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/replace-symlink/.dirs/runtime 1748s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1748s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1748s # Using temporary directory /tmp/test_file_EICCK3/g_file_replace_symlink_5GBEK3 1748s ok 11 /file/replace-symlink 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/async-new-tmp/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/async-new-tmp/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_EICCK3/file/async-new-tmp/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/async-new-tmp/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_EICCK3/file/async-new-tmp/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/async-new-tmp/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/async-new-tmp/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/async-new-tmp/.dirs/runtime 1748s ok 12 /file/async-new-tmp 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/async-new-tmp-dir/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/async-new-tmp-dir/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_EICCK3/file/async-new-tmp-dir/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/async-new-tmp-dir/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_EICCK3/file/async-new-tmp-dir/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/async-new-tmp-dir/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/async-new-tmp-dir/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/async-new-tmp-dir/.dirs/runtime 1748s ok 13 /file/async-new-tmp-dir 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/async-delete/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/async-delete/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/async-delete/.dirs/system-config1:/tmp/test_file_EICCK3/file/async-delete/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/async-delete/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/async-delete/.dirs/system-data1:/tmp/test_file_EICCK3/file/async-delete/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/async-delete/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/async-delete/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/async-delete/.dirs/runtime 1748s ok 14 /file/async-delete 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/async-make-symlink/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/async-make-symlink/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_EICCK3/file/async-make-symlink/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/async-make-symlink/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_EICCK3/file/async-make-symlink/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/async-make-symlink/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/async-make-symlink/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/async-make-symlink/.dirs/runtime 1748s ok 15 /file/async-make-symlink 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/copy-preserve-mode/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/copy-preserve-mode/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_EICCK3/file/copy-preserve-mode/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/copy-preserve-mode/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_EICCK3/file/copy-preserve-mode/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/copy-preserve-mode/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/copy-preserve-mode/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/copy-preserve-mode/.dirs/runtime 1748s # Current umask: 2 1748s # Vector 0 1748s # Vector 1 1748s # Vector 2 1748s # Vector 3 1748s # Vector 4 1748s # Vector 5 1748s # Vector 6 1748s # Vector 7 1748s # Vector 8 1748s # Vector 9 1748s # Vector 10 1748s ok 16 /file/copy-preserve-mode 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/copy-async-with-closures/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/copy-async-with-closures/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_EICCK3/file/copy-async-with-closures/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/copy-async-with-closures/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_EICCK3/file/copy-async-with-closures/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/copy-async-with-closures/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/copy-async-with-closures/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/copy-async-with-closures/.dirs/runtime 1748s ok 17 /file/copy-async-with-closures 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/measure/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/measure/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/measure/.dirs/system-config1:/tmp/test_file_EICCK3/file/measure/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/measure/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/measure/.dirs/system-data1:/tmp/test_file_EICCK3/file/measure/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/measure/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/measure/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/measure/.dirs/runtime 1748s ok 18 /file/measure 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/measure-async/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/measure-async/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/measure-async/.dirs/system-config1:/tmp/test_file_EICCK3/file/measure-async/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/measure-async/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/measure-async/.dirs/system-data1:/tmp/test_file_EICCK3/file/measure-async/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/measure-async/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/measure-async/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/measure-async/.dirs/runtime 1748s ok 19 /file/measure-async 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/load-bytes/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/load-bytes/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/load-bytes/.dirs/system-config1:/tmp/test_file_EICCK3/file/load-bytes/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/load-bytes/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/load-bytes/.dirs/system-data1:/tmp/test_file_EICCK3/file/load-bytes/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/load-bytes/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/load-bytes/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/load-bytes/.dirs/runtime 1748s ok 20 /file/load-bytes 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/load-bytes-async/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/load-bytes-async/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_EICCK3/file/load-bytes-async/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/load-bytes-async/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_EICCK3/file/load-bytes-async/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/load-bytes-async/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/load-bytes-async/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/load-bytes-async/.dirs/runtime 1748s ok 21 /file/load-bytes-async 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/load-bytes-4gb/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/load-bytes-4gb/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_EICCK3/file/load-bytes-4gb/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/load-bytes-4gb/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_EICCK3/file/load-bytes-4gb/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/load-bytes-4gb/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/load-bytes-4gb/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/load-bytes-4gb/.dirs/runtime 1748s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/load-contents-4gb/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/load-contents-4gb/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_EICCK3/file/load-contents-4gb/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/load-contents-4gb/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_EICCK3/file/load-contents-4gb/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/load-contents-4gb/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/load-contents-4gb/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/load-contents-4gb/.dirs/runtime 1748s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/load-contents-4gb-async/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/load-contents-4gb-async/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_EICCK3/file/load-contents-4gb-async/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/load-contents-4gb-async/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_EICCK3/file/load-contents-4gb-async/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/load-contents-4gb-async/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/load-contents-4gb-async/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/load-contents-4gb-async/.dirs/runtime 1748s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/writev/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/writev/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/writev/.dirs/system-config1:/tmp/test_file_EICCK3/file/writev/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/writev/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/writev/.dirs/system-data1:/tmp/test_file_EICCK3/file/writev/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/writev/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/writev/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/writev/.dirs/runtime 1748s ok 25 /file/writev 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/build-attribute-list-for-copy/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/build-attribute-list-for-copy/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_EICCK3/file/build-attribute-list-for-copy/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/build-attribute-list-for-copy/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_EICCK3/file/build-attribute-list-for-copy/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/build-attribute-list-for-copy/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/build-attribute-list-for-copy/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/build-attribute-list-for-copy/.dirs/runtime 1748s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1748s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1748s # 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::* 1748s # 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::* 1748s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1748s # Attributes for copy: standard::size,xattr::* 1748s # Attributes for copy: standard::size,unix::mode,xattr::* 1748s ok 26 /file/build-attribute-list-for-copy 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/move_async/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/move_async/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/move_async/.dirs/system-config1:/tmp/test_file_EICCK3/file/move_async/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/move_async/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/move_async/.dirs/system-data1:/tmp/test_file_EICCK3/file/move_async/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/move_async/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/move_async/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/move_async/.dirs/runtime 1748s ok 27 /file/move_async 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/move-async-with-closures/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/move-async-with-closures/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_EICCK3/file/move-async-with-closures/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/move-async-with-closures/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_EICCK3/file/move-async-with-closures/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/move-async-with-closures/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/move-async-with-closures/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/move-async-with-closures/.dirs/runtime 1748s ok 28 /file/move-async-with-closures 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/query-zero-length-content-type/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/query-zero-length-content-type/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_EICCK3/file/query-zero-length-content-type/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/query-zero-length-content-type/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_EICCK3/file/query-zero-length-content-type/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/query-zero-length-content-type/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/query-zero-length-content-type/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/query-zero-length-content-type/.dirs/runtime 1748s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1748s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1748s ok 29 /file/query-zero-length-content-type 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/query-default-handler-file/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/query-default-handler-file/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_EICCK3/file/query-default-handler-file/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/query-default-handler-file/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_EICCK3/file/query-default-handler-file/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/query-default-handler-file/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/query-default-handler-file/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/query-default-handler-file/.dirs/runtime 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-file/.dirs/data/applications 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-file/.dirs/config 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-file/.dirs/config 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-file/.dirs/config 1748s ok 30 /file/query-default-handler-file 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/runtime 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/data/applications 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/config 1748s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_EICCK3/file/query-default-handler-file/.dirs/config to /tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/config 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/config 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/config 1748s ok 31 /file/query-default-handler-file-async 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/runtime 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/data/applications 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/config 1748s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_EICCK3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/config 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/config 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/config 1748s ok 32 /file/query-default-handler-uri 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/query-default-handler-uri-async/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/query-default-handler-uri-async/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_EICCK3/file/query-default-handler-uri-async/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/query-default-handler-uri-async/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_EICCK3/file/query-default-handler-uri-async/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/query-default-handler-uri-async/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/query-default-handler-uri-async/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/query-default-handler-uri-async/.dirs/runtime 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-uri-async/.dirs/data/applications 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-uri-async/.dirs/config 1748s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_EICCK3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_EICCK3/file/query-default-handler-uri-async/.dirs/config 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-uri-async/.dirs/config 1748s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_EICCK3/file/query-default-handler-uri-async/.dirs/config 1748s ok 33 /file/query-default-handler-uri-async 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/enumerator-cancellation/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/enumerator-cancellation/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_EICCK3/file/enumerator-cancellation/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/enumerator-cancellation/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_EICCK3/file/enumerator-cancellation/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/enumerator-cancellation/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/enumerator-cancellation/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/enumerator-cancellation/.dirs/runtime 1748s ok 34 /file/enumerator-cancellation 1748s # Start of async-create-delete tests 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/async-create-delete/0/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/async-create-delete/0/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_EICCK3/file/async-create-delete/0/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/async-create-delete/0/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_EICCK3/file/async-create-delete/0/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/async-create-delete/0/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/async-create-delete/0/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/async-create-delete/0/.dirs/runtime 1748s ok 35 /file/async-create-delete/0 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/async-create-delete/1/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/async-create-delete/1/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_EICCK3/file/async-create-delete/1/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/async-create-delete/1/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_EICCK3/file/async-create-delete/1/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/async-create-delete/1/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/async-create-delete/1/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/async-create-delete/1/.dirs/runtime 1748s ok 36 /file/async-create-delete/1 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/async-create-delete/10/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/async-create-delete/10/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_EICCK3/file/async-create-delete/10/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/async-create-delete/10/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_EICCK3/file/async-create-delete/10/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/async-create-delete/10/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/async-create-delete/10/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/async-create-delete/10/.dirs/runtime 1748s ok 37 /file/async-create-delete/10 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/async-create-delete/25/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/async-create-delete/25/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_EICCK3/file/async-create-delete/25/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/async-create-delete/25/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_EICCK3/file/async-create-delete/25/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/async-create-delete/25/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/async-create-delete/25/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/async-create-delete/25/.dirs/runtime 1748s ok 38 /file/async-create-delete/25 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/async-create-delete/4096/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/async-create-delete/4096/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_EICCK3/file/async-create-delete/4096/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/async-create-delete/4096/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_EICCK3/file/async-create-delete/4096/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/async-create-delete/4096/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/async-create-delete/4096/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/async-create-delete/4096/.dirs/runtime 1748s ok 39 /file/async-create-delete/4096 1748s # End of async-create-delete tests 1748s # Start of replace-symlink tests 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/replace-symlink/using-etag/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/replace-symlink/using-etag/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_EICCK3/file/replace-symlink/using-etag/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/replace-symlink/using-etag/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_EICCK3/file/replace-symlink/using-etag/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/replace-symlink/using-etag/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/replace-symlink/using-etag/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/replace-symlink/using-etag/.dirs/runtime 1748s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1748s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1748s # Using temporary directory /tmp/test_file_EICCK3/g_file_replace_symlink_using_etag_OAFKK3 1750s ok 40 /file/replace-symlink/using-etag 1750s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1750s # End of replace-symlink tests 1750s # Start of replace tests 1750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/replace/write-only/.dirs/home 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/replace/write-only/.dirs/cache 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_EICCK3/file/replace/write-only/.dirs/system-config2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/replace/write-only/.dirs/config 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_EICCK3/file/replace/write-only/.dirs/system-data2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/replace/write-only/.dirs/data 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/replace/write-only/.dirs/state 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/replace/write-only/.dirs/runtime 1750s # /file/replace/write-only summary: Test various situations for g_file_replace() 1750s # Current umask: 2 1750s # Test 0, using temporary directory /tmp/test_file_EICCK3/g_file_replace_ZTDKK3 1750s # Test 1, using temporary directory /tmp/test_file_EICCK3/g_file_replace_T5DKK3 1750s # Test 2, using temporary directory /tmp/test_file_EICCK3/g_file_replace_SLBKK3 1750s # Test 3, using temporary directory /tmp/test_file_EICCK3/g_file_replace_K6BKK3 1750s # Test 4, using temporary directory /tmp/test_file_EICCK3/g_file_replace_32BKK3 1750s # Test 5, using temporary directory /tmp/test_file_EICCK3/g_file_replace_5ECKK3 1750s # Test 6, using temporary directory /tmp/test_file_EICCK3/g_file_replace_CVYKK3 1750s # Test 7, using temporary directory /tmp/test_file_EICCK3/g_file_replace_U6YKK3 1750s # Test 8, using temporary directory /tmp/test_file_EICCK3/g_file_replace_MEZKK3 1750s # Test 9, using temporary directory /tmp/test_file_EICCK3/g_file_replace_2PZKK3 1750s # Test 10, using temporary directory /tmp/test_file_EICCK3/g_file_replace_L6WKK3 1750s # Test 11, using temporary directory /tmp/test_file_EICCK3/g_file_replace_OUXKK3 1750s # Test 12, using temporary directory /tmp/test_file_EICCK3/g_file_replace_RSXKK3 1750s # Test 13, using temporary directory /tmp/test_file_EICCK3/g_file_replace_Y2XKK3 1750s # Test 14, using temporary directory /tmp/test_file_EICCK3/g_file_replace_IRYKK3 1750s # Test 15, using temporary directory /tmp/test_file_EICCK3/g_file_replace_GVVKK3 1750s # Test 16, using temporary directory /tmp/test_file_EICCK3/g_file_replace_JKWKK3 1750s # Test 17, using temporary directory /tmp/test_file_EICCK3/g_file_replace_CTWKK3 1750s # Test 18, using temporary directory /tmp/test_file_EICCK3/g_file_replace_8MUKK3 1750s # Test 19, using temporary directory /tmp/test_file_EICCK3/g_file_replace_6DVKK3 1750s # Test 20, using temporary directory /tmp/test_file_EICCK3/g_file_replace_KHSKK3 1750s # Test 21, using temporary directory /tmp/test_file_EICCK3/g_file_replace_D8SKK3 1750s # Test 22, using temporary directory /tmp/test_file_EICCK3/g_file_replace_7JTKK3 1750s # Test 23, using temporary directory /tmp/test_file_EICCK3/g_file_replace_DHTKK3 1750s # Test 24, using temporary directory /tmp/test_file_EICCK3/g_file_replace_V2QKK3 1750s # Test 25, using temporary directory /tmp/test_file_EICCK3/g_file_replace_TPRKK3 1750s # Test 26, using temporary directory /tmp/test_file_EICCK3/g_file_replace_F0RKK3 1750s # Test 27, using temporary directory /tmp/test_file_EICCK3/g_file_replace_7XRKK3 1750s # Test 28, using temporary directory /tmp/test_file_EICCK3/g_file_replace_9FPKK3 1750s # Test 29, using temporary directory /tmp/test_file_EICCK3/g_file_replace_XQPKK3 1750s # Test 30, using temporary directory /tmp/test_file_EICCK3/g_file_replace_X1PKK3 1750s # Test 31, using temporary directory /tmp/test_file_EICCK3/g_file_replace_0YPKK3 1750s # Test 32, using temporary directory /tmp/test_file_EICCK3/g_file_replace_EOQKK3 1750s # Test 33, using temporary directory /tmp/test_file_EICCK3/g_file_replace_ATNKK3 1750s # Test 34, using temporary directory /tmp/test_file_EICCK3/g_file_replace_S3NKK3 1750s # Test 35, using temporary directory /tmp/test_file_EICCK3/g_file_replace_I1NKK3 1750s # Test 36, using temporary directory /tmp/test_file_EICCK3/g_file_replace_13OKK3 1750s # Test 37, using temporary directory /tmp/test_file_EICCK3/g_file_replace_70PMK3 1750s # Test 38, using temporary directory /tmp/test_file_EICCK3/g_file_replace_ARQMK3 1750s # Test 39, using temporary directory /tmp/test_file_EICCK3/g_file_replace_G1QMK3 1750s # Test 40, using temporary directory /tmp/test_file_EICCK3/g_file_replace_OJOMK3 1750s # Test 41, using temporary directory /tmp/test_file_EICCK3/g_file_replace_LWOMK3 1750s # Test 42, using temporary directory /tmp/test_file_EICCK3/g_file_replace_4XPMK3 1750s # Test 43, using temporary directory /tmp/test_file_EICCK3/g_file_replace_C4MMK3 1750s # Test 44, using temporary directory /tmp/test_file_EICCK3/g_file_replace_ZSNMK3 1750s # Test 45, using temporary directory /tmp/test_file_EICCK3/g_file_replace_0RNMK3 1750s # Test 46, using temporary directory /tmp/test_file_EICCK3/g_file_replace_C3NMK3 1750s # Test 47, using temporary directory /tmp/test_file_EICCK3/g_file_replace_TEOMK3 1750s # Test 48, using temporary directory /tmp/test_file_EICCK3/g_file_replace_OLLMK3 1750s # We do not have CAP_DAC_OVERRIDE or equivalent 1750s # Test 49, using temporary directory /tmp/test_file_EICCK3/g_file_replace_WVLMK3 1750s # We do not have CAP_DAC_OVERRIDE or equivalent 1750s # Test 50, using temporary directory /tmp/test_file_EICCK3/g_file_replace_MSLMK3 1750s # We do not have CAP_DAC_OVERRIDE or equivalent 1750s # Test 51, using temporary directory /tmp/test_file_EICCK3/g_file_replace_M2LMK3 1750s # We do not have CAP_DAC_OVERRIDE or equivalent 1750s ok 41 /file/replace/write-only 1750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/replace/read-write/.dirs/home 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/replace/read-write/.dirs/cache 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_EICCK3/file/replace/read-write/.dirs/system-config2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/replace/read-write/.dirs/config 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_EICCK3/file/replace/read-write/.dirs/system-data2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/replace/read-write/.dirs/data 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/replace/read-write/.dirs/state 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/replace/read-write/.dirs/runtime 1750s # /file/replace/read-write summary: Test various situations for g_file_replace() 1750s # Current umask: 2 1750s # Test 0, using temporary directory /tmp/test_file_EICCK3/g_file_replace_EPMMK3 1750s # Test 1, using temporary directory /tmp/test_file_EICCK3/g_file_replace_6KMMK3 1750s # Test 2, using temporary directory /tmp/test_file_EICCK3/g_file_replace_H4JMK3 1750s # Test 3, using temporary directory /tmp/test_file_EICCK3/g_file_replace_02KMK3 1750s # Test 4, using temporary directory /tmp/test_file_EICCK3/g_file_replace_70KMK3 1750s # Test 5, using temporary directory /tmp/test_file_EICCK3/g_file_replace_CBLMK3 1750s # Test 6, using temporary directory /tmp/test_file_EICCK3/g_file_replace_KIIMK3 1750s # Test 7, using temporary directory /tmp/test_file_EICCK3/g_file_replace_8SIMK3 1750s # Test 8, using temporary directory /tmp/test_file_EICCK3/g_file_replace_43IMK3 1750s # Test 9, using temporary directory /tmp/test_file_EICCK3/g_file_replace_XZIMK3 1750s # Test 10, using temporary directory /tmp/test_file_EICCK3/g_file_replace_1PJMK3 1750s # Test 11, using temporary directory /tmp/test_file_EICCK3/g_file_replace_9KHMK3 1750s # Test 12, using temporary directory /tmp/test_file_EICCK3/g_file_replace_2EHMK3 1750s # Test 13, using temporary directory /tmp/test_file_EICCK3/g_file_replace_EPHMK3 1750s # Test 14, using temporary directory /tmp/test_file_EICCK3/g_file_replace_UZHMK3 1750s # Test 15, using temporary directory /tmp/test_file_EICCK3/g_file_replace_CKFMK3 1750s # Test 16, using temporary directory /tmp/test_file_EICCK3/g_file_replace_EWFMK3 1750s # Test 17, using temporary directory /tmp/test_file_EICCK3/g_file_replace_67FMK3 1750s # Test 18, using temporary directory /tmp/test_file_EICCK3/g_file_replace_K12MK3 1750s # Test 19, using temporary directory /tmp/test_file_EICCK3/g_file_replace_073MK3 1750s # Test 20, using temporary directory /tmp/test_file_EICCK3/g_file_replace_OP1MK3 1750s # Test 21, using temporary directory /tmp/test_file_EICCK3/g_file_replace_E21MK3 1750s # Test 22, using temporary directory /tmp/test_file_EICCK3/g_file_replace_6D2MK3 1750s # Test 23, using temporary directory /tmp/test_file_EICCK3/g_file_replace_QP2MK3 1750s # Test 24, using temporary directory /tmp/test_file_EICCK3/g_file_replace_RWZMK3 1750s # Test 25, using temporary directory /tmp/test_file_EICCK3/g_file_replace_Z6ZMK3 1750s # Test 26, using temporary directory /tmp/test_file_EICCK3/g_file_replace_WH0MK3 1750s # Test 27, using temporary directory /tmp/test_file_EICCK3/g_file_replace_QF0MK3 1750s # Test 28, using temporary directory /tmp/test_file_EICCK3/g_file_replace_GCYMK3 1750s # Test 29, using temporary directory /tmp/test_file_EICCK3/g_file_replace_JMYMK3 1750s # Test 30, using temporary directory /tmp/test_file_EICCK3/g_file_replace_FXYMK3 1750s # Test 31, using temporary directory /tmp/test_file_EICCK3/g_file_replace_JUYMK3 1750s # Test 32, using temporary directory /tmp/test_file_EICCK3/g_file_replace_TKZMK3 1750s # Test 33, using temporary directory /tmp/test_file_EICCK3/g_file_replace_8NWMK3 1750s # Test 34, using temporary directory /tmp/test_file_EICCK3/g_file_replace_RYWMK3 1750s # Test 35, using temporary directory /tmp/test_file_EICCK3/g_file_replace_FWWMK3 1750s # Test 36, using temporary directory /tmp/test_file_EICCK3/g_file_replace_EKXMK3 1750s # Test 37, using temporary directory /tmp/test_file_EICCK3/g_file_replace_QGVMK3 1750s # Test 38, using temporary directory /tmp/test_file_EICCK3/g_file_replace_PTVMK3 1750s # Test 39, using temporary directory /tmp/test_file_EICCK3/g_file_replace_74VMK3 1750s # Test 40, using temporary directory /tmp/test_file_EICCK3/g_file_replace_ENTMK3 1750s # Test 41, using temporary directory /tmp/test_file_EICCK3/g_file_replace_7ZTMK3 1750s # Test 42, using temporary directory /tmp/test_file_EICCK3/g_file_replace_5OUMK3 1750s # Test 43, using temporary directory /tmp/test_file_EICCK3/g_file_replace_YURMK3 1750s # Test 44, using temporary directory /tmp/test_file_EICCK3/g_file_replace_NJSMK3 1750s # Test 45, using temporary directory /tmp/test_file_EICCK3/g_file_replace_6USMK3 1750s # Test 46, using temporary directory /tmp/test_file_EICCK3/g_file_replace_U5SMK3 1750s # Test 47, using temporary directory /tmp/test_file_EICCK3/g_file_replace_D10LK3 1750s # Test 48, using temporary directory /tmp/test_file_EICCK3/g_file_replace_4E1LK3 1750s # We do not have CAP_DAC_OVERRIDE or equivalent 1750s # Test 49, using temporary directory /tmp/test_file_EICCK3/g_file_replace_1A1LK3 1750s # We do not have CAP_DAC_OVERRIDE or equivalent 1750s # Test 50, using temporary directory /tmp/test_file_EICCK3/g_file_replace_FK1LK3 1750s # We do not have CAP_DAC_OVERRIDE or equivalent 1750s # Test 51, using temporary directory /tmp/test_file_EICCK3/g_file_replace_DV1LK3 1750s # We do not have CAP_DAC_OVERRIDE or equivalent 1750s ok 42 /file/replace/read-write 1750s # End of replace tests 1750s # Start of copy tests 1750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/copy/progress/.dirs/home 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/copy/progress/.dirs/cache 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/copy/progress/.dirs/system-config1:/tmp/test_file_EICCK3/file/copy/progress/.dirs/system-config2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/copy/progress/.dirs/config 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/copy/progress/.dirs/system-data1:/tmp/test_file_EICCK3/file/copy/progress/.dirs/system-data2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/copy/progress/.dirs/data 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/copy/progress/.dirs/state 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/copy/progress/.dirs/runtime 1750s ok 43 /file/copy/progress 1750s # End of copy tests 1750s # Start of writev tests 1750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/writev/no-bytes-written/.dirs/home 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/writev/no-bytes-written/.dirs/cache 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_EICCK3/file/writev/no-bytes-written/.dirs/system-config2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/writev/no-bytes-written/.dirs/config 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_EICCK3/file/writev/no-bytes-written/.dirs/system-data2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/writev/no-bytes-written/.dirs/data 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/writev/no-bytes-written/.dirs/state 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/writev/no-bytes-written/.dirs/runtime 1750s ok 44 /file/writev/no-bytes-written 1750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/writev/no-vectors/.dirs/home 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/writev/no-vectors/.dirs/cache 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_EICCK3/file/writev/no-vectors/.dirs/system-config2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/writev/no-vectors/.dirs/config 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_EICCK3/file/writev/no-vectors/.dirs/system-data2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/writev/no-vectors/.dirs/data 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/writev/no-vectors/.dirs/state 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/writev/no-vectors/.dirs/runtime 1750s ok 45 /file/writev/no-vectors 1750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/writev/empty-vectors/.dirs/home 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/writev/empty-vectors/.dirs/cache 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_EICCK3/file/writev/empty-vectors/.dirs/system-config2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/writev/empty-vectors/.dirs/config 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_EICCK3/file/writev/empty-vectors/.dirs/system-data2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/writev/empty-vectors/.dirs/data 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/writev/empty-vectors/.dirs/state 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/writev/empty-vectors/.dirs/runtime 1750s ok 46 /file/writev/empty-vectors 1750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/writev/too-big-vectors/.dirs/home 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/writev/too-big-vectors/.dirs/cache 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_EICCK3/file/writev/too-big-vectors/.dirs/system-config2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/writev/too-big-vectors/.dirs/config 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_EICCK3/file/writev/too-big-vectors/.dirs/system-data2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/writev/too-big-vectors/.dirs/data 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/writev/too-big-vectors/.dirs/state 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/writev/too-big-vectors/.dirs/runtime 1750s ok 47 /file/writev/too-big-vectors 1750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/writev/async/.dirs/home 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/writev/async/.dirs/cache 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/writev/async/.dirs/system-config1:/tmp/test_file_EICCK3/file/writev/async/.dirs/system-config2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/writev/async/.dirs/config 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/writev/async/.dirs/system-data1:/tmp/test_file_EICCK3/file/writev/async/.dirs/system-data2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/writev/async/.dirs/data 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/writev/async/.dirs/state 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/writev/async/.dirs/runtime 1750s ok 48 /file/writev/async 1750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/writev/async_all/.dirs/home 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/writev/async_all/.dirs/cache 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_EICCK3/file/writev/async_all/.dirs/system-config2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/writev/async_all/.dirs/config 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_EICCK3/file/writev/async_all/.dirs/system-data2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/writev/async_all/.dirs/data 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/writev/async_all/.dirs/state 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/writev/async_all/.dirs/runtime 1750s ok 49 /file/writev/async_all 1750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/writev/async_all-empty-vectors/.dirs/home 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/writev/async_all-empty-vectors/.dirs/cache 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_EICCK3/file/writev/async_all-empty-vectors/.dirs/system-config2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/writev/async_all-empty-vectors/.dirs/config 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_EICCK3/file/writev/async_all-empty-vectors/.dirs/system-data2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/writev/async_all-empty-vectors/.dirs/data 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/writev/async_all-empty-vectors/.dirs/state 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/writev/async_all-empty-vectors/.dirs/runtime 1750s ok 50 /file/writev/async_all-empty-vectors 1750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/writev/async_all-no-vectors/.dirs/home 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/writev/async_all-no-vectors/.dirs/cache 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_EICCK3/file/writev/async_all-no-vectors/.dirs/system-config2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/writev/async_all-no-vectors/.dirs/config 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_EICCK3/file/writev/async_all-no-vectors/.dirs/system-data2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/writev/async_all-no-vectors/.dirs/data 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/writev/async_all-no-vectors/.dirs/state 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/writev/async_all-no-vectors/.dirs/runtime 1750s ok 51 /file/writev/async_all-no-vectors 1750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/writev/async_all-to-big-vectors/.dirs/home 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/writev/async_all-to-big-vectors/.dirs/cache 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_EICCK3/file/writev/async_all-to-big-vectors/.dirs/system-config2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/writev/async_all-to-big-vectors/.dirs/config 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_EICCK3/file/writev/async_all-to-big-vectors/.dirs/system-data2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/writev/async_all-to-big-vectors/.dirs/data 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/writev/async_all-to-big-vectors/.dirs/state 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/writev/async_all-to-big-vectors/.dirs/runtime 1750s ok 52 /file/writev/async_all-to-big-vectors 1750s ok - glib/file.test 1750s # Running test: glib/unicode-normalize.test 1750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/writev/async_all-cancellation/.dirs/home 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/writev/async_all-cancellation/.dirs/cache 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_EICCK3/file/writev/async_all-cancellation/.dirs/system-config2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/writev/async_all-cancellation/.dirs/config 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_EICCK3/file/writev/async_all-cancellation/.dirs/system-data2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/writev/async_all-cancellation/.dirs/data 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/writev/async_all-cancellation/.dirs/state 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/writev/async_all-cancellation/.dirs/runtime 1750s ok 53 /file/writev/async_all-cancellation 1750s # End of writev tests 1750s # Start of from-uri tests 1750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/from-uri/ignores-query-string/.dirs/home 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/from-uri/ignores-query-string/.dirs/cache 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_EICCK3/file/from-uri/ignores-query-string/.dirs/system-config2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/from-uri/ignores-query-string/.dirs/config 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_EICCK3/file/from-uri/ignores-query-string/.dirs/system-data2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/from-uri/ignores-query-string/.dirs/data 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/from-uri/ignores-query-string/.dirs/state 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/from-uri/ignores-query-string/.dirs/runtime 1750s ok 54 /file/from-uri/ignores-query-string 1750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_EICCK3/file/from-uri/ignores-fragment/.dirs/home 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_EICCK3/file/from-uri/ignores-fragment/.dirs/cache 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_EICCK3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_EICCK3/file/from-uri/ignores-fragment/.dirs/system-config2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_EICCK3/file/from-uri/ignores-fragment/.dirs/config 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_EICCK3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_EICCK3/file/from-uri/ignores-fragment/.dirs/system-data2 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_EICCK3/file/from-uri/ignores-fragment/.dirs/data 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_EICCK3/file/from-uri/ignores-fragment/.dirs/state 1750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_EICCK3/file/from-uri/ignores-fragment/.dirs/runtime 1750s ok 55 /file/from-uri/ignores-fragment 1750s # End of from-uri tests 1750s # End of file tests 1750s TAP version 14 1750s # random seed: R02S18476151adb839c5ff8bb5df2bd90a14 1750s 1..3 1750s # Start of unicode tests 1750s # Processing Part0 # Specific cases 1750s # Processing Part1 # Character by character test 1750s # Processing Part2 # Canonical Order Test 1750s # Processing Part3 # PRI #29 Test 1750s # Processing Part4 # Canonical closures (excluding Hangul) 1750s # Processing Part5 # Chained primary composites 1750s ok 1 /unicode/normalize 1750s # Invalid UTF-8 vector 0 1750s # Invalid UTF-8 vector 1 1750s # Invalid UTF-8 vector 2 1750s # Invalid UTF-8 vector 3 1750s # Invalid UTF-8 vector 4 1750s # Invalid UTF-8 vector 5 1750s # Invalid UTF-8 vector 6 1750s # Invalid UTF-8 vector 7 1750s # Invalid UTF-8 vector 8 1750s # Invalid UTF-8 vector 9 1750s # Invalid UTF-8 vector 10 1750s # Invalid UTF-8 vector 11 1750s # Invalid UTF-8 vector 12 1750s ok 2 /unicode/normalize-invalid 1750s # Start of normalize tests 1750s ok 3 /unicode/normalize/bad-length 1750s # End of normalize tests 1750s # End of unicode tests 1750s ok - glib/unicode-normalize.test 1750s # Running test: glib/threadtests.test 1750s TAP version 14 1750s # random seed: R02Sebade6e3cd6509a9f2677c03f407583d 1750s 1..5 1750s # Start of GObject tests 1750s ok 1 /GObject/threaded-object-init 1751s ok 2 /GObject/threaded-weak-ref 1751s # slow test /GObject/threaded-weak-ref executed in 0.53 secs 1751s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1751s # /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 1751s ok - glib/threadtests.test 1751s ok 3 /GObject/threaded-toggle-notify 1751s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1751s # Start of threaded-weak-ref tests 1751s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1751s # /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. 1751s ok 5 /GObject/threaded-weak-ref/on-finalization 1751s # End of threaded-weak-ref tests 1751s # End of GObject tests 1751s # Running test: glib/module-test-library.test 1751s TAP version 14 1751s # random seed: R02S6a0a87a5b795a8a10793305c3e05a8cd 1751s 1..3 1751s # Start of module tests 1751s ok 1 /module/basics 1751s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1751s ok 2 /module/invalid-libtool-archive 1751s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1751s ok 3 /module/local-binding 1751s # End of module tests 1751s ok - glib/module-test-library.test 1751s # Running test: glib/power-profile-monitor-dbus.test 1751s TAP version 13 1751s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1751s 1..1 1751s ok - glib/power-profile-monitor-dbus.test 1751s # Running test: glib/performance.test 1752s # Executing: glib/performance.test 1757s # Executing: glib/performance.test 1757s simple-construction: Millions of constructed objects per second: 42.981 1760s simple-construction1: Millions of constructed objects per second: 160.225 1762s # Executing: glib/performance.test 1763s complex-construction: Millions of constructed objects per second: 13.373 1767s # Executing: glib/performance.test 1767s complex-construction1: Millions of constructed objects per second: 25.285 1772s complex-construction2: Millions of constructed objects per second: 29.427 1772s # Executing: glib/performance.test 1773s finalization: Millions of finalized objects per second: 9.566 1774s type-check: Million type checks per second: 202.15 1775s emit-unhandled: Emissions per second: 9732416 1777s emit-unhandled-empty: Emissions per second: 77674678 1777s # Executing: glib/performance.test 1778s emit-unhandled-generic: Emissions per second: 13178886 1779s emit-unhandled-generic-empty: Emissions per second: 77704296 1780s emit-unhandled-args: Emissions per second: 8169339 1781s emit-handled: Emissions per second: 5944277 1782s # Executing: glib/performance.test 1782s emit-handled-empty: Emissions per second: 6174984 1783s emit-handled-generic: Emissions per second: 6099009 1785s emit-handled-generic-empty: Emissions per second: 11484045 1786s emit-handled-args: Emissions per second: 5424849 1787s notify-unhandled: Notify (unhandled) per second: 57843930 1787s # Executing: glib/performance.test 1788s notify-by-pspec-unhandled: Notify (unhandled) per second: 145809840 1789s notify-handled: Notify per second: 3945919 1790s notify-by-pspec-handled: Notify per second: 4201802 1792s property-set: Property set per second: 31402737 1792s # Executing: glib/performance.test 1793s property-set-signaled: Property set per second: 8500569 1794s property-get: Property get per second: 29851007 1795s refcount: Million refs+unref per second: 71.42 1796s refcount-1: Million refs+unref per second: 230.62 1797s # Executing: glib/performance.test 1797s refcount-toggle: Million refs+unref per second: 141.22 1797s ok - glib/performance.test 1797s # Running test: glib/callable-info.test 1797s TAP version 14 1797s # random seed: R02Scde9c11c45ff36649d9072574826e1e8 1797s 1..7 1797s # Start of callable-info tests 1797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_A916J3/callable-info/sync-function/.dirs/home 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_A916J3/callable-info/sync-function/.dirs/cache 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_A916J3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_A916J3/callable-info/sync-function/.dirs/system-config2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_A916J3/callable-info/sync-function/.dirs/config 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_A916J3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_A916J3/callable-info/sync-function/.dirs/system-data2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_A916J3/callable-info/sync-function/.dirs/data 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_A916J3/callable-info/sync-function/.dirs/state 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_A916J3/callable-info/sync-function/.dirs/runtime 1797s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1797s ok 1 /callable-info/sync-function 1797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_A916J3/callable-info/async-function/.dirs/home 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_A916J3/callable-info/async-function/.dirs/cache 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_A916J3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_A916J3/callable-info/async-function/.dirs/system-config2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_A916J3/callable-info/async-function/.dirs/config 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_A916J3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_A916J3/callable-info/async-function/.dirs/system-data2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_A916J3/callable-info/async-function/.dirs/data 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_A916J3/callable-info/async-function/.dirs/state 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_A916J3/callable-info/async-function/.dirs/runtime 1797s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1797s ok 2 /callable-info/async-function 1797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_A916J3/callable-info/is-method/.dirs/home 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_A916J3/callable-info/is-method/.dirs/cache 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_A916J3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_A916J3/callable-info/is-method/.dirs/system-config2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_A916J3/callable-info/is-method/.dirs/config 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_A916J3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_A916J3/callable-info/is-method/.dirs/system-data2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_A916J3/callable-info/is-method/.dirs/data 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_A916J3/callable-info/is-method/.dirs/state 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_A916J3/callable-info/is-method/.dirs/runtime 1797s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1797s ok 3 /callable-info/is-method 1797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_A916J3/callable-info/static-method/.dirs/home 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_A916J3/callable-info/static-method/.dirs/cache 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_A916J3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_A916J3/callable-info/static-method/.dirs/system-config2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_A916J3/callable-info/static-method/.dirs/config 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_A916J3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_A916J3/callable-info/static-method/.dirs/system-data2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_A916J3/callable-info/static-method/.dirs/data 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_A916J3/callable-info/static-method/.dirs/state 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_A916J3/callable-info/static-method/.dirs/runtime 1797s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1797s ok 4 /callable-info/static-method 1797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_A916J3/callable-info/static-vfunc/.dirs/home 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_A916J3/callable-info/static-vfunc/.dirs/cache 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_A916J3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_A916J3/callable-info/static-vfunc/.dirs/system-config2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_A916J3/callable-info/static-vfunc/.dirs/config 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_A916J3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_A916J3/callable-info/static-vfunc/.dirs/system-data2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_A916J3/callable-info/static-vfunc/.dirs/data 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_A916J3/callable-info/static-vfunc/.dirs/state 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_A916J3/callable-info/static-vfunc/.dirs/runtime 1797s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1797s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 1797s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 1797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_A916J3/callable-info/native-address/.dirs/home 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_A916J3/callable-info/native-address/.dirs/cache 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_A916J3/callable-info/native-address/.dirs/system-config1:/tmp/test_callable-info_A916J3/callable-info/native-address/.dirs/system-config2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_A916J3/callable-info/native-address/.dirs/config 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_A916J3/callable-info/native-address/.dirs/system-data1:/tmp/test_callable-info_A916J3/callable-info/native-address/.dirs/system-data2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_A916J3/callable-info/native-address/.dirs/data 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_A916J3/callable-info/native-address/.dirs/state 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_A916J3/callable-info/native-address/.dirs/runtime 1797s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1797s ok 6 /callable-info/native-address 1797s # Start of platform tests 1797s # Start of unix tests 1797s ok - glib/callable-info.test 1797s # Running test: glib/glistmodel.test 1797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_A916J3/callable-info/platform/unix/is-method/.dirs/home 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_A916J3/callable-info/platform/unix/is-method/.dirs/cache 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_A916J3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_A916J3/callable-info/platform/unix/is-method/.dirs/system-config2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_A916J3/callable-info/platform/unix/is-method/.dirs/config 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_A916J3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_A916J3/callable-info/platform/unix/is-method/.dirs/system-data2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_A916J3/callable-info/platform/unix/is-method/.dirs/data 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_A916J3/callable-info/platform/unix/is-method/.dirs/state 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_A916J3/callable-info/platform/unix/is-method/.dirs/runtime 1797s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1797s # Checking DesktopAppInfo in Gio 1797s # Checking DesktopAppInfo in GioUnix 1797s ok 7 /callable-info/platform/unix/is-method 1797s # End of unix tests 1797s # End of platform tests 1797s # End of callable-info tests 1797s TAP version 14 1797s # random seed: R02S2a780b6e9fb8b620f994bbff2cdadc5c 1797s 1..18 1797s # Start of glistmodel tests 1797s # Start of store tests 1797s ok 1 /glistmodel/store/properties 1797s ok 2 /glistmodel/store/non-gobjects 1797s ok 3 /glistmodel/store/boundaries 1797s ok 4 /glistmodel/store/refcounts 1797s ok 5 /glistmodel/store/sorted 1797s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1797s ok 6 /glistmodel/store/splice-replace-middle 1797s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1797s ok 7 /glistmodel/store/splice-replace-all 1797s ok 8 /glistmodel/store/splice-noop 1797s ok 9 /glistmodel/store/splice-remove-multiple 1797s ok 10 /glistmodel/store/splice-add-multiple 1797s ok 11 /glistmodel/store/splice-wrong-type 1797s ok 12 /glistmodel/store/item-type 1797s ok 13 /glistmodel/store/remove-all 1797s ok 14 /glistmodel/store/sort 1797s ok 15 /glistmodel/store/get-item-cache 1797s ok 16 /glistmodel/store/items-changed 1797s ok 17 /glistmodel/store/past-end 1797s ok 18 /glistmodel/store/find 1797s # End of store tests 1797s # End of glistmodel tests 1797s ok - glib/glistmodel.test 1797s # Running test: glib/gi-compile-repository.py.test 1797s TAP version 13 1797s ok 1 __main__.TestGICompileRepository.test_open_failure 1797s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1797s # gi-compile-repository: /usr/bin/gi-compile-repository 1797s # tmpdir: /tmp/tmpr9ot2w6i 1797s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpr9ot2w6i/invalid.typelib'] 1797s # Return code: 1 1797s # Output: 1797s # 1797s # Error: 1797s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 1797s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 1797s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1797s # gi-compile-repository: /usr/bin/gi-compile-repository 1797s # tmpdir: /tmp/tmprmgkpn8c 1797s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmprmgkpn8c/GLib-2.typelib'] 1797s # Return code: 0 1797s # Output: 1797s # 1797s # Error: 1797s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 1797s # gi-compile-repository: /usr/bin/gi-compile-repository 1797s # tmpdir: /tmp/tmpc_fkd4wv 1797s # 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'] 1797s # Return code: 1 1797s # Output: 1797s # 1797s # Error: 1797s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1798s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 1798s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1798s # gi-compile-repository: /usr/bin/gi-compile-repository 1798s # tmpdir: /tmp/tmps9entwki 1798s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmps9entwki/GObject-2.typelib', '--includedir', '/usr/lib/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1798s # Return code: 0 1798s # Output: 1798s # 1798s # Error: 1798s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 1798s # gi-compile-repository: /usr/bin/gi-compile-repository 1798s # tmpdir: /tmp/tmp2ftp66rk 1798s # 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'] 1798s # Return code: 1 1798s # Output: 1798s # 1798s # Error: 1798s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1798s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 1798s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1798s # gi-compile-repository: /usr/bin/gi-compile-repository 1798s # tmpdir: /tmp/tmpwjn0asmy 1798s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpwjn0asmy/Gio-2.typelib', '--includedir', '/usr/lib/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1798s # Return code: 0 1798s # Output: 1798s # 1798s # Error: 1798s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 1798s # gi-compile-repository: /usr/bin/gi-compile-repository 1798s # tmpdir: /tmp/tmp6ek0__oy 1798s # 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'] 1798s # Return code: 1 1798s # Output: 1798s # 1798s # Error: 1798s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1798s 1..7 1798s ok - glib/gi-compile-repository.py.test 1798s # Running test: glib/registered-type-info.test 1798s TAP version 14 1798s # random seed: R02Sf28f05a33c65ee3f6ee9b904f1933bae 1798s 1..1 1798s # Start of registered-type-info tests 1798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_BS6OK3/registered-type-info/boxed/.dirs/home 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_BS6OK3/registered-type-info/boxed/.dirs/cache 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_BS6OK3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_BS6OK3/registered-type-info/boxed/.dirs/system-config2 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_BS6OK3/registered-type-info/boxed/.dirs/config 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_BS6OK3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_BS6OK3/registered-type-info/boxed/.dirs/system-data2 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_BS6OK3/registered-type-info/boxed/.dirs/data 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_BS6OK3/registered-type-info/boxed/.dirs/state 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_BS6OK3/registered-type-info/boxed/.dirs/runtime 1798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1798s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1798s # Expecting CClosure to not be boxed 1798s # Expecting TypeCValue to not be boxed 1798s # Expecting InitiallyUnownedClass to not be boxed 1798s # Expecting BookmarkFile to be boxed 1798s # Expecting Closure to be boxed 1798s # Expecting Object to not be boxed 1798s ok - glib/registered-type-info.test 1798s # Running test: glib/fileattributematcher.test 1798s ok - glib/fileattributematcher.test 1798s # Running test: glib/cache.test 1798s ok - glib/cache.test 1798s # Running test: glib/gvariant.test 1798s ok 1 /registered-type-info/boxed 1798s # End of registered-type-info tests 1798s TAP version 14 1798s # random seed: R02Sbdfebf55e2fb826d576a2a8e4e9a4b44 1798s 1..3 1798s # Start of fileattributematcher tests 1798s ok 1 /fileattributematcher/exact 1798s ok 2 /fileattributematcher/equality 1798s ok 3 /fileattributematcher/subtract 1798s # End of fileattributematcher tests 1798s TAP version 14 1798s # random seed: R02Sab823b14602a2edd95264c9b05a5e476 1798s 1..1 1798s # Start of cache tests 1798s ok 1 /cache/basic 1798s # End of cache tests 1798s TAP version 14 1798s # random seed: R02S3b2f10d09c7bbafedb19698b48a18e53 1798s 1..70 1798s # Start of gvariant tests 1798s ok 1 /gvariant/type 1798s ok 2 /gvariant/typeinfo 1798s ok 3 /gvariant/string 1798s ok 4 /gvariant/utf8 1798s ok 5 /gvariant/utf8-new-strings 1798s ok 6 /gvariant/containers 1798s ok 7 /gvariant/format-strings 1798s ok 8 /gvariant/invalid-varargs 1798s ok 9 /gvariant/varargs 1798s ok 10 /gvariant/valist 1798s ok 11 /gvariant/builder-memory 1798s ok 12 /gvariant/hashing 1798s ok 13 /gvariant/byteswap 1799s ok 14 /gvariant/parser 1799s # slow test /gvariant/parser executed in 0.62 secs 1799s ok 15 /gvariant/parse-failures 1799s ok 16 /gvariant/parse-positional 1799s ok 17 /gvariant/floating 1799s ok 18 /gvariant/bytestring 1799s ok 19 /gvariant/bytestring-iteration 1799s ok 20 /gvariant/lookup-value 1799s ok 21 /gvariant/lookup 1799s ok 22 /gvariant/compare 1799s ok 23 /gvariant/equal 1799s ok 24 /gvariant/fixed-array 1799s ok 25 /gvariant/check-format-string 1799s ok 26 /gvariant/checksum-basic 1799s ok 27 /gvariant/checksum-nested 1799s ok 28 /gvariant/gbytes 1799s ok 29 /gvariant/print-context 1799s ok 30 /gvariant/error-quark 1799s ok 31 /gvariant/stack-builder-init 1799s ok 32 /gvariant/stack-builder-init-static 1799s ok 33 /gvariant/stack-builder-init-unset 1799s ok 34 /gvariant/stack-dict-init 1799s ok 35 /gvariant/unaligned-construction 1799s # Start of type tests 1799s # Start of string-scan tests 1799s # Start of recursion tests 1799s ok 36 /gvariant/type/string-scan/recursion/tuple 1799s ok 37 /gvariant/type/string-scan/recursion/array 1799s # End of recursion tests 1799s # End of string-scan tests 1799s # End of type tests 1799s # Start of serialiser tests 1799s ok 38 /gvariant/serialiser/maybe 1799s ok 39 /gvariant/serialiser/array 1799s ok 40 /gvariant/serialiser/tuple 1799s ok 41 /gvariant/serialiser/variant 1799s ok 42 /gvariant/serialiser/strings 1800s ok 43 /gvariant/serialiser/byteswap 1800s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1800s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1800s ok 44 /gvariant/serialiser/children 1800s # Start of byteswap tests 1800s ok 45 /gvariant/serialiser/byteswap/zero-sized 1800s # End of byteswap tests 1800s # Start of fuzz tests 1800s ok 46 /gvariant/serialiser/fuzz/1% 1800s ok 47 /gvariant/serialiser/fuzz/5% 1800s ok 48 /gvariant/serialiser/fuzz/9% 1800s ok 49 /gvariant/serialiser/fuzz/13% 1800s ok 50 /gvariant/serialiser/fuzz/17% 1800s # End of fuzz tests 1800s # End of serialiser tests 1800s # Start of utf8 tests 1800s # Start of subprocess tests 1800s # End of subprocess tests 1800s # End of utf8 tests 1800s # Start of varargs tests 1800s # Start of subprocess tests 1800s # End of subprocess tests 1800s # End of varargs tests 1800s # Start of byteswap tests 1800s # /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. 1800s ok 51 /gvariant/byteswap/non-normal-non-aligned 1800s # End of byteswap tests 1800s # Start of parser tests 1800s ok 52 /gvariant/parser/integer-bounds 1800s ok 53 /gvariant/parser/recursion 1800s # Start of recursion tests 1800s ok 54 /gvariant/parser/recursion/typedecls 1800s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1800s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1800s # Text form 0: @mmmu 5 1800s # Text form 1: @mmmas ['hello'] 1800s # Text form 2: @mmmu just just nothing 1800s # Text form 3: @mmmas just just nothing 1800s # Text form 4: @mmmu just nothing 1800s # Text form 5: @mmmas just nothing 1800s # Text form 6: @mmmu nothing 1800s # Text form 7: @mmmas nothing 1800s ok 55 /gvariant/parser/recursion/maybes 1800s # End of recursion tests 1800s # End of parser tests 1800s # Start of parse tests 1800s # Start of subprocess tests 1800s # End of subprocess tests 1800s # End of parse tests 1800s # Start of normal-checking tests 1800s ok 56 /gvariant/normal-checking/tuples 1800s ok 57 /gvariant/normal-checking/array-offsets 1800s ok 58 /gvariant/normal-checking/array-offsets2 1800s ok 59 /gvariant/normal-checking/tuple-offsets 1800s ok 60 /gvariant/normal-checking/tuple-offsets2 1800s ok 61 /gvariant/normal-checking/tuple-offsets3 1800s ok 62 /gvariant/normal-checking/tuple-offsets4 1800s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1800s ok 63 /gvariant/normal-checking/tuple-offsets5 1800s ok 64 /gvariant/normal-checking/empty-object-path 1800s # Start of array-offsets tests 1800s ok 65 /gvariant/normal-checking/array-offsets/overlapped 1800s ok 66 /gvariant/normal-checking/array-offsets/minimal-sized 1800s # End of array-offsets tests 1800s # Start of tuple-offsets tests 1800s ok 67 /gvariant/normal-checking/tuple-offsets/minimal-sized 1800s # End of tuple-offsets tests 1800s # End of normal-checking tests 1800s # Start of recursion-limits tests 1800s ok 68 /gvariant/recursion-limits/variant-in-variant 1800s ok 69 /gvariant/recursion-limits/array-in-variant 1800s # End of recursion-limits tests 1800s # End of gvariant tests 1800s # Start of gvarianttype tests 1800s ok 70 /gvarianttype/hash 1800s # End of gvarianttype tests 1800s ok - glib/gvariant.test 1800s # Running test: glib/g-file-info-filesystem-readonly.test 1800s TAP version 14 1800s # random seed: R02Sfeaa4453fc8c1af0dc37e5f02e8c48c0 1800s ok - glib/g-file-info-filesystem-readonly.test 1800s # Running test: glib/gdbus-server-auth.test 1800s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1800s 1..2 1800s # Start of g-file-info-filesystem-readonly tests 1800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 1800s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_VJ84J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 1800s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1800s # End of g-file-info-filesystem-readonly tests 1800s TAP version 14 1800s # random seed: R02Se2379033f2664ee4ab9d017dfce9c918 1800s 1..10 1800s # Start of gdbus tests 1800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/.dirs/home 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/.dirs/cache 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/.dirs/system-config2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/.dirs/config 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/.dirs/system-data2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/.dirs/data 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/.dirs/state 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/.dirs/runtime 1800s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_IA86J3/gdbus-server-auth-F276J3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1800s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IA86J3/gdbus-server-auth-F276J3/dbus-SPOPMfhk 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 9245 1800s ok 1 /gdbus/server-auth 1800s # Start of server-auth tests 1800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/abstract/.dirs/home 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/abstract/.dirs/cache 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/abstract/.dirs/system-config2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/abstract/.dirs/config 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/abstract/.dirs/system-data2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/abstract/.dirs/data 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/abstract/.dirs/state 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/abstract/.dirs/runtime 1800s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_IA86J3/gdbus-server-auth-PU16J3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1800s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IA86J3/gdbus-server-auth-PU16J3/dbus-IU4idhG5 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1800s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1800s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 9245 1800s ok 2 /gdbus/server-auth/abstract 1800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/tcp/.dirs/home 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/tcp/.dirs/cache 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/tcp/.dirs/system-config2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/tcp/.dirs/config 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/tcp/.dirs/system-data2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/tcp/.dirs/data 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/tcp/.dirs/state 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/tcp/.dirs/runtime 1800s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1800s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/.dirs/home 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/.dirs/cache 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/.dirs/system-config2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/.dirs/config 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/.dirs/system-data2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/.dirs/data 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/.dirs/state 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/.dirs/runtime 1800s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_IA86J3/gdbus-server-auth-BHL7J3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1800s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IA86J3/gdbus-server-auth-BHL7J3/dbus-M32xiU3E 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 9245 1800s ok 4 /gdbus/server-auth/anonymous 1800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/.dirs/home 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/.dirs/cache 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/.dirs/system-config2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/.dirs/config 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/.dirs/system-data2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/.dirs/data 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/.dirs/state 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/.dirs/runtime 1800s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_IA86J3/gdbus-server-auth-7OK6J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1800s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IA86J3/gdbus-server-auth-7OK6J3/dbus-bWGN2UWb 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 9245 1800s ok 5 /gdbus/server-auth/external 1800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/.dirs/home 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/.dirs/cache 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/.dirs/system-config2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/.dirs/config 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/.dirs/system-data2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/.dirs/data 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/.dirs/state 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/.dirs/runtime 1800s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_IA86J3/gdbus-server-auth-ANI6J3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1800s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/path-in-use/.dirs/home 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/path-in-use/.dirs/cache 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/path-in-use/.dirs/system-config1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/path-in-use/.dirs/system-config2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/path-in-use/.dirs/config 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/path-in-use/.dirs/system-data1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/path-in-use/.dirs/system-data2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/path-in-use/.dirs/data 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/path-in-use/.dirs/state 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/path-in-use/.dirs/runtime 1800s ok 7 /gdbus/server-auth/path-in-use 1800s # Start of anonymous tests 1800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/tcp/.dirs/home 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/tcp/.dirs/config 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/tcp/.dirs/data 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/tcp/.dirs/state 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1800s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1800s ok 8 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1800s # End of anonymous tests 1800s # Start of external tests 1800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/require-same-user/.dirs/home 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/require-same-user/.dirs/cache 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/require-same-user/.dirs/config 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/require-same-user/.dirs/data 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/require-same-user/.dirs/state 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1800s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_IA86J3/gdbus-server-auth-5UF6J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1800s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IA86J3/gdbus-server-auth-5UF6J3/dbus-Km7LIVrl 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 9245 1800s ok - glib/gdbus-server-auth.test 1800s # Running test: glib/objects-refcount1.test 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 9245 1800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1800s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1800s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1800s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9245,uid=1000,gid=1000 1800s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 9245 1800s ok 9 /gdbus/server-auth/external/require-same-user 1800s # End of external tests 1800s # Start of sha1 tests 1800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/tcp/.dirs/home 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/tcp/.dirs/cache 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/tcp/.dirs/config 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/tcp/.dirs/data 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/tcp/.dirs/state 1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IA86J3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1800s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1800s ok 10 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1800s # End of sha1 tests 1800s # End of server-auth tests 1800s # End of gdbus tests 1800s TAP version 14 1800s # random seed: R02S492f429335c69afef4b979fe4e5c5fe4 1800s 1..1 1800s # Start of gobject tests 1800s # Start of refcount tests 1800s # init 0x5943ab195bb0 1800s # 1800s # init 0x5943ab195cc0 1800s # 1802s # Executing: glib/objects-refcount1.test 1805s # dispose 0x5943ab195bb0! 1805s # 1805s # dispose 0x5943ab195cc0! 1805s # 1805s ok 1 /gobject/refcount/object-basics 1805s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1805s # End of refcount tests 1805s # End of gobject tests 1805s ok - glib/objects-refcount1.test 1805s # Running test: glib/gdbus-test-codegen.test 1805s TAP version 14 1805s # random seed: R02Sc7ddcf919ee21761b5c2e25540ee15b2 1805s 1..8 1805s # Start of gdbus tests 1805s # Start of codegen tests 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/annotations/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/annotations/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/annotations/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/annotations/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/annotations/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/annotations/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/annotations/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/annotations/.dirs/runtime 1805s ok 1 /gdbus/codegen/annotations 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/interface_stability/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/interface_stability/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/interface_stability/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/interface_stability/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/interface_stability/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/interface_stability/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/interface_stability/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/interface_stability/.dirs/runtime 1805s ok 2 /gdbus/codegen/interface_stability 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/object-manager/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/object-manager/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/object-manager/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/object-manager/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/object-manager/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/object-manager/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/object-manager/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/object-manager/.dirs/runtime 1805s ok 3 /gdbus/codegen/object-manager 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/property-naming/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/property-naming/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/property-naming/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/property-naming/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/property-naming/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/property-naming/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/property-naming/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/property-naming/.dirs/runtime 1805s ok 4 /gdbus/codegen/property-naming 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/autocleanups/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/autocleanups/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/autocleanups/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/autocleanups/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/autocleanups/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/autocleanups/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/autocleanups/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/autocleanups/.dirs/runtime 1805s ok 5 /gdbus/codegen/autocleanups 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/deprecations/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/deprecations/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/deprecations/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/deprecations/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/deprecations/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/deprecations/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/deprecations/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/deprecations/.dirs/runtime 1805s ok 6 /gdbus/codegen/deprecations 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/standalone-interface-info/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/standalone-interface-info/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/standalone-interface-info/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/standalone-interface-info/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/standalone-interface-info/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1805s ok 7 /gdbus/codegen/standalone-interface-info 1805s ok - glib/gdbus-test-codegen.test 1805s # Running test: glib/notify-init2.test 1805s ok - glib/notify-init2.test 1805s # Running test: glib/utf8-misc.test 1805s ok - glib/utf8-misc.test 1805s # Running test: glib/test-printf.test 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/unix-fd-list/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/unix-fd-list/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/unix-fd-list/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/unix-fd-list/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/unix-fd-list/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4IW6J3/gdbus/codegen/unix-fd-list/.dirs/runtime 1805s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1805s ok 8 /gdbus/codegen/unix-fd-list 1805s # End of codegen tests 1805s # End of gdbus tests 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s TAP version 14 1805s # random seed: R02Sf36a7d8ad8a85294427c6aa8443db92f 1805s 1..1 1805s # Start of properties tests 1805s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1805s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1805s ok 1 /properties/notify-in-init2 1805s # End of properties tests 1805s TAP version 14 1805s # random seed: R02S6b812c424a59a8783dc87fca3e5480f9 1805s 1..7 1805s # Start of utf8 tests 1805s ok 1 /utf8/strlen 1805s ok 2 /utf8/strncpy 1805s ok 3 /utf8/strrchr 1805s ok 4 /utf8/reverse 1805s ok 5 /utf8/substring 1805s ok 6 /utf8/make-valid 1805s ok 7 /utf8/truncate-middle 1805s # End of utf8 tests 1805s ok - glib/test-printf.test 1805s # Running test: glib/stream-rw_all.test 1805s TAP version 14 1805s # random seed: R02Sa27c991c8afaa2c6448753065ee4531d 1805s 1..24 1805s # Start of snprintf tests 1805s ok 1 /snprintf/retval-and-trunc 1805s ok 2 /snprintf/%d 1805s ok 3 /snprintf/%d-invalid 1805s ok 4 /snprintf/%o 1805s ok 5 /snprintf/%u 1805s ok 6 /snprintf/%x 1805s ok 7 /snprintf/%X 1805s ok 8 /snprintf/%f 1805s ok 9 /snprintf/%e 1805s ok 10 /snprintf/%c 1805s ok 11 /snprintf/%s 1805s ok 12 /snprintf/%n 1805s ok 13 /snprintf/test-percent 1805s ok 14 /snprintf/test-positional-params 1805s ok 15 /snprintf/test-64bit 1805s ok 16 /snprintf/produce-embedded-nulls 1805s # End of snprintf tests 1805s # Start of printf tests 1805s ok 17 /printf/test-percent 1805s ok 18 /printf/test-positional-params 1805s ok 19 /printf/test-64bit 1805s # Start of test-64bit tests 1805s # Start of subprocess tests 1805s # End of subprocess tests 1805s # End of test-64bit tests 1805s # End of printf tests 1805s # Start of fprintf tests 1805s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3761 1805s # /fprintf/produce-embedded-nulls summary: printf() functions can produce strings with embedded null characters. That happens when passing individual characters (%c) with value ' 1805s ok 20 /fprintf/produce-embedded-nulls 1805s # End of fprintf tests 1805s # Start of sprintf tests 1805s ok 21 /sprintf/test-positional-params 1805s ok 22 /sprintf/upper-bound 1805s # End of sprintf tests 1805s # Start of vasprintf tests 1805s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1805s ok 23 /vasprintf/invalid-format-placeholder 1805s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1805s ok 24 /vasprintf/invalid-wide-string 1805s # End of vasprintf tests 1805s TAP version 14 1805s # random seed: R02Saca14951d4b74f27de56aa5d0cb58517 1805s 1..3 1805s # Start of stream tests 1805s # Start of read_all_async tests 1805s ok 1 /stream/read_all_async/memory 1805s # End of read_all_async tests 1805s # Start of write_all_async tests 1805s ok 2 /stream/write_all_async/memory 1805s # End of write_all_async tests 1805s # Start of read_write_all_async tests 1805s ok 3 /stream/read_write_all_async/pipe 1805s # End of read_write_all_async tests 1805s # End of stream tests 1805s ok - glib/stream-rw_all.test 1805s # Running test: glib/charset.test 1805s TAP version 14 1805s # random seed: R02S8e2fdfea54c6cd43d194dacf8cddf1bf 1805s 1..2 1805s # Start of charset tests 1805s # Test 0 1805s # Test 1 1805s # Test 2 1805s # Test 3 1805s ok 1 /charset/language_names_with_category 1805s ok 2 /charset/language_names_with_category_async 1805s # End of charset tests 1805s ok - glib/charset.test 1805s # Running test: glib/rand.test 1805s TAP version 14 1805s # random seed: R02S0a1f03c223776c1ddb79884ed8874c6d 1805s 1..2 1805s # Start of rand tests 1805s ok - glib/rand.test 1805s # Running test: glib/mutex.test 1805s ok 1 /rand/test-rand 1805s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1805s ok 2 /rand/double-range 1805s # End of rand tests 1805s TAP version 14 1805s # random seed: R02S59ef5f927eb8c6621e85290c1d6f9ece 1805s 1..17 1805s # Start of thread tests 1805s ok 1 /thread/mutex1 1805s ok 2 /thread/mutex2 1805s ok 3 /thread/mutex3 1805s ok 4 /thread/mutex4 1807s # Executing: glib/mutex.test 1809s ok 5 /thread/mutex5 1809s # slow test /thread/mutex5 executed in 3.78 secs 1809s # Start of mutex tests 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1809s ok 6 /thread/mutex/errno 1809s # Start of perf tests 1809s # max perf: inf mips 1809s ok 7 /thread/mutex/perf/uncontended 1809s # Start of contended tests 1809s # max perf: inf mips 1809s ok 8 /thread/mutex/perf/contended/1 1809s # max perf: inf mips 1809s ok 9 /thread/mutex/perf/contended/2 1809s # max perf: inf mips 1809s ok 10 /thread/mutex/perf/contended/3 1809s # max perf: 5.000000 mips 1809s ok 11 /thread/mutex/perf/contended/4 1809s # max perf: 6.000000 mips 1809s ok 12 /thread/mutex/perf/contended/5 1809s # max perf: 3.500000 mips 1809s ok 13 /thread/mutex/perf/contended/6 1809s # max perf: 4.000000 mips 1809s ok 14 /thread/mutex/perf/contended/7 1809s # max perf: inf mips 1809s ok 15 /thread/mutex/perf/contended/8 1809s # max perf: 10.000000 mips 1809s ok 16 /thread/mutex/perf/contended/9 1809s # max perf: 5.500000 mips 1809s ok 17 /thread/mutex/perf/contended/10 1809s # End of contended tests 1809s # End of perf tests 1809s # End of mutex tests 1809s # End of thread tests 1809s ok - glib/mutex.test 1809s # Running test: glib/regex.test 1809s TAP version 14 1809s # random seed: R02S0280d3573d434612007c0c452cb2ea55 1809s 1..849 1809s # Start of regex tests 1809s ok 1 /regex/properties 1809s ok 2 /regex/class 1809s ok 3 /regex/lookahead 1809s ok 4 /regex/lookbehind 1809s ok 5 /regex/subpattern 1809s ok 6 /regex/condition 1809s ok 7 /regex/recursion 1809s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1809s ok 8 /regex/multiline 1809s ok 9 /regex/explicit-crlf 1809s ok 10 /regex/max-lookbehind 1809s ok 11 /regex/compile-errors 1809s ok 12 /regex/jit-unsupported-matching 1809s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1809s ok 13 /regex/unmatched-named-subpattern 1809s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1809s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1809s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1809s ok 14 /regex/compiled-regex-after-jit-failure 1809s # Start of new tests 1809s ok 15 /regex/new/1 1809s ok 16 /regex/new/2 1809s ok 17 /regex/new/3 1809s ok 18 /regex/new/4 1809s ok 19 /regex/new/5 1809s ok 20 /regex/new/6 1809s ok 21 /regex/new/7 1809s ok 22 /regex/new/8 1809s ok 23 /regex/new/9 1809s ok 24 /regex/new/10 1809s ok 25 /regex/new/11 1809s ok 26 /regex/new/12 1809s ok 27 /regex/new/13 1809s ok 28 /regex/new/14 1809s ok 29 /regex/new/15 1809s ok 30 /regex/new/16 1809s ok 31 /regex/new/17 1809s ok 32 /regex/new/18 1809s ok 33 /regex/new/19 1809s ok 34 /regex/new/71 1809s ok 35 /regex/new/81 1809s ok 36 /regex/new/83 1809s # End of new tests 1809s # Start of new-check-flags tests 1809s ok 37 /regex/new-check-flags/20 1809s ok 38 /regex/new-check-flags/21 1809s ok 39 /regex/new-check-flags/22 1809s ok 40 /regex/new-check-flags/23 1809s ok 41 /regex/new-check-flags/24 1809s ok 42 /regex/new-check-flags/25 1809s ok 43 /regex/new-check-flags/26 1809s ok 44 /regex/new-check-flags/27 1809s ok 45 /regex/new-check-flags/28 1809s ok 46 /regex/new-check-flags/29 1809s ok 47 /regex/new-check-flags/30 1809s ok 48 /regex/new-check-flags/31 1809s ok 49 /regex/new-check-flags/32 1809s ok 50 /regex/new-check-flags/33 1809s ok 51 /regex/new-check-flags/34 1809s ok 52 /regex/new-check-flags/35 1809s ok 53 /regex/new-check-flags/36 1809s # End of new-check-flags tests 1809s # Start of new-fail tests 1809s # Compiling pattern /(/ failed with error: Error while compiling regular expression ‘(’ at char 1: missing terminating ) 1809s ok 54 /regex/new-fail/37 1809s # Compiling pattern /)/ failed with error: Error while compiling regular expression ‘)’ at char 0: missing terminating ) 1809s ok 55 /regex/new-fail/38 1809s # Compiling pattern /[/ failed with error: Error while compiling regular expression ‘[’ at char 1: missing terminating ] for character class 1809s ok 56 /regex/new-fail/39 1809s # Compiling pattern /*/ failed with error: Error while compiling regular expression ‘*’ at char 0: nothing to repeat 1809s ok 57 /regex/new-fail/40 1809s # Compiling pattern /?/ failed with error: Error while compiling regular expression ‘?’ at char 0: nothing to repeat 1809s ok 58 /regex/new-fail/41 1809s # Compiling pattern /(?Px)|(?Py)/ failed with error: Error while compiling regular expression ‘(?Px)|(?Py)’ at char 15: two named subpatterns have the same name 1809s ok 59 /regex/new-fail/42 1809s # Compiling pattern /a\/ failed with error: Error while compiling regular expression ‘a\’ at char 2: \ at end of pattern 1809s ok 60 /regex/new-fail/43 1809s # Compiling pattern /a\c/ failed with error: Error while compiling regular expression ‘a\c’ at char 3: \c at end of pattern 1809s ok 61 /regex/new-fail/44 1809s # Compiling pattern /a\l/ failed with error: Error while compiling regular expression ‘a\l’ at char 3: unrecognized character following \ 1809s ok 62 /regex/new-fail/45 1809s # 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 1809s ok 63 /regex/new-fail/46 1809s # Compiling pattern /a{999999,}/ failed with error: Error while compiling regular expression ‘a{999999,}’ at char 8: number too big in {} quantifier 1809s ok 64 /regex/new-fail/47 1809s # Compiling pattern /[a-z/ failed with error: Error while compiling regular expression ‘[a-z’ at char 4: missing terminating ] for character class 1809s ok 65 /regex/new-fail/48 1809s # Compiling pattern /[\B]/ failed with error: Error while compiling regular expression ‘[\B]’ at char 2: invalid escape sequence in character class 1809s ok 66 /regex/new-fail/49 1809s # Compiling pattern /[z-a]/ failed with error: Error while compiling regular expression ‘[z-a]’ at char 3: range out of order in character class 1809s ok 67 /regex/new-fail/50 1809s # Compiling pattern /^[[:alnum:]-_.]+$/ failed with error: Error while compiling regular expression ‘^[[:alnum:]-_.]+$’ at char 12: invalid range in character class 1809s ok 68 /regex/new-fail/51 1809s # Compiling pattern /{2,4}/ failed with error: Error while compiling regular expression ‘{2,4}’ at char 4: nothing to repeat 1809s ok 69 /regex/new-fail/52 1809s # Compiling pattern /a(?u)/ failed with error: Error while compiling regular expression ‘a(?u)’ at char 3: unrecognized character after (? or (?- 1809s ok 70 /regex/new-fail/53 1809s # Compiling pattern /a(?<$foo)bar/ failed with error: Error while compiling regular expression ‘a(?<$foo)bar’ at char 4: missing subpattern name after (?& 1809s ok 71 /regex/new-fail/54 1809s # 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 1809s ok 72 /regex/new-fail/55 1809s # Compiling pattern /a(b/ failed with error: Error while compiling regular expression ‘a(b’ at char 3: missing terminating ) 1809s ok 73 /regex/new-fail/56 1809s # Compiling pattern /a)b/ failed with error: Error while compiling regular expression ‘a)b’ at char 1: missing terminating ) 1809s ok 74 /regex/new-fail/57 1809s # Compiling pattern /a(?R/ failed with error: Error while compiling regular expression ‘a(?R’ at char 4: missing terminating ) 1809s ok 75 /regex/new-fail/58 1809s # Compiling pattern /a(?-54/ failed with error: Error while compiling regular expression ‘a(?-54’ at char 6: reference to non-existent subpattern 1809s ok 76 /regex/new-fail/59 1809s # Compiling pattern /(ab\2)/ failed with error: Error while compiling regular expression ‘(ab\2)’ at char 4: reference to non-existent subpattern 1809s ok 77 /regex/new-fail/60 1809s # Compiling pattern /a(?#abc/ failed with error: Error while compiling regular expression ‘a(?#abc’ at char 7: missing ) after comment 1809s ok 78 /regex/new-fail/61 1809s # Compiling pattern /(?<=a+)b/ failed with error: Error while compiling regular expression ‘(?<=a+)b’ at char 0: lookbehind assertion is not fixed length 1809s ok 79 /regex/new-fail/62 1809s # Compiling pattern /(?(1?)a|b)/ failed with error: Error while compiling regular expression ‘(?(1?)a|b)’ at char 4: malformed number or name after (?( 1809s ok 80 /regex/new-fail/63 1809s # 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 1809s ok 81 /regex/new-fail/64 1809s # Compiling pattern /(?(?i))/ failed with error: Error while compiling regular expression ‘(?(?i))’ at char 2: assertion expected after (?( 1809s ok 82 /regex/new-fail/65 1809s # Compiling pattern /a[[:fubar:]]b/ failed with error: Error while compiling regular expression ‘a[[:fubar:]]b’ at char 11: unknown POSIX class name 1809s ok 83 /regex/new-fail/66 1809s # Compiling pattern /[[.ch.]]/ failed with error: Error while compiling regular expression ‘[[.ch.]]’ at char 7: POSIX collating elements are not supported 1809s ok 84 /regex/new-fail/67 1809s # 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 1809s ok 85 /regex/new-fail/68 1809s # 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 1809s ok 86 /regex/new-fail/69 1809s # Compiling pattern /(?<=\C)X/ failed with error: Error while compiling regular expression ‘(?<=\C)X’ at char 0: \C not allowed in lookbehind assertion 1809s ok 87 /regex/new-fail/70 1809s # 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 1809s ok 90 /regex/new-fail/74 1809s # Compiling pattern /\666/ failed with error: Error while compiling regular expression ‘\666’ at char 4: octal value is greater than \377 1809s ok 91 /regex/new-fail/75 1809s # 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 1809s ok 92 /regex/new-fail/76 1809s # Compiling pattern /a/ failed with error: Invalid newline flags 1809s ok 93 /regex/new-fail/77 1809s # 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 1809s ok 94 /regex/new-fail/78 1809s # 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 1809s ok 95 /regex/new-fail/79 1809s # Compiling pattern /^(a)\g{0}/ failed with error: Error while compiling regular expression ‘^(a)\g{0}’ at char 9: reference to non-existent subpattern 1809s ok 96 /regex/new-fail/80 1809s # Compiling pattern /a(*FOOBAR)b/ failed with error: Error while compiling regular expression ‘a(*FOOBAR)b’ at char 9: (*VERB) not recognized 1809s ok 97 /regex/new-fail/82 1809s # Compiling pattern /(?)(?&)/ failed with error: Error while compiling regular expression ‘(?)(?&)’ at char 9: missing subpattern name after (?& 1809s ok 98 /regex/new-fail/84 1809s # Compiling pattern /(?+-a)/ failed with error: Error while compiling regular expression ‘(?+-a)’ at char 2: a numbered reference must not be zero 1809s ok 99 /regex/new-fail/85 1809s # 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 1809s ok 100 /regex/new-fail/86 1809s # Compiling pattern /a(*MARK)b/ failed with error: Error while compiling regular expression ‘a(*MARK)b’ at char 7: (*MARK) must have an argument 1809s ok 101 /regex/new-fail/87 1809s # Compiling pattern /^\c€/ failed with error: Error while compiling regular expression ‘^\c€’ at char 3: \c must be followed by an ASCII character 1809s ok 102 /regex/new-fail/88 1809s # 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 1809s ok 103 /regex/new-fail/89 1809s # 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 1809s ok 104 /regex/new-fail/90 1809s # 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) 1809s ok 105 /regex/new-fail/91 1809s # 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 1809s ok 106 /regex/new-fail/92 1809s # End of new-fail tests 1809s # Start of match-simple tests 1809s ok 107 /regex/match-simple/93 1809s ok 108 /regex/match-simple/94 1809s ok 109 /regex/match-simple/95 1809s ok 110 /regex/match-simple/96 1809s ok 111 /regex/match-simple/97 1809s ok 112 /regex/match-simple/98 1809s ok 113 /regex/match-simple/99 1809s ok 114 /regex/match-simple/100 1809s ok 115 /regex/match-simple/101 1809s ok 116 /regex/match-simple/102 1809s ok 117 /regex/match-simple/103 1809s ok 118 /regex/match-simple/104 1809s ok 119 /regex/match-simple/105 1809s ok 120 /regex/match-simple/106 1809s ok 121 /regex/match-simple/107 1809s ok 122 /regex/match-simple/108 1809s ok 123 /regex/match-simple/109 1809s ok 124 /regex/match-simple/110 1809s ok 125 /regex/match-simple/111 1809s ok 126 /regex/match-simple/112 1809s ok 127 /regex/match-simple/113 1809s ok 128 /regex/match-simple/114 1809s ok 129 /regex/match-simple/115 1809s ok 130 /regex/match-simple/116 1809s ok 131 /regex/match-simple/117 1809s ok 132 /regex/match-simple/118 1809s ok 133 /regex/match-simple/119 1809s ok 134 /regex/match-simple/120 1809s ok 135 /regex/match-simple/121 1809s ok 136 /regex/match-simple/122 1809s ok 137 /regex/match-simple/123 1809s ok 138 /regex/match-simple/124 1809s ok 139 /regex/match-simple/125 1809s ok 140 /regex/match-simple/126 1809s ok 141 /regex/match-simple/127 1809s ok 142 /regex/match-simple/128 1809s ok 143 /regex/match-simple/129 1809s ok 144 /regex/match-simple/130 1809s ok 145 /regex/match-simple/131 1809s ok 146 /regex/match-simple/132 1809s ok 147 /regex/match-simple/133 1809s ok 148 /regex/match-simple/134 1809s ok 149 /regex/match-simple/135 1809s ok 150 /regex/match-simple/136 1809s ok 151 /regex/match-simple/137 1809s ok 152 /regex/match-simple/138 1809s ok 153 /regex/match-simple/139 1809s ok 154 /regex/match-simple/140 1809s ok 155 /regex/match-simple/141 1809s ok 156 /regex/match-simple/142 1809s ok 157 /regex/match-simple/143 1809s ok 158 /regex/match-simple/144 1809s ok 159 /regex/match-simple/145 1809s ok 160 /regex/match-simple/146 1809s ok 161 /regex/match-simple/147 1809s ok 162 /regex/match-simple/148 1809s ok 163 /regex/match-simple/149 1809s ok 164 /regex/match-simple/150 1809s ok 165 /regex/match-simple/151 1809s ok 166 /regex/match-simple/152 1809s ok 167 /regex/match-simple/153 1809s ok 168 /regex/match-simple/154 1809s ok 169 /regex/match-simple/155 1809s ok 170 /regex/match-simple/156 1809s ok 171 /regex/match-simple/157 1809s ok 172 /regex/match-simple/158 1809s ok 173 /regex/match-simple/159 1809s ok 174 /regex/match-simple/160 1809s ok 175 /regex/match-simple/161 1809s ok 176 /regex/match-simple/162 1809s ok 177 /regex/match-simple/163 1809s ok 178 /regex/match-simple/164 1809s ok 179 /regex/match-simple/165 1809s # End of match-simple tests 1809s # Start of match-simple-optimized tests 1809s ok 180 /regex/match-simple-optimized/93 1809s ok 181 /regex/match-simple-optimized/94 1809s ok 182 /regex/match-simple-optimized/95 1809s ok 183 /regex/match-simple-optimized/96 1809s ok 184 /regex/match-simple-optimized/97 1809s ok 185 /regex/match-simple-optimized/98 1809s ok 186 /regex/match-simple-optimized/99 1809s ok 187 /regex/match-simple-optimized/100 1809s ok 188 /regex/match-simple-optimized/101 1809s ok 189 /regex/match-simple-optimized/102 1809s ok 190 /regex/match-simple-optimized/103 1809s ok 191 /regex/match-simple-optimized/104 1809s ok 192 /regex/match-simple-optimized/105 1809s ok 193 /regex/match-simple-optimized/106 1809s ok 194 /regex/match-simple-optimized/107 1809s ok 195 /regex/match-simple-optimized/108 1809s ok 196 /regex/match-simple-optimized/109 1809s ok 197 /regex/match-simple-optimized/110 1809s ok 198 /regex/match-simple-optimized/111 1809s ok 199 /regex/match-simple-optimized/112 1809s ok 200 /regex/match-simple-optimized/113 1809s ok 201 /regex/match-simple-optimized/114 1809s ok 202 /regex/match-simple-optimized/115 1809s ok 203 /regex/match-simple-optimized/116 1809s ok 204 /regex/match-simple-optimized/117 1809s ok 205 /regex/match-simple-optimized/118 1809s ok 206 /regex/match-simple-optimized/119 1809s ok 207 /regex/match-simple-optimized/120 1809s ok 208 /regex/match-simple-optimized/121 1809s ok 209 /regex/match-simple-optimized/122 1809s ok 210 /regex/match-simple-optimized/123 1809s ok 211 /regex/match-simple-optimized/124 1809s ok 212 /regex/match-simple-optimized/125 1809s ok 213 /regex/match-simple-optimized/126 1809s ok 214 /regex/match-simple-optimized/127 1809s ok 215 /regex/match-simple-optimized/128 1809s ok 216 /regex/match-simple-optimized/129 1809s ok 217 /regex/match-simple-optimized/130 1809s ok 218 /regex/match-simple-optimized/131 1809s ok 219 /regex/match-simple-optimized/132 1809s ok 220 /regex/match-simple-optimized/133 1809s ok 221 /regex/match-simple-optimized/134 1809s ok 222 /regex/match-simple-optimized/135 1809s ok 223 /regex/match-simple-optimized/136 1809s ok 224 /regex/match-simple-optimized/137 1809s ok 225 /regex/match-simple-optimized/138 1809s ok 226 /regex/match-simple-optimized/139 1809s ok 227 /regex/match-simple-optimized/140 1809s ok 228 /regex/match-simple-optimized/141 1809s ok 229 /regex/match-simple-optimized/142 1809s ok 230 /regex/match-simple-optimized/143 1809s ok 231 /regex/match-simple-optimized/144 1809s ok 232 /regex/match-simple-optimized/145 1809s ok 233 /regex/match-simple-optimized/146 1809s ok 234 /regex/match-simple-optimized/147 1809s ok 235 /regex/match-simple-optimized/148 1809s ok 236 /regex/match-simple-optimized/149 1809s ok 237 /regex/match-simple-optimized/150 1809s ok 238 /regex/match-simple-optimized/151 1809s ok 239 /regex/match-simple-optimized/152 1809s ok 240 /regex/match-simple-optimized/153 1809s ok 241 /regex/match-simple-optimized/154 1809s ok 242 /regex/match-simple-optimized/155 1809s ok 243 /regex/match-simple-optimized/156 1809s ok 244 /regex/match-simple-optimized/157 1809s ok 245 /regex/match-simple-optimized/158 1809s ok 246 /regex/match-simple-optimized/159 1809s ok 247 /regex/match-simple-optimized/160 1809s ok 248 /regex/match-simple-optimized/161 1809s ok 249 /regex/match-simple-optimized/162 1809s ok 250 /regex/match-simple-optimized/163 1809s ok 251 /regex/match-simple-optimized/164 1809s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1809s ok 252 /regex/match-simple-optimized/165 1809s # End of match-simple-optimized tests 1809s # Start of match tests 1809s ok 253 /regex/match/166 1809s ok 254 /regex/match/167 1809s ok 255 /regex/match/168 1809s ok 256 /regex/match/169 1809s ok 257 /regex/match/170 1809s ok 258 /regex/match/171 1809s ok 259 /regex/match/172 1809s ok 260 /regex/match/173 1809s ok 261 /regex/match/174 1809s ok 262 /regex/match/175 1809s ok 263 /regex/match/176 1809s ok 264 /regex/match/177 1809s ok 265 /regex/match/178 1809s ok 266 /regex/match/179 1809s ok 267 /regex/match/180 1809s ok 268 /regex/match/181 1809s ok 269 /regex/match/182 1809s ok 270 /regex/match/183 1809s ok 271 /regex/match/184 1809s ok 272 /regex/match/185 1809s ok 273 /regex/match/186 1809s ok 274 /regex/match/187 1809s ok 275 /regex/match/188 1809s ok 276 /regex/match/189 1809s ok 277 /regex/match/190 1809s ok 278 /regex/match/191 1809s ok 279 /regex/match/192 1809s ok 280 /regex/match/193 1809s ok 281 /regex/match/194 1809s ok 282 /regex/match/195 1809s ok 283 /regex/match/196 1809s ok 284 /regex/match/197 1809s ok 285 /regex/match/198 1809s ok 286 /regex/match/199 1809s ok 287 /regex/match/200 1809s ok 288 /regex/match/201 1809s ok 289 /regex/match/202 1809s ok 290 /regex/match/203 1809s ok 291 /regex/match/204 1809s ok 292 /regex/match/205 1809s ok 293 /regex/match/206 1809s ok 294 /regex/match/207 1809s ok 295 /regex/match/208 1809s ok 296 /regex/match/209 1809s ok 297 /regex/match/210 1809s ok 298 /regex/match/211 1809s ok 299 /regex/match/212 1809s ok 300 /regex/match/213 1809s ok 301 /regex/match/214 1809s ok 302 /regex/match/215 1809s ok 303 /regex/match/216 1809s ok 304 /regex/match/217 1809s ok 305 /regex/match/218 1809s ok 306 /regex/match/219 1809s ok 307 /regex/match/220 1809s ok 308 /regex/match/221 1809s ok 309 /regex/match/222 1809s ok 310 /regex/match/223 1809s ok 311 /regex/match/224 1809s ok 312 /regex/match/225 1809s ok 313 /regex/match/226 1809s ok 314 /regex/match/227 1809s ok 315 /regex/match/228 1809s ok 316 /regex/match/229 1809s ok 317 /regex/match/230 1809s ok 318 /regex/match/231 1809s ok 319 /regex/match/232 1809s ok 320 /regex/match/233 1809s ok 321 /regex/match/234 1809s ok 322 /regex/match/235 1809s ok 323 /regex/match/236 1809s ok 324 /regex/match/237 1809s ok 325 /regex/match/238 1809s ok 326 /regex/match/239 1809s ok 327 /regex/match/240 1809s ok 328 /regex/match/241 1809s ok 329 /regex/match/242 1809s ok 330 /regex/match/243 1809s ok 331 /regex/match/244 1809s ok 332 /regex/match/245 1809s ok 333 /regex/match/246 1809s ok 334 /regex/match/247 1809s ok 335 /regex/match/partial282 1809s ok 336 /regex/match/partial283 1809s ok 337 /regex/match/partial284 1809s ok 338 /regex/match/partial285 1809s ok 339 /regex/match/partial286 1809s ok 340 /regex/match/partial287 1809s ok 341 /regex/match/partial288 1809s ok 342 /regex/match/partial289 1809s ok 343 /regex/match/partial290 1809s ok 344 /regex/match/partial291 1809s ok 345 /regex/match/partial292 1809s ok 346 /regex/match/partial293 1809s ok 347 /regex/match/partial294 1809s ok 348 /regex/match/partial295 1809s ok 349 /regex/match/partial296 1809s ok 350 /regex/match/partial297 1809s ok 351 /regex/match/partial298 1809s ok 352 /regex/match/partial299 1809s ok 353 /regex/match/partial300 1809s ok 354 /regex/match/partial301 1809s ok 355 /regex/match/partial302 1809s ok 356 /regex/match/partial303 1809s # Start of next0 tests 1809s ok 357 /regex/match/next0/248 1809s ok 358 /regex/match/next0/249 1809s ok 359 /regex/match/next0/250 1809s ok 360 /regex/match/next0/251 1809s # End of next0 tests 1809s # Start of next1 tests 1809s ok 361 /regex/match/next1/252 1809s ok 362 /regex/match/next1/253 1809s ok 363 /regex/match/next1/254 1809s ok 364 /regex/match/next1/255 1809s ok 365 /regex/match/next1/256 1809s # End of next1 tests 1809s # Start of next2 tests 1809s ok 366 /regex/match/next2/257 1809s ok 367 /regex/match/next2/258 1809s ok 368 /regex/match/next2/259 1809s ok 369 /regex/match/next2/260 1809s ok 370 /regex/match/next2/261 1809s ok 371 /regex/match/next2/262 1809s ok 372 /regex/match/next2/263 1809s ok 373 /regex/match/next2/264 1809s # End of next2 tests 1809s # Start of next3 tests 1809s ok 374 /regex/match/next3/265 1809s ok 375 /regex/match/next3/266 1809s ok 376 /regex/match/next3/267 1809s ok 377 /regex/match/next3/268 1809s ok 378 /regex/match/next3/269 1809s ok 379 /regex/match/next3/270 1809s # End of next3 tests 1809s # Start of next4 tests 1809s ok 380 /regex/match/next4/271 1809s # End of next4 tests 1809s # Start of count tests 1809s ok 381 /regex/match/count/272 1809s ok 382 /regex/match/count/273 1809s ok 383 /regex/match/count/274 1809s ok 384 /regex/match/count/275 1809s ok 385 /regex/match/count/276 1809s ok 386 /regex/match/count/277 1809s ok 387 /regex/match/count/278 1809s ok 388 /regex/match/count/279 1809s ok 389 /regex/match/count/280 1809s ok 390 /regex/match/count/281 1809s # End of count tests 1809s # Start of count-optimized tests 1809s ok 391 /regex/match/count-optimized/272 1809s ok 392 /regex/match/count-optimized/273 1809s ok 393 /regex/match/count-optimized/274 1809s ok 394 /regex/match/count-optimized/275 1809s ok 395 /regex/match/count-optimized/276 1809s ok 396 /regex/match/count-optimized/277 1809s ok 397 /regex/match/count-optimized/278 1809s ok 398 /regex/match/count-optimized/279 1809s ok 399 /regex/match/count-optimized/280 1809s ok 400 /regex/match/count-optimized/281 1809s # End of count-optimized tests 1809s # Start of partial-optimized tests 1809s ok 401 /regex/match/partial-optimized/282 1809s ok 402 /regex/match/partial-optimized/283 1809s ok 403 /regex/match/partial-optimized/284 1809s ok 404 /regex/match/partial-optimized/285 1809s ok 405 /regex/match/partial-optimized/286 1809s ok 406 /regex/match/partial-optimized/287 1809s ok 407 /regex/match/partial-optimized/288 1809s ok 408 /regex/match/partial-optimized/289 1809s ok 409 /regex/match/partial-optimized/290 1809s ok 410 /regex/match/partial-optimized/291 1809s ok 411 /regex/match/partial-optimized/292 1809s ok 412 /regex/match/partial-optimized/293 1809s ok 413 /regex/match/partial-optimized/294 1809s ok 414 /regex/match/partial-optimized/295 1809s ok 415 /regex/match/partial-optimized/296 1809s ok 416 /regex/match/partial-optimized/297 1809s ok 417 /regex/match/partial-optimized/298 1809s ok 418 /regex/match/partial-optimized/299 1809s ok 419 /regex/match/partial-optimized/300 1809s ok 420 /regex/match/partial-optimized/301 1809s ok 421 /regex/match/partial-optimized/302 1809s ok 422 /regex/match/partial-optimized/303 1809s # End of partial-optimized tests 1809s # Start of subpattern tests 1809s ok 423 /regex/match/subpattern/304 1809s ok 424 /regex/match/subpattern/305 1809s ok 425 /regex/match/subpattern/306 1809s ok 426 /regex/match/subpattern/307 1809s ok 427 /regex/match/subpattern/308 1809s ok 428 /regex/match/subpattern/309 1809s ok 429 /regex/match/subpattern/310 1809s ok 430 /regex/match/subpattern/311 1809s ok 431 /regex/match/subpattern/312 1809s ok 432 /regex/match/subpattern/313 1809s ok 433 /regex/match/subpattern/314 1809s ok 434 /regex/match/subpattern/315 1809s ok 435 /regex/match/subpattern/316 1809s # Start of named tests 1809s # Start of dupnames tests 1809s ok 436 /regex/match/subpattern/named/dupnames/326 1809s ok 437 /regex/match/subpattern/named/dupnames/327 1809s ok 438 /regex/match/subpattern/named/dupnames/328 1809s ok 439 /regex/match/subpattern/named/dupnames/329 1809s ok 440 /regex/match/subpattern/named/dupnames/330 1809s # End of dupnames tests 1809s # End of named tests 1809s # End of subpattern tests 1809s # Start of subpattern-optimized tests 1809s ok 441 /regex/match/subpattern-optimized/304 1809s ok 442 /regex/match/subpattern-optimized/305 1809s ok 443 /regex/match/subpattern-optimized/306 1809s ok 444 /regex/match/subpattern-optimized/307 1809s ok 445 /regex/match/subpattern-optimized/308 1809s ok 446 /regex/match/subpattern-optimized/309 1809s ok 447 /regex/match/subpattern-optimized/310 1809s ok 448 /regex/match/subpattern-optimized/311 1809s ok 449 /regex/match/subpattern-optimized/312 1809s ok 450 /regex/match/subpattern-optimized/313 1809s ok 451 /regex/match/subpattern-optimized/314 1809s ok 452 /regex/match/subpattern-optimized/315 1809s ok 453 /regex/match/subpattern-optimized/316 1809s # End of subpattern-optimized tests 1809s # Start of named tests 1809s # Start of subpattern tests 1809s ok 454 /regex/match/named/subpattern/317 1809s ok 455 /regex/match/named/subpattern/318 1809s ok 456 /regex/match/named/subpattern/319 1809s ok 457 /regex/match/named/subpattern/320 1809s ok 458 /regex/match/named/subpattern/321 1809s ok 459 /regex/match/named/subpattern/322 1809s ok 460 /regex/match/named/subpattern/323 1809s ok 461 /regex/match/named/subpattern/324 1809s ok 462 /regex/match/named/subpattern/325 1809s ok 463 /regex/match/named/subpattern/331 1809s ok 464 /regex/match/named/subpattern/332 1809s ok 465 /regex/match/named/subpattern/333 1809s ok 466 /regex/match/named/subpattern/334 1809s ok 467 /regex/match/named/subpattern/335 1809s # End of subpattern tests 1809s # End of named tests 1809s # End of match tests 1809s # Start of match-optimized tests 1809s ok 468 /regex/match-optimized/166 1809s ok 469 /regex/match-optimized/167 1809s ok 470 /regex/match-optimized/168 1809s ok 471 /regex/match-optimized/169 1809s ok 472 /regex/match-optimized/170 1809s ok 473 /regex/match-optimized/171 1809s ok 474 /regex/match-optimized/172 1809s ok 475 /regex/match-optimized/173 1809s ok 476 /regex/match-optimized/174 1809s ok 477 /regex/match-optimized/175 1809s ok 478 /regex/match-optimized/176 1809s ok 479 /regex/match-optimized/177 1809s ok 480 /regex/match-optimized/178 1809s ok 481 /regex/match-optimized/179 1809s ok 482 /regex/match-optimized/180 1809s ok 483 /regex/match-optimized/181 1809s ok 484 /regex/match-optimized/182 1809s ok 485 /regex/match-optimized/183 1809s ok 486 /regex/match-optimized/184 1809s ok 487 /regex/match-optimized/185 1809s ok 488 /regex/match-optimized/186 1809s ok 489 /regex/match-optimized/187 1809s ok 490 /regex/match-optimized/188 1809s ok 491 /regex/match-optimized/189 1809s ok 492 /regex/match-optimized/190 1809s ok 493 /regex/match-optimized/191 1809s ok 494 /regex/match-optimized/192 1809s ok 495 /regex/match-optimized/193 1809s ok 496 /regex/match-optimized/194 1809s ok 497 /regex/match-optimized/195 1809s ok 498 /regex/match-optimized/196 1809s ok 499 /regex/match-optimized/197 1809s ok 500 /regex/match-optimized/198 1809s ok 501 /regex/match-optimized/199 1809s ok 502 /regex/match-optimized/200 1809s ok 503 /regex/match-optimized/201 1809s ok 504 /regex/match-optimized/202 1809s ok 505 /regex/match-optimized/203 1809s ok 506 /regex/match-optimized/204 1809s ok 507 /regex/match-optimized/205 1809s ok 508 /regex/match-optimized/206 1809s ok 509 /regex/match-optimized/207 1809s ok 510 /regex/match-optimized/208 1809s ok 511 /regex/match-optimized/209 1809s ok 512 /regex/match-optimized/210 1809s ok 513 /regex/match-optimized/211 1809s ok 514 /regex/match-optimized/212 1809s ok 515 /regex/match-optimized/213 1809s ok 516 /regex/match-optimized/214 1809s ok 517 /regex/match-optimized/215 1809s ok 518 /regex/match-optimized/216 1809s ok 519 /regex/match-optimized/217 1809s ok 520 /regex/match-optimized/218 1809s ok 521 /regex/match-optimized/219 1809s ok 522 /regex/match-optimized/220 1809s ok 523 /regex/match-optimized/221 1809s ok 524 /regex/match-optimized/222 1809s ok 525 /regex/match-optimized/223 1809s ok 526 /regex/match-optimized/224 1809s ok 527 /regex/match-optimized/225 1809s ok 528 /regex/match-optimized/226 1809s ok 529 /regex/match-optimized/227 1809s ok 530 /regex/match-optimized/228 1809s ok 531 /regex/match-optimized/229 1809s ok 532 /regex/match-optimized/230 1809s ok 533 /regex/match-optimized/231 1809s ok 534 /regex/match-optimized/232 1809s ok 535 /regex/match-optimized/233 1809s ok 536 /regex/match-optimized/234 1809s ok 537 /regex/match-optimized/235 1809s ok 538 /regex/match-optimized/236 1809s ok 539 /regex/match-optimized/237 1809s ok 540 /regex/match-optimized/238 1809s ok 541 /regex/match-optimized/239 1809s ok 542 /regex/match-optimized/240 1809s ok 543 /regex/match-optimized/241 1809s ok 544 /regex/match-optimized/242 1809s ok 545 /regex/match-optimized/243 1809s ok 546 /regex/match-optimized/244 1809s ok 547 /regex/match-optimized/245 1809s ok 548 /regex/match-optimized/246 1809s ok 549 /regex/match-optimized/247 1809s # End of match-optimized tests 1809s # Start of fetch-all0 tests 1809s ok 550 /regex/fetch-all0/336 1809s ok 551 /regex/fetch-all0/337 1809s # End of fetch-all0 tests 1809s # Start of fetch-all1 tests 1809s ok 552 /regex/fetch-all1/338 1809s ok 553 /regex/fetch-all1/339 1809s ok 554 /regex/fetch-all1/340 1809s # End of fetch-all1 tests 1809s # Start of fetch-all2 tests 1809s ok 555 /regex/fetch-all2/341 1809s ok 556 /regex/fetch-all2/342 1809s ok 557 /regex/fetch-all2/343 1809s # End of fetch-all2 tests 1809s # Start of fetch-all3 tests 1809s ok 558 /regex/fetch-all3/344 1809s ok 559 /regex/fetch-all3/345 1809s ok 560 /regex/fetch-all3/346 1809s ok 561 /regex/fetch-all3/347 1809s ok 562 /regex/fetch-all3/348 1809s # End of fetch-all3 tests 1809s # Start of split tests 1809s # Start of simple0 tests 1809s ok 563 /regex/split/simple0/349 1809s ok 564 /regex/split/simple0/350 1809s ok 565 /regex/split/simple0/365 1809s ok 566 /regex/split/simple0/366 1809s # End of simple0 tests 1809s # Start of simple1 tests 1809s ok 567 /regex/split/simple1/351 1809s ok 568 /regex/split/simple1/352 1809s # End of simple1 tests 1809s # Start of simple2 tests 1809s ok 569 /regex/split/simple2/353 1809s ok 570 /regex/split/simple2/359 1809s ok 571 /regex/split/simple2/361 1809s # End of simple2 tests 1809s # Start of simple3 tests 1809s ok 572 /regex/split/simple3/354 1809s ok 573 /regex/split/simple3/355 1809s ok 574 /regex/split/simple3/356 1809s ok 575 /regex/split/simple3/357 1809s ok 576 /regex/split/simple3/358 1809s ok 577 /regex/split/simple3/360 1809s ok 578 /regex/split/simple3/362 1809s ok 579 /regex/split/simple3/363 1809s ok 580 /regex/split/simple3/364 1809s # End of simple3 tests 1809s # End of split tests 1809s # Start of split0 tests 1809s ok 581 /regex/split0/367 1809s ok 582 /regex/split0/369 1809s # End of split0 tests 1809s # Start of full-split0 tests 1809s ok 583 /regex/full-split0/368 1809s ok 584 /regex/full-split0/370 1809s ok 585 /regex/full-split0/371 1809s ok 586 /regex/full-split0/372 1809s ok 587 /regex/full-split0/373 1809s # End of full-split0 tests 1809s # Start of split1 tests 1809s ok 588 /regex/split1/374 1809s ok 589 /regex/split1/377 1809s # End of split1 tests 1809s # Start of full-split1 tests 1809s ok 590 /regex/full-split1/375 1809s ok 591 /regex/full-split1/376 1809s ok 592 /regex/full-split1/378 1809s ok 593 /regex/full-split1/379 1809s ok 594 /regex/full-split1/405 1809s # End of full-split1 tests 1809s # Start of split2 tests 1809s ok 595 /regex/split2/380 1809s ok 596 /regex/split2/384 1809s ok 597 /regex/split2/396 1809s # End of split2 tests 1809s # Start of full-split2 tests 1809s ok 598 /regex/full-split2/381 1809s ok 599 /regex/full-split2/382 1809s ok 600 /regex/full-split2/383 1809s ok 601 /regex/full-split2/385 1809s ok 602 /regex/full-split2/397 1809s ok 603 /regex/full-split2/400 1809s ok 604 /regex/full-split2/406 1809s # End of full-split2 tests 1809s # Start of split3 tests 1809s ok 605 /regex/split3/386 1809s ok 606 /regex/split3/388 1809s ok 607 /regex/split3/390 1809s ok 608 /regex/split3/392 1809s ok 609 /regex/split3/394 1809s ok 610 /regex/split3/398 1809s ok 611 /regex/split3/401 1809s ok 612 /regex/split3/403 1809s # End of split3 tests 1809s # Start of full-split3 tests 1809s ok 613 /regex/full-split3/387 1809s ok 614 /regex/full-split3/389 1809s ok 615 /regex/full-split3/391 1809s ok 616 /regex/full-split3/393 1809s ok 617 /regex/full-split3/395 1809s ok 618 /regex/full-split3/399 1809s ok 619 /regex/full-split3/402 1809s ok 620 /regex/full-split3/404 1809s ok 621 /regex/full-split3/407 1809s ok 622 /regex/full-split3/408 1809s # End of full-split3 tests 1809s # Start of check-repacement tests 1809s ok 623 /regex/check-repacement/409 1809s ok 624 /regex/check-repacement/410 1809s ok 625 /regex/check-repacement/411 1809s ok 626 /regex/check-repacement/412 1809s ok 627 /regex/check-repacement/413 1809s ok 628 /regex/check-repacement/414 1809s ok 629 /regex/check-repacement/415 1809s ok 630 /regex/check-repacement/416 1809s # End of check-repacement tests 1809s # Start of expand tests 1809s ok 631 /regex/expand/417 1809s ok 632 /regex/expand/418 1809s ok 633 /regex/expand/419 1809s ok 634 /regex/expand/420 1809s ok 635 /regex/expand/421 1809s ok 636 /regex/expand/422 1809s ok 637 /regex/expand/423 1809s ok 638 /regex/expand/424 1809s ok 639 /regex/expand/425 1809s ok 640 /regex/expand/426 1809s ok 641 /regex/expand/427 1809s ok 642 /regex/expand/428 1809s ok 643 /regex/expand/429 1809s ok 644 /regex/expand/430 1809s ok 645 /regex/expand/431 1809s ok 646 /regex/expand/432 1809s ok 647 /regex/expand/433 1809s ok 648 /regex/expand/434 1809s ok 649 /regex/expand/435 1809s ok 650 /regex/expand/436 1809s ok 651 /regex/expand/437 1809s ok 652 /regex/expand/438 1809s ok 653 /regex/expand/439 1809s ok 654 /regex/expand/440 1809s ok 655 /regex/expand/441 1809s ok 656 /regex/expand/442 1809s ok 657 /regex/expand/443 1809s ok 658 /regex/expand/444 1809s ok 659 /regex/expand/445 1809s ok 660 /regex/expand/446 1809s ok 661 /regex/expand/447 1809s ok 662 /regex/expand/448 1809s ok 663 /regex/expand/449 1809s ok 664 /regex/expand/450 1809s ok 665 /regex/expand/451 1809s ok 666 /regex/expand/452 1809s ok 667 /regex/expand/453 1809s ok 668 /regex/expand/454 1809s ok 669 /regex/expand/455 1809s ok 670 /regex/expand/456 1809s ok 671 /regex/expand/457 1809s ok 672 /regex/expand/458 1809s ok 673 /regex/expand/459 1809s ok 674 /regex/expand/460 1809s ok 675 /regex/expand/461 1809s ok 676 /regex/expand/462 1809s ok 677 /regex/expand/463 1809s ok 678 /regex/expand/464 1809s ok 679 /regex/expand/465 1809s ok 680 /regex/expand/466 1809s ok 681 /regex/expand/467 1809s ok 682 /regex/expand/468 1809s ok 683 /regex/expand/469 1809s ok 684 /regex/expand/470 1809s ok 685 /regex/expand/471 1809s ok 686 /regex/expand/472 1809s ok 687 /regex/expand/473 1809s ok 688 /regex/expand/474 1809s ok 689 /regex/expand/475 1809s ok 690 /regex/expand/476 1809s ok 691 /regex/expand/477 1809s ok 692 /regex/expand/478 1809s ok 693 /regex/expand/479 1809s ok 694 /regex/expand/480 1809s ok 695 /regex/expand/481 1809s ok 696 /regex/expand/482 1809s # End of expand tests 1809s # Start of replace tests 1809s ok 697 /regex/replace/483 1809s ok 698 /regex/replace/484 1809s ok 699 /regex/replace/485 1809s ok 700 /regex/replace/486 1809s ok 701 /regex/replace/487 1809s ok 702 /regex/replace/488 1809s ok 703 /regex/replace/489 1809s ok 704 /regex/replace/490 1809s ok 705 /regex/replace/491 1809s ok 706 /regex/replace/492 1809s ok 707 /regex/replace/493 1809s ok 708 /regex/replace/494 1809s ok 709 /regex/replace/495 1809s ok 710 /regex/replace/496 1809s ok 711 /regex/replace/497 1809s ok 712 /regex/replace/498 1809s ok 713 /regex/replace/499 1809s ok 714 /regex/replace/500 1809s ok 715 /regex/replace/501 1809s ok 716 /regex/replace/502 1809s ok 717 /regex/replace/503 1809s ok 718 /regex/replace/504 1809s ok 719 /regex/replace/505 1809s ok 720 /regex/replace/506 1809s ok 721 /regex/replace/507 1809s ok 722 /regex/replace/508 1809s ok 723 /regex/replace/509 1809s ok 724 /regex/replace/510 1809s # End of replace tests 1809s # Start of replace-optimized tests 1809s ok 725 /regex/replace-optimized/483 1809s ok 726 /regex/replace-optimized/484 1809s ok 727 /regex/replace-optimized/485 1809s ok 728 /regex/replace-optimized/486 1809s ok 729 /regex/replace-optimized/487 1809s ok 730 /regex/replace-optimized/488 1809s ok 731 /regex/replace-optimized/489 1809s ok 732 /regex/replace-optimized/490 1809s ok 733 /regex/replace-optimized/491 1809s ok 734 /regex/replace-optimized/492 1809s ok 735 /regex/replace-optimized/493 1809s ok 736 /regex/replace-optimized/494 1809s ok 737 /regex/replace-optimized/495 1809s ok 738 /regex/replace-optimized/496 1809s ok 739 /regex/replace-optimized/497 1809s ok 740 /regex/replace-optimized/498 1809s ok 741 /regex/replace-optimized/499 1809s ok 742 /regex/replace-optimized/500 1809s ok 743 /regex/replace-optimized/501 1809s ok 744 /regex/replace-optimized/502 1809s ok 745 /regex/replace-optimized/503 1809s ok 746 /regex/replace-optimized/504 1809s ok 747 /regex/replace-optimized/505 1809s ok 748 /regex/replace-optimized/506 1809s ok 749 /regex/replace-optimized/507 1809s ok 750 /regex/replace-optimized/508 1809s ok 751 /regex/replace-optimized/509 1809s ok 752 /regex/replace-optimized/510 1809s # End of replace-optimized tests 1809s # Start of replace-literally tests 1809s ok 753 /regex/replace-literally/511 1809s ok 754 /regex/replace-literally/512 1809s ok 755 /regex/replace-literally/513 1809s ok 756 /regex/replace-literally/514 1809s ok 757 /regex/replace-literally/515 1809s ok 758 /regex/replace-literally/516 1809s ok 759 /regex/replace-literally/517 1809s ok 760 /regex/replace-literally/518 1809s ok 761 /regex/replace-literally/519 1809s ok 762 /regex/replace-literally/520 1809s ok 763 /regex/replace-literally/521 1809s ok 764 /regex/replace-literally/522 1809s ok 765 /regex/replace-literally/523 1809s ok 766 /regex/replace-literally/524 1809s ok 767 /regex/replace-literally/525 1809s ok 768 /regex/replace-literally/526 1809s ok 769 /regex/replace-literally/527 1809s ok 770 /regex/replace-literally/528 1809s ok 771 /regex/replace-literally/529 1809s ok 772 /regex/replace-literally/530 1809s # End of replace-literally tests 1809s # Start of string-number tests 1809s ok 773 /regex/string-number/531 1809s ok 774 /regex/string-number/532 1809s ok 775 /regex/string-number/533 1809s ok 776 /regex/string-number/534 1809s ok 777 /regex/string-number/535 1809s ok 778 /regex/string-number/536 1809s ok 779 /regex/string-number/537 1809s ok 780 /regex/string-number/538 1809s ok 781 /regex/string-number/539 1809s ok 782 /regex/string-number/540 1809s ok 783 /regex/string-number/541 1809s ok 784 /regex/string-number/542 1809s ok 785 /regex/string-number/543 1809s ok 786 /regex/string-number/544 1809s ok 787 /regex/string-number/545 1809s # End of string-number tests 1809s # Start of escape_nul tests 1809s ok 788 /regex/escape_nul/546 1809s ok 789 /regex/escape_nul/547 1809s ok 790 /regex/escape_nul/548 1809s ok 791 /regex/escape_nul/549 1809s ok 792 /regex/escape_nul/550 1809s ok 793 /regex/escape_nul/551 1809s ok 794 /regex/escape_nul/552 1809s ok 795 /regex/escape_nul/553 1809s ok 796 /regex/escape_nul/554 1809s ok 797 /regex/escape_nul/555 1809s ok 798 /regex/escape_nul/556 1809s ok 799 /regex/escape_nul/557 1809s ok 800 /regex/escape_nul/558 1809s ok 801 /regex/escape_nul/559 1809s ok 802 /regex/escape_nul/560 1809s # End of escape_nul tests 1809s # Start of escape tests 1809s ok 803 /regex/escape/561 1809s ok 804 /regex/escape/562 1809s ok 805 /regex/escape/563 1809s ok 806 /regex/escape/564 1809s ok 807 /regex/escape/565 1809s ok 808 /regex/escape/566 1809s ok 809 /regex/escape/567 1809s ok 810 /regex/escape/568 1809s ok 811 /regex/escape/569 1809s ok 812 /regex/escape/570 1809s ok 813 /regex/escape/571 1809s ok 814 /regex/escape/572 1809s ok 815 /regex/escape/573 1809s ok 816 /regex/escape/574 1809s ok 817 /regex/escape/575 1809s ok 818 /regex/escape/576 1809s ok 819 /regex/escape/577 1809s ok 820 /regex/escape/578 1809s # End of escape tests 1809s # Start of match-all0 tests 1809s ok 821 /regex/match-all0/579 1809s ok 822 /regex/match-all0/581 1809s # End of match-all0 tests 1809s # Start of match-all-full0 tests 1809s ok 823 /regex/match-all-full0/580 1809s ok 824 /regex/match-all-full0/582 1809s ok 825 /regex/match-all-full0/583 1809s ok 826 /regex/match-all-full0/584 1809s # End of match-all-full0 tests 1809s # Start of match-all1 tests 1809s ok 827 /regex/match-all1/585 1809s ok 828 /regex/match-all1/587 1809s ok 829 /regex/match-all1/592 1809s # End of match-all1 tests 1809s # Start of match-all-full1 tests 1809s ok 830 /regex/match-all-full1/586 1809s ok 831 /regex/match-all-full1/588 1809s ok 832 /regex/match-all-full1/589 1809s ok 833 /regex/match-all-full1/590 1809s ok 834 /regex/match-all-full1/591 1809s ok 835 /regex/match-all-full1/593 1809s # End of match-all-full1 tests 1809s # Start of match-all2 tests 1809s ok 836 /regex/match-all2/594 1809s ok 837 /regex/match-all2/596 1809s ok 838 /regex/match-all2/598 1809s # End of match-all2 tests 1809s # Start of match-all-full2 tests 1809s ok 839 /regex/match-all-full2/595 1809s ok 840 /regex/match-all-full2/597 1809s ok 841 /regex/match-all-full2/599 1809s # End of match-all-full2 tests 1809s # Start of match-all3 tests 1809s ok 842 /regex/match-all3/600 1809s ok 843 /regex/match-all3/602 1809s # End of match-all3 tests 1809s # Start of match-all-full3 tests 1809s ok 844 /regex/match-all-full3/601 1809s ok 845 /regex/match-all-full3/603 1809s # End of match-all-full3 tests 1809s # Start of match-notempty tests 1809s ok 846 /regex/match-notempty/604 1809s # End of match-notempty tests 1809s # Start of match-notempty-optimized tests 1809s ok 847 /regex/match-notempty-optimized/604 1809s # End of match-notempty-optimized tests 1809s # Start of match-notempty-atstart tests 1809s ok 848 /regex/match-notempty-atstart/605 1809s # End of match-notempty-atstart tests 1809s # Start of match-notempty-atstart-optimized tests 1809s ok 849 /regex/match-notempty-atstart-optimized/605 1809s # End of match-notempty-atstart-optimized tests 1809s # End of regex tests 1809s ok - glib/regex.test 1809s # Running test: glib/contenttype.test 1809s TAP version 14 1809s # random seed: R02S38b18808b2e9d0615aa2824e98c57eea 1809s 1..14 1809s # Start of contenttype tests 1809s ok - glib/contenttype.test 1809s # Running test: glib/network-monitor-race.test 1809s ok 1 /contenttype/guess 1809s ok 2 /contenttype/guess_svg_from_data 1809s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 1809s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1809s ok 5 /contenttype/unknown 1809s ok 6 /contenttype/subtype 1809s ok 7 /contenttype/list 1809s ok 8 /contenttype/executable 1809s ok 9 /contenttype/description 1809s ok 10 /contenttype/icon 1809s ok 11 /contenttype/symbolic-icon 1809s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1809s ok 12 /contenttype/tree 1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1809s ok 13 /contenttype/tree_invalid_encoding 1809s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1809s ok 14 /contenttype/test_type_is_a_special_case 1809s # End of contenttype tests 1809s TAP version 14 1809s # random seed: R02Sf5a0aa1319b2551fd1107e1d579fae03 1809s 1..1 1809s # Start of network-monitor tests 1809s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1812s ok 1 /network-monitor/create-in-thread 1812s # slow test /network-monitor/create-in-thread executed in 2.11 secs 1812s # End of network-monitor tests 1812s ok - glib/network-monitor-race.test 1812s # Running test: glib/signals-refcount4.test 1812s TAP version 14 1812s # random seed: R02Sc49a0e133fa2d19fd961636cda265593 1812s 1..1 1812s # Start of gobject tests 1812s # Start of refcount tests 1812s # init 0x574bbe2652c0 1812s # 1812s # init 0x574bbe25d580 1812s # 1812s # Executing: glib/signals-refcount4.test 1817s ok - glib/signals-refcount4.test 1817s # dispose 0x574bbe2652c0! 1817s # 1817s # dispose 0x574bbe25d580! 1817s # 1817s ok 1 /gobject/refcount/signals 1817s # slow test /gobject/refcount/signals executed in 5.00 secs 1817s # End of refcount tests 1817s # End of gobject tests 1817s # Running test: glib/1bit-mutex.test 1817s TAP version 14 1817s # random seed: R02Sc1a858819e6a91ac7c51c07200bd525a 1817s 1..2 1817s # Start of glib tests 1817s # Start of 1bit-mutex tests 1817s # Executing: glib/1bit-mutex.test 1820s ok 1 /glib/1bit-mutex/int 1820s # slow test /glib/1bit-mutex/int executed in 3.85 secs 1822s # Executing: glib/1bit-mutex.test 1824s ok 2 /glib/1bit-mutex/pointer 1824s # slow test /glib/1bit-mutex/pointer executed in 3.85 secs 1824s # End of 1bit-mutex tests 1824s # End of glib tests 1824s ok - glib/1bit-mutex.test 1824s # Running test: glib/sort.test 1824s TAP version 14 1824s # random seed: R02Sf2d20514c795a33dbd39669c04d4990c 1824s 1..5 1824s # Start of sort tests 1824s ok 1 /sort/basic 1824s ok 2 /sort/zero-elements 1824s ok 3 /sort/stable 1824s ok 4 /sort/big 1824s ok 5 /sort/deprecated 1824s # End of sort tests 1824s ok - glib/sort.test 1824s # Running test: glib/readwrite.test 1824s ok - glib/readwrite.test 1824s # Running test: glib/utf8-validate.test 1824s TAP version 14 1824s # random seed: R02Sf04f0fc8ef3410cf6e90a06ac8c4735a 1824s 1..3 1824s # Start of readwrite tests 1824s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1824s ok 1 /readwrite/test_g_file_open_readwrite 1824s ok 2 /readwrite/test_g_file_create_readwrite 1824s ok 3 /readwrite/test_g_file_replace_readwrite 1824s # End of readwrite tests 1824s TAP version 14 1824s # random seed: R02S6e0a7323c1a4f88f7d696b7ea30b478a 1824s 1..238 1824s # Start of utf8 tests 1824s # Vector 0 1824s # Vector 1 1824s # Vector 2 1824s # Vector 3 1824s # Vector 4 1824s # Vector 5 1824s # Vector 6 1824s # Vector 7 1824s # Vector 8 1824s # Vector 9 1824s # Vector 10 1824s # Vector 11 1824s # Vector 12 1824s # Vector 13 1824s # Vector 14 1824s # Vector 15 1824s # Vector 16 1824s # Vector 17 1824s # Vector 18 1824s # Vector 19 1824s # Vector 20 1824s # Vector 21 1824s # Vector 22 1824s # Vector 23 1824s # Vector 24 1824s # Vector 25 1824s # Vector 26 1824s # Vector 27 1824s ok 1 /utf8/get-char-validated 1824s # Start of validate tests 1824s ok 2 /utf8/validate/0 1824s ok 3 /utf8/validate/1 1824s ok 4 /utf8/validate/2 1824s ok 5 /utf8/validate/3 1824s ok 6 /utf8/validate/4 1824s ok 7 /utf8/validate/5 1824s ok 8 /utf8/validate/6 1824s ok 9 /utf8/validate/7 1824s ok 10 /utf8/validate/8 1824s ok 11 /utf8/validate/9 1824s ok 12 /utf8/validate/10 1824s ok 13 /utf8/validate/11 1824s ok 14 /utf8/validate/12 1824s ok 15 /utf8/validate/13 1824s ok 16 /utf8/validate/14 1824s ok 17 /utf8/validate/15 1824s ok 18 /utf8/validate/16 1824s ok 19 /utf8/validate/17 1824s ok 20 /utf8/validate/18 1824s ok 21 /utf8/validate/19 1824s ok 22 /utf8/validate/20 1824s ok 23 /utf8/validate/21 1824s ok 24 /utf8/validate/22 1824s ok 25 /utf8/validate/23 1824s ok 26 /utf8/validate/24 1824s ok 27 /utf8/validate/25 1824s ok 28 /utf8/validate/26 1824s ok 29 /utf8/validate/27 1824s ok 30 /utf8/validate/28 1824s ok 31 /utf8/validate/29 1824s ok 32 /utf8/validate/30 1824s ok 33 /utf8/validate/31 1824s ok 34 /utf8/validate/32 1824s ok 35 /utf8/validate/33 1824s ok 36 /utf8/validate/34 1824s ok 37 /utf8/validate/35 1824s ok 38 /utf8/validate/36 1824s ok 39 /utf8/validate/37 1824s ok 40 /utf8/validate/38 1824s ok 41 /utf8/validate/39 1824s ok 42 /utf8/validate/40 1824s ok 43 /utf8/validate/41 1824s ok 44 /utf8/validate/42 1824s ok 45 /utf8/validate/43 1824s ok 46 /utf8/validate/44 1824s ok 47 /utf8/validate/45 1824s ok 48 /utf8/validate/46 1824s ok 49 /utf8/validate/47 1824s ok 50 /utf8/validate/48 1824s ok 51 /utf8/validate/49 1824s ok 52 /utf8/validate/50 1824s ok 53 /utf8/validate/51 1824s ok 54 /utf8/validate/52 1824s ok 55 /utf8/validate/53 1824s ok 56 /utf8/validate/54 1824s ok 57 /utf8/validate/55 1824s ok 58 /utf8/validate/56 1824s ok 59 /utf8/validate/57 1824s ok 60 /utf8/validate/58 1824s ok 61 /utf8/validate/59 1824s ok 62 /utf8/validate/60 1824s ok 63 /utf8/validate/61 1824s ok 64 /utf8/validate/62 1824s ok 65 /utf8/validate/63 1824s ok 66 /utf8/validate/64 1824s ok 67 /utf8/validate/65 1824s ok 68 /utf8/validate/66 1824s ok 69 /utf8/validate/67 1824s ok 70 /utf8/validate/68 1824s ok 71 /utf8/validate/69 1824s ok 72 /utf8/validate/70 1824s ok 73 /utf8/validate/71 1824s ok 74 /utf8/validate/72 1824s ok 75 /utf8/validate/73 1824s ok 76 /utf8/validate/74 1824s ok 77 /utf8/validate/75 1824s ok 78 /utf8/validate/76 1824s ok 79 /utf8/validate/77 1824s ok 80 /utf8/validate/78 1824s ok 81 /utf8/validate/79 1824s ok 82 /utf8/validate/80 1824s ok 83 /utf8/validate/81 1824s ok 84 /utf8/validate/82 1824s ok 85 /utf8/validate/83 1824s ok 86 /utf8/validate/84 1824s ok 87 /utf8/validate/85 1824s ok 88 /utf8/validate/86 1824s ok 89 /utf8/validate/87 1824s ok 90 /utf8/validate/88 1824s ok 91 /utf8/validate/89 1824s ok 92 /utf8/validate/90 1824s ok 93 /utf8/validate/91 1824s ok 94 /utf8/validate/92 1824s ok 95 /utf8/validate/93 1824s ok 96 /utf8/validate/94 1824s ok 97 /utf8/validate/95 1824s ok 98 /utf8/validate/96 1824s ok 99 /utf8/validate/97 1824s ok 100 /utf8/validate/98 1824s ok 101 /utf8/validate/99 1824s ok 102 /utf8/validate/100 1824s ok 103 /utf8/validate/101 1824s ok 104 /utf8/validate/102 1824s ok 105 /utf8/validate/103 1824s ok 106 /utf8/validate/104 1824s ok 107 /utf8/validate/105 1824s ok 108 /utf8/validate/106 1824s ok 109 /utf8/validate/107 1824s ok 110 /utf8/validate/108 1824s ok 111 /utf8/validate/109 1824s ok 112 /utf8/validate/110 1824s ok 113 /utf8/validate/111 1824s ok 114 /utf8/validate/112 1824s ok 115 /utf8/validate/113 1824s ok 116 /utf8/validate/114 1824s ok 117 /utf8/validate/115 1824s ok 118 /utf8/validate/116 1824s ok 119 /utf8/validate/117 1824s ok 120 /utf8/validate/118 1824s ok 121 /utf8/validate/119 1824s ok 122 /utf8/validate/120 1824s ok 123 /utf8/validate/121 1824s ok 124 /utf8/validate/122 1824s ok 125 /utf8/validate/123 1824s ok 126 /utf8/validate/124 1824s ok 127 /utf8/validate/125 1824s ok 128 /utf8/validate/126 1824s ok 129 /utf8/validate/127 1824s ok 130 /utf8/validate/128 1824s ok 131 /utf8/validate/129 1824s ok 132 /utf8/validate/130 1824s ok 133 /utf8/validate/131 1824s ok 134 /utf8/validate/132 1824s ok 135 /utf8/validate/133 1824s ok 136 /utf8/validate/134 1824s ok 137 /utf8/validate/135 1824s ok 138 /utf8/validate/136 1824s ok 139 /utf8/validate/137 1824s ok 140 /utf8/validate/138 1824s ok 141 /utf8/validate/139 1824s ok 142 /utf8/validate/140 1824s ok 143 /utf8/validate/141 1824s ok 144 /utf8/validate/142 1824s ok 145 /utf8/validate/143 1824s ok 146 /utf8/validate/144 1824s ok 147 /utf8/validate/145 1824s ok 148 /utf8/validate/146 1824s ok 149 /utf8/validate/147 1824s ok 150 /utf8/validate/148 1824s ok 151 /utf8/validate/149 1824s ok 152 /utf8/validate/150 1824s ok 153 /utf8/validate/151 1824s ok 154 /utf8/validate/152 1824s ok 155 /utf8/validate/153 1824s ok 156 /utf8/validate/154 1824s ok 157 /utf8/validate/155 1824s ok 158 /utf8/validate/156 1824s ok 159 /utf8/validate/157 1824s ok 160 /utf8/validate/158 1824s ok 161 /utf8/validate/159 1824s ok 162 /utf8/validate/160 1824s ok 163 /utf8/validate/161 1824s ok 164 /utf8/validate/162 1824s ok 165 /utf8/validate/163 1824s ok 166 /utf8/validate/164 1824s ok 167 /utf8/validate/165 1824s ok 168 /utf8/validate/166 1824s ok 169 /utf8/validate/167 1824s ok 170 /utf8/validate/168 1824s ok 171 /utf8/validate/169 1824s ok 172 /utf8/validate/170 1824s ok 173 /utf8/validate/171 1824s ok 174 /utf8/validate/172 1824s ok 175 /utf8/validate/173 1824s ok 176 /utf8/validate/174 1824s ok 177 /utf8/validate/175 1824s ok 178 /utf8/validate/176 1824s ok 179 /utf8/validate/177 1824s ok 180 /utf8/validate/178 1824s ok 181 /utf8/validate/179 1824s ok 182 /utf8/validate/180 1824s ok 183 /utf8/validate/181 1824s ok 184 /utf8/validate/182 1824s ok 185 /utf8/validate/183 1824s ok 186 /utf8/validate/184 1824s ok 187 /utf8/validate/185 1824s ok 188 /utf8/validate/186 1824s ok 189 /utf8/validate/187 1824s ok 190 /utf8/validate/188 1824s ok 191 /utf8/validate/189 1824s ok 192 /utf8/validate/190 1824s ok 193 /utf8/validate/191 1824s ok 194 /utf8/validate/192 1824s ok 195 /utf8/validate/193 1824s ok 196 /utf8/validate/194 1824s ok 197 /utf8/validate/195 1824s ok 198 /utf8/validate/196 1824s ok 199 /utf8/validate/197 1824s ok 200 /utf8/validate/198 1824s ok 201 /utf8/validate/199 1824s ok 202 /utf8/validate/200 1824s ok 203 /utf8/validate/201 1824s ok 204 /utf8/validate/202 1824s ok 205 /utf8/validate/203 1824s ok 206 /utf8/validate/204 1824s ok 207 /utf8/validate/205 1824s ok 208 /utf8/validate/206 1824s ok 209 /utf8/validate/207 1824s ok 210 /utf8/validate/208 1824s ok 211 /utf8/validate/209 1824s ok 212 /utf8/validate/210 1824s ok 213 /utf8/validate/211 1824s ok 214 /utf8/validate/212 1824s ok 215 /utf8/validate/213 1824s ok 216 /utf8/validate/214 1824s ok 217 /utf8/validate/215 1824s ok 218 /utf8/validate/216 1824s ok 219 /utf8/validate/217 1824s ok 220 /utf8/validate/218 1824s ok 221 /utf8/validate/219 1824s ok 222 /utf8/validate/220 1824s ok 223 /utf8/validate/221 1824s ok 224 /utf8/validate/222 1824s ok 225 /utf8/validate/223 1824s ok 226 /utf8/validate/224 1824s ok 227 /utf8/validate/225 1824s ok 228 /utf8/validate/226 1824s ok 229 /utf8/validate/227 1824s ok 230 /utf8/validate/228 1824s ok 231 /utf8/validate/229 1824s ok 232 /utf8/validate/230 1824s ok 233 /utf8/validate/231 1824s ok 234 /utf8/validate/232 1824s ok 235 /utf8/validate/233 1824s ok 236 /utf8/validate/234 1824s ok 237 /utf8/validate/235 1824s ok 238 /utf8/validate/236 1824s # End of validate tests 1824s # End of utf8 tests 1824s TAP version 14 1824s # random seed: R02S28ef93a0a5f208638a5ca4af3a3c782e 1824s 1..3 1824s # Start of close-async tests 1824s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1824s ok 1 /close-async/without-flush 1824s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1824s ok 2 /close-async/with-flush 1824s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1824s ok 3 /close-async/with-async-flush 1824s # End of close-async tests 1824s ok - glib/utf8-validate.test 1824s # Running test: glib/async-close-output-stream.test 1824s ok - glib/async-close-output-stream.test 1824s # Running test: glib/g-file.test 1824s ok - glib/g-file.test 1824s # Running test: glib/dump.test 1824s TAP version 14 1824s # random seed: R02S1c1415248de4e813b84b6fb7eca171c5 1824s 1..8 1824s # Start of g-file tests 1824s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1824s ok 1 /g-file/test_g_file_new_null 1824s ok 2 /g-file/test_g_file_new_for_path 1824s ok 3 /g-file/test_g_file_new_for_uri 1824s ok 4 /g-file/test_g_file_dup 1824s ok 5 /g-file/test_g_file_get_parse_name_utf8 1824s file:///tmp/test-tmp-glib_g-file.test-9656J3 1824s file:///tmp 1824s file:///tmp 1824s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1824s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1824s ok 6 /g-file/test_g_file_new_for_commandline_arg 1824s /dir1 /dir1/dir2/dir3/ 1824s /dir1/ /dir1/dir2/dir3/ 1824s /dir1 /dir1/dir2/dir3 1824s /dir1/ /dir1/dir2/dir3 1824s /tmp/ /something/ 1824s /dir1/dir2 /dir1/ 1824s //dir1/new //dir1/new/dir2/dir3 1824s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2 1824s file:///dir1 file:///dir1/dir2/dir3/ 1824s file:///dir1/ file:///dir1/dir2/dir3/ 1824s file:///dir1 file:///dir1/dir2/dir3 1824s file:///dir1/ file:///dir1/dir2/dir3 1824s file:///tmp/ file:///something/ 1824s file:///dir1/dir2 file:///dir1/ 1824s file:////dir1/new file:////dir1/new/dir2/dir3 1824s 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 1824s ok 7 /g-file/test_g_file_has_prefix 1824s ok 8 /g-file/test_g_file_get_parent_child 1824s # End of g-file tests 1824s ok - glib/dump.test 1824s # Running test: glib/642026-ec.test 1824s TAP version 14 1824s # random seed: R02Se789ddb37bf2efe48142f5bf680f4408 1824s 1..5 1824s # Start of dump tests 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_6Z26J3/dump/empty-file/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_6Z26J3/dump/empty-file/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_6Z26J3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_6Z26J3/dump/empty-file/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_6Z26J3/dump/empty-file/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_6Z26J3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_6Z26J3/dump/empty-file/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_6Z26J3/dump/empty-file/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_6Z26J3/dump/empty-file/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_6Z26J3/dump/empty-file/.dirs/runtime 1824s ok 1 /dump/empty-file 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_6Z26J3/dump/missing-get-type/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_6Z26J3/dump/missing-get-type/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_6Z26J3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_6Z26J3/dump/missing-get-type/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_6Z26J3/dump/missing-get-type/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_6Z26J3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_6Z26J3/dump/missing-get-type/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_6Z26J3/dump/missing-get-type/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_6Z26J3/dump/missing-get-type/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_6Z26J3/dump/missing-get-type/.dirs/runtime 1824s Invalid GType function: 'does_not_exist_get_type' 1824s ok 2 /dump/missing-get-type 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_6Z26J3/dump/missing-quark/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_6Z26J3/dump/missing-quark/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_6Z26J3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_6Z26J3/dump/missing-quark/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_6Z26J3/dump/missing-quark/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_6Z26J3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_6Z26J3/dump/missing-quark/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_6Z26J3/dump/missing-quark/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_6Z26J3/dump/missing-quark/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_6Z26J3/dump/missing-quark/.dirs/runtime 1824s Invalid error quark function: 'does_not_exist_error' 1824s ok 3 /dump/missing-quark 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_6Z26J3/dump/basic/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_6Z26J3/dump/basic/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_6Z26J3/dump/basic/.dirs/system-config1:/tmp/test_dump_6Z26J3/dump/basic/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_6Z26J3/dump/basic/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_6Z26J3/dump/basic/.dirs/system-data1:/tmp/test_dump_6Z26J3/dump/basic/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_6Z26J3/dump/basic/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_6Z26J3/dump/basic/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_6Z26J3/dump/basic/.dirs/runtime 1824s ok 4 /dump/basic 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_6Z26J3/dump/empty-lines/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_6Z26J3/dump/empty-lines/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_6Z26J3/dump/empty-lines/.dirs/system-config1:/tmp/test_dump_6Z26J3/dump/empty-lines/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_6Z26J3/dump/empty-lines/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_6Z26J3/dump/empty-lines/.dirs/system-data1:/tmp/test_dump_6Z26J3/dump/empty-lines/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_6Z26J3/dump/empty-lines/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_6Z26J3/dump/empty-lines/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_6Z26J3/dump/empty-lines/.dirs/runtime 1824s ok 5 /dump/empty-lines 1824s # End of dump tests 1824s TAP version 14 1824s # random seed: R02Sea69aa9bdc43d7362b6e6efaaf2a53e0 1824s 1..1 1824s # Start of glib tests 1824s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1824s ok 1 /glib/642026 1824s # End of glib tests 1824s ok - glib/642026-ec.test 1824s # Running test: glib/portal-support-flatpak-network-only.test 1824s TAP version 14 1824s ok - glib/portal-support-flatpak-network-only.test 1824s # Running test: glib/markup-collect.test 1824s ok - glib/markup-collect.test 1824s # Running test: glib/enums.test 1824s ok - glib/enums.test 1824s # Running test: glib/sandbox.test 1824s # random seed: R02Sd7d93b526f9611f706e6859962e6ae28 1824s 1..1 1824s # Start of portal-support tests 1824s # Start of flatpak tests 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_6WA6J3/portal-support/flatpak/network/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_6WA6J3/portal-support/flatpak/network/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_6WA6J3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_6WA6J3/portal-support/flatpak/network/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_6WA6J3/portal-support/flatpak/network/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_6WA6J3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_6WA6J3/portal-support/flatpak/network/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_6WA6J3/portal-support/flatpak/network/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_6WA6J3/portal-support/flatpak/network/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_6WA6J3/portal-support/flatpak/network/.dirs/runtime 1824s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_6WA6J3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1824s ok 1 /portal-support/flatpak/network 1824s # End of flatpak tests 1824s # End of portal-support tests 1824s TAP version 14 1824s # random seed: R02S0faaa8e548f80843b54f41427cf77219 1824s 1..21 1824s # Start of markup tests 1824s # Start of collect tests 1824s ok 1 /markup/collect/0 1824s ok 2 /markup/collect/1 1824s ok 3 /markup/collect/2 1824s ok 4 /markup/collect/3 1824s ok 5 /markup/collect/4 1824s ok 6 /markup/collect/5 1824s ok 7 /markup/collect/6 1824s ok 8 /markup/collect/7 1824s ok 9 /markup/collect/8 1824s ok 10 /markup/collect/9 1824s ok 11 /markup/collect/10 1824s ok 12 /markup/collect/11 1824s ok 13 /markup/collect/12 1824s ok 14 /markup/collect/13 1824s ok 15 /markup/collect/14 1824s ok 16 /markup/collect/15 1824s ok 17 /markup/collect/16 1824s ok 18 /markup/collect/17 1824s ok 19 /markup/collect/18 1824s ok 20 /markup/collect/19 1824s ok 21 /markup/collect/cleanup 1824s # End of collect tests 1824s # End of markup tests 1824s TAP version 14 1824s # random seed: R02S22e6e0bf4cfb801a53feeadb386419d0 1824s 1..4 1824s # Start of enum tests 1824s ok 1 /enum/basic 1824s ok 2 /enum/define-type 1824s # End of enum tests 1824s # Start of flags tests 1824s ok 3 /flags/basic 1824s ok 4 /flags/define-type 1824s # End of flags tests 1824s TAP version 14 1824s # random seed: R02S79c2a97f53b2acaabf343173ab0c727b 1824s 1..4 1824s # Start of sandbox tests 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_KIW6J3/sandbox/none/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_KIW6J3/sandbox/none/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_KIW6J3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_KIW6J3/sandbox/none/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_KIW6J3/sandbox/none/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_KIW6J3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_KIW6J3/sandbox/none/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_KIW6J3/sandbox/none/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_KIW6J3/sandbox/none/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_KIW6J3/sandbox/none/.dirs/runtime 1824s ok 1 /sandbox/none 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_KIW6J3/sandbox/snap/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_KIW6J3/sandbox/snap/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_KIW6J3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_KIW6J3/sandbox/snap/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_KIW6J3/sandbox/snap/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_KIW6J3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_KIW6J3/sandbox/snap/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_KIW6J3/sandbox/snap/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_KIW6J3/sandbox/snap/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_KIW6J3/sandbox/snap/.dirs/runtime 1824s # Created snap.yaml in /tmp/test_sandbox_KIW6J3/snap/current/meta/snap.yaml 1824s ok 2 /sandbox/snap 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_KIW6J3/sandbox/classic-snap/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_KIW6J3/sandbox/classic-snap/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_KIW6J3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_KIW6J3/sandbox/classic-snap/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_KIW6J3/sandbox/classic-snap/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_KIW6J3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_KIW6J3/sandbox/classic-snap/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_KIW6J3/sandbox/classic-snap/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_KIW6J3/sandbox/classic-snap/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_KIW6J3/sandbox/classic-snap/.dirs/runtime 1824s ok - glib/sandbox.test 1824s # Running test: glib/mainloop.test 1824s # Created snap.yaml in /tmp/test_sandbox_KIW6J3/snap/current/meta/snap.yaml 1824s ok 3 /sandbox/classic-snap 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_KIW6J3/sandbox/flatpak/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_KIW6J3/sandbox/flatpak/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_KIW6J3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_KIW6J3/sandbox/flatpak/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_KIW6J3/sandbox/flatpak/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_KIW6J3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_KIW6J3/sandbox/flatpak/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_KIW6J3/sandbox/flatpak/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_KIW6J3/sandbox/flatpak/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_KIW6J3/sandbox/flatpak/.dirs/runtime 1824s # Creating .flatpak-info in /tmp/test_sandbox_KIW6J3/sandbox/flatpak/.dirs/runtime/.flatpak-info 1824s ok 4 /sandbox/flatpak 1824s # End of sandbox tests 1824s TAP version 14 1824s # random seed: R02Sb0ba871da0a202edfbb8922193f57e59 1824s 1..48 1824s # Start of maincontext tests 1824s ok 1 /maincontext/basic 1824s # Add same-priority sources: 9 1824s # Find each source: 1 1824s # Remove in random order: 9 1824s ok 2 /maincontext/nsources_same_priority 1824s # Add different-priority sources: 10 1824s # Find each source: 1 1824s # Remove in random order: 13 1824s ok 3 /maincontext/nsources_different_priority 1824s # Add sources from threads: 27 1824s # Remove sources from threads: 28 1824s ok 4 /maincontext/nsources_threadpool 1824s ok 5 /maincontext/source_finalization 1824s # /maincontext/idle-once summary: Test g_idle_add_once() works 1824s ok 6 /maincontext/idle-once 1824s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1824s ok 7 /maincontext/timeout-once 1824s # /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. 1824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1824s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1824s # Start of source_finalization_from_source tests 1824s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1824s ok 9 /maincontext/source_finalization_from_source/0 1824s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1824s ok 10 /maincontext/source_finalization_from_source/1 1824s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1824s ok 11 /maincontext/source_finalization_from_source/2 1824s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1824s ok 12 /maincontext/source_finalization_from_source/3 1824s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1824s ok 13 /maincontext/source_finalization_from_source/4 1824s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1824s ok 14 /maincontext/source_finalization_from_source/5 1824s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1824s ok 15 /maincontext/source_finalization_from_source/6 1824s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1824s ok 16 /maincontext/source_finalization_from_source/7 1824s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1824s ok 17 /maincontext/source_finalization_from_source/8 1824s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1824s ok 18 /maincontext/source_finalization_from_source/9 1824s # End of source_finalization_from_source tests 1824s # Start of source_finalization_from_dispatch tests 1824s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1824s ok 19 /maincontext/source_finalization_from_dispatch/0 1824s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1824s ok 20 /maincontext/source_finalization_from_dispatch/1 1824s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1824s ok 21 /maincontext/source_finalization_from_dispatch/2 1824s # End of source_finalization_from_dispatch tests 1824s # End of maincontext tests 1824s # Start of mainloop tests 1824s ok 22 /mainloop/basic 1824s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1824s ok 24 /mainloop/priorities 1825s ok 25 /mainloop/invoke 1825s # slow test /mainloop/invoke executed in 0.50 secs 1826s ok 26 /mainloop/child_sources 1826s # slow test /mainloop/child_sources executed in 1.17 secs 1827s # Executing: glib/mainloop.test 1828s ok 27 /mainloop/recursive_child_sources 1828s # slow test /mainloop/recursive_child_sources executed in 2.14 secs 1828s ok 28 /mainloop/recursive_loop_child_sources 1828s ok 29 /mainloop/swapping_child_sources 1828s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1828s ok 30 /mainloop/blocked_child_sources 1829s ok 31 /mainloop/source_time 1829s # slow test /mainloop/source_time executed in 1.00 secs 1829s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1829s ok 32 /mainloop/overflow 1830s ok 33 /mainloop/ready-time 1830s # slow test /mainloop/ready-time executed in 0.50 secs 1830s ok 34 /mainloop/wakeup 1830s ok 35 /mainloop/remove-invalid 1830s ok 36 /mainloop/unref-while-pending 1830s # Test that the global default main context is used if NULL is passed to various methods 1830s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3818 1830s ok 37 /mainloop/null-default-context 1830s ok 38 /mainloop/unix-fd 1830s ok 39 /mainloop/unix-fd-source 1830s ok 40 /mainloop/source-unix-fd-api 1830s ok 41 /mainloop/wait 1830s ok 42 /mainloop/unix-file-poll 1830s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1830s ok 43 /mainloop/unix-fd-priority 1830s ok 44 /mainloop/nfds 1830s ok 45 /mainloop/steal-fd 1831s ok - glib/mainloop.test 1831s # Running test: glib/autoptr-gio.test 1831s ok 46 /mainloop/simultaneous-source-context-destruction 1831s # slow test /mainloop/simultaneous-source-context-destruction executed in 0.76 secs 1831s # Start of ownerless-polling tests 1831s ok 47 /mainloop/ownerless-polling/attach-first 1831s ok 48 /mainloop/ownerless-polling/pop-first 1831s # End of ownerless-polling tests 1831s # End of mainloop tests 1831s ok - glib/autoptr-gio.test 1831s TAP version 14 1831s # random seed: R02S9aeaf1ebf035a1ef00ccd802b8787bb0 1831s 1..1 1831s # Start of autoptr tests 1831s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1831s ok 1 /autoptr/autoptr 1831s # End of autoptr tests 1831s # Running test: glib/cxx-11.test 1831s TAP version 14 1831s # random seed: R02Scab82e0572b6458ee7987db0c3d82120 1831s 1..2 1831s # Start of gtask tests 1831s ok - glib/cxx-11.test 1831s # Running test: glib/buffered-output-stream.test 1831s ok - glib/buffered-output-stream.test 1831s # Running test: glib/thread-pool-slow.test 1831s # 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. 1831s ok 1 /gtask/name 1831s # Start of name tests 1831s # 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. 1831s ok 2 /gtask/name/macro-wrapper 1831s # End of name tests 1831s # End of gtask tests 1831s TAP version 14 1831s # random seed: R02S6f1d71672ef5347f48294ca8b083dcfa 1831s 1..5 1831s # Start of buffered-output-stream tests 1831s ok 1 /buffered-output-stream/write 1831s ok 2 /buffered-output-stream/grow 1831s ok 3 /buffered-output-stream/seek 1831s ok 4 /buffered-output-stream/truncate 1831s # End of buffered-output-stream tests 1831s # Start of filter-output-stream tests 1831s ok 5 /filter-output-stream/close 1831s # End of filter-output-stream tests 1831s TAP version 14 1831s # random seed: R02Scfeb31a5efb0edb5b0d763119847367d 1831s 1..7 1831s # Start of threadpool tests 1831s ok 1 /threadpool/functions 1832s ok 2 /threadpool/stop-unused 1832s # slow test /threadpool/stop-unused executed in 0.51 secs 1832s ok 3 /threadpool/pools 1832s # [unsorted] ===> pushed new thread with id:5, number of threads:1, unprocessed:1 1832s # [unsorted] ===> pushed new thread with id:16, number of threads:2, unprocessed:1 1832s # [unsorted] ===> pushed new thread with id:84, number of threads:3, unprocessed:2 1832s # [unsorted] ===> pushed new thread with id:43, number of threads:4, unprocessed:1 1832s # [unsorted] ===> pushed new thread with id:74, number of threads:5, unprocessed:1 1832s # [unsorted] ===> pushed new thread with id:29, number of threads:6, unprocessed:1 1832s # [unsorted] ===> pushed new thread with id:28, number of threads:7, unprocessed:1 1832s # [unsorted] ===> pushed new thread with id:96, number of threads:8, unprocessed:1 1832s # [unsorted] ===> pushed new thread with id:72, number of threads:9, unprocessed:1 1832s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:1 1832s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:2 1832s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:3 1832s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:4 1832s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:5 1832s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:6 1832s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:7 1832s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:8 1832s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:9 1832s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:10 1832s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:11 1832s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:12 1832s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:13 1832s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:14 1832s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:15 1832s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:16 1832s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:17 1832s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:18 1832s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:19 1832s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:20 1832s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:21 1832s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:22 1832s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:23 1832s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:24 1832s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:25 1832s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:26 1832s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:27 1832s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:28 1832s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:29 1832s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:30 1832s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:31 1832s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:32 1832s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:33 1832s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:34 1832s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:35 1832s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:36 1832s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:37 1832s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:38 1832s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:39 1832s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:40 1832s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:41 1832s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:42 1832s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:43 1832s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:44 1832s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:45 1832s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:46 1832s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:47 1832s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:48 1832s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:49 1832s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:50 1832s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:51 1832s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:52 1832s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:53 1832s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:54 1832s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:55 1832s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:56 1832s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:57 1832s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:58 1832s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:59 1832s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:60 1832s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:61 1832s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:62 1832s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:63 1832s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:64 1832s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:65 1832s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:66 1832s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:67 1832s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:68 1832s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:69 1832s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:70 1832s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:71 1832s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:72 1832s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:73 1832s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:74 1832s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:75 1832s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:76 1832s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:77 1832s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:78 1832s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:79 1832s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:80 1832s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:81 1832s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:82 1832s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:83 1832s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:84 1832s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:85 1832s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:86 1832s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:87 1832s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:88 1832s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:89 1832s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:90 1832s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:91 1832s ok 4 /threadpool/no-sort 1832s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:1 1832s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:2 1832s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:3 1832s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:4 1832s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:5 1832s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:6 1832s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:7 1832s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:8 1832s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:9 1832s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:10 1832s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:11 1832s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:12 1832s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:13 1832s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:14 1832s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:15 1832s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:16 1832s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:17 1832s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:18 1832s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:19 1832s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:20 1832s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:21 1832s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:22 1832s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:23 1832s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:24 1832s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:25 1832s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:26 1832s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:27 1832s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:28 1832s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:29 1832s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:30 1832s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:31 1832s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:32 1832s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:33 1832s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:34 1832s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:35 1832s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:36 1832s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:37 1832s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:38 1832s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:39 1832s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:40 1832s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:41 1832s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:42 1832s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:43 1832s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:44 1832s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:45 1832s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:46 1832s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:47 1832s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:48 1832s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:49 1832s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:50 1832s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:51 1832s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:52 1832s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:53 1832s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:54 1832s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:55 1832s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:56 1832s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:57 1832s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:58 1832s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:59 1832s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:60 1832s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:61 1832s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:62 1832s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:63 1832s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:64 1832s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:65 1832s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:66 1832s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:67 1832s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:68 1832s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:69 1832s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:70 1832s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:71 1832s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:72 1832s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:73 1832s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:74 1832s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:75 1832s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:76 1832s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:77 1832s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:78 1832s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:79 1832s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:80 1832s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:81 1832s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:82 1832s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:83 1832s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:84 1832s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:85 1832s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:86 1832s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:87 1832s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:88 1832s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:89 1832s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:90 1832s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:91 1832s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:92 1832s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:93 1832s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:94 1832s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:95 1832s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:96 1832s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:97 1832s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:98 1832s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:99 1832s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:100 1832s # Starting thread pool processing 1832s ok 5 /threadpool/sort 1832s # Executing: glib/thread-pool-slow.test 1832s ok 6 /threadpool/stop-unused-multiple 1832s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1832s # Pool idle thread count: 0, unprocessed jobs: 41 1833s # Pool idle thread count: 0, unprocessed jobs: 0 1833s # Pool idle thread count: 0, unprocessed jobs: 0 1833s # Pool idle thread count: 10, unprocessed jobs: 0 1833s # Pool idle thread count: 10, unprocessed jobs: 0 1834s # Pool idle thread count: 10, unprocessed jobs: 0 1834s # Pool idle thread count: 10, unprocessed jobs: 0 1834s # Pool idle thread count: 10, unprocessed jobs: 0 1834s # Pool idle thread count: 10, unprocessed jobs: 0 1835s # Pool idle thread count: 10, unprocessed jobs: 0 1835s # Pool idle thread count: 10, unprocessed jobs: 0 1835s # Pool idle thread count: 10, unprocessed jobs: 0 1835s # Pool idle thread count: 10, unprocessed jobs: 0 1836s # Pool idle thread count: 10, unprocessed jobs: 0 1836s # Pool idle thread count: 10, unprocessed jobs: 0 1836s # Pool idle thread count: 10, unprocessed jobs: 0 1836s # Pool idle thread count: 10, unprocessed jobs: 0 1837s # Pool idle thread count: 10, unprocessed jobs: 0 1837s # Pool idle thread count: 10, unprocessed jobs: 0 1837s # Executing: glib/thread-pool-slow.test 1837s # Pool idle thread count: 10, unprocessed jobs: 0 1837s # Pool idle thread count: 10, unprocessed jobs: 0 1838s # Pool idle thread count: 10, unprocessed jobs: 0 1838s # Pool idle thread count: 10, unprocessed jobs: 0 1838s # Pool idle thread count: 10, unprocessed jobs: 0 1838s # Pool idle thread count: 10, unprocessed jobs: 0 1839s # Pool idle thread count: 10, unprocessed jobs: 0 1839s # Pool idle thread count: 10, unprocessed jobs: 0 1839s # Pool idle thread count: 10, unprocessed jobs: 0 1839s # Pool idle thread count: 10, unprocessed jobs: 0 1840s # Pool idle thread count: 10, unprocessed jobs: 0 1840s # Pool idle thread count: 10, unprocessed jobs: 0 1840s # Pool idle thread count: 10, unprocessed jobs: 0 1840s # Pool idle thread count: 10, unprocessed jobs: 0 1841s # Pool idle thread count: 10, unprocessed jobs: 0 1841s # Pool idle thread count: 10, unprocessed jobs: 0 1841s # Pool idle thread count: 10, unprocessed jobs: 2 1841s # Pool idle thread count: 8, unprocessed jobs: 0 1841s # Pool idle thread count: 8, unprocessed jobs: 0 1841s # Pool idle thread count: 8, unprocessed jobs: 0 1842s # Pool idle thread count: 10, unprocessed jobs: 0 1842s # Pool idle thread count: 10, unprocessed jobs: 0 1842s # Executing: glib/thread-pool-slow.test 1842s # Pool idle thread count: 10, unprocessed jobs: 0 1842s # Pool idle thread count: 10, unprocessed jobs: 0 1843s # Pool idle thread count: 10, unprocessed jobs: 0 1843s # Pool idle thread count: 10, unprocessed jobs: 0 1843s # Pool idle thread count: 2, unprocessed jobs: 0 1843s # Pool idle thread count: 2, unprocessed jobs: 0 1844s # Pool idle thread count: 2, unprocessed jobs: 0 1844s # Pool idle thread count: 2, unprocessed jobs: 0 1844s # Pool idle thread count: 2, unprocessed jobs: 0 1844s # Pool idle thread count: 2, unprocessed jobs: 0 1845s # Pool idle thread count: 2, unprocessed jobs: 0 1845s # Pool idle thread count: 2, unprocessed jobs: 0 1845s # Pool idle thread count: 2, unprocessed jobs: 0 1845s # Pool idle thread count: 2, unprocessed jobs: 0 1846s # Pool idle thread count: 2, unprocessed jobs: 0 1846s # Pool idle thread count: 2, unprocessed jobs: 0 1846s # Pool idle thread count: 2, unprocessed jobs: 0 1846s # Pool idle thread count: 2, unprocessed jobs: 0 1847s # Pool idle thread count: 2, unprocessed jobs: 0 1847s # Pool idle thread count: 2, unprocessed jobs: 0 1847s # Executing: glib/thread-pool-slow.test 1847s # Pool idle thread count: 2, unprocessed jobs: 0 1847s # Pool idle thread count: 2, unprocessed jobs: 0 1848s # Pool idle thread count: 2, unprocessed jobs: 0 1848s # Pool idle thread count: 2, unprocessed jobs: 0 1848s # Pool idle thread count: 2, unprocessed jobs: 0 1848s # Pool idle thread count: 2, unprocessed jobs: 0 1849s # Pool idle thread count: 2, unprocessed jobs: 0 1849s # Pool idle thread count: 2, unprocessed jobs: 0 1849s # Pool idle thread count: 2, unprocessed jobs: 0 1849s # Pool idle thread count: 2, unprocessed jobs: 0 1850s # Pool idle thread count: 2, unprocessed jobs: 0 1850s # Pool idle thread count: 2, unprocessed jobs: 0 1850s # Pool idle thread count: 2, unprocessed jobs: 0 1850s # Pool idle thread count: 2, unprocessed jobs: 0 1851s # Pool idle thread count: 2, unprocessed jobs: 0 1851s # Pool idle thread count: 2, unprocessed jobs: 0 1851s # Pool idle thread count: 2, unprocessed jobs: 0 1851s # Pool idle thread count: 2, unprocessed jobs: 0 1852s ok 7 /threadpool/idle-time 1852s # slow test /threadpool/idle-time executed in 19.52 secs 1852s # End of threadpool tests 1852s ok - glib/thread-pool-slow.test 1852s # Running test: glib/gdbus-proxy-well-known-name.test 1852s TAP version 14 1852s # random seed: R02S07a44cbbf51a4bb20345aaf927dab6e8 1852s 1..1 1852s # Start of gdbus tests 1852s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_ONZIK3/gdbus/proxy-well-known-name/.dirs/home 1852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_ONZIK3/gdbus/proxy-well-known-name/.dirs/cache 1852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_ONZIK3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_ONZIK3/gdbus/proxy-well-known-name/.dirs/system-config2 1852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_ONZIK3/gdbus/proxy-well-known-name/.dirs/config 1852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_ONZIK3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_ONZIK3/gdbus/proxy-well-known-name/.dirs/system-data2 1852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_ONZIK3/gdbus/proxy-well-known-name/.dirs/data 1852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_ONZIK3/gdbus/proxy-well-known-name/.dirs/state 1852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_ONZIK3/gdbus/proxy-well-known-name/.dirs/runtime 1852s ok - glib/gdbus-proxy-well-known-name.test 1852s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1852s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1852s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1852s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1852s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1852s ok 1 /gdbus/proxy-well-known-name 1852s # End of gdbus tests 1852s # Running test: glib/rwlock.test 1852s TAP version 14 1852s # random seed: R02S17c23bbbe68a34bf43c460d2a1da9eac 1852s 1..8 1852s # Start of thread tests 1852s ok 1 /thread/rwlock1 1852s ok 2 /thread/rwlock2 1852s ok 3 /thread/rwlock3 1852s ok 4 /thread/rwlock4 1852s ok 5 /thread/rwlock5 1852s ok 6 /thread/rwlock6 1852s # Executing: glib/rwlock.test 1856s ok 7 /thread/rwlock7 1856s # slow test /thread/rwlock7 executed in 3.82 secs 1856s ok - glib/rwlock.test 1856s ok 8 /thread/rwlock8 1856s # End of thread tests 1856s # Running test: glib/base64.test 1856s TAP version 14 1856s # random seed: R02S4245189baba5007da0afe012eb0e1d6e 1856s 1..28 1856s # Start of base64 tests 1856s ok 1 /base64/encode 1856s ok 2 /base64/decode 1856s ok 3 /base64/decode-inplace 1856s ok 4 /base64/encode-decode 1856s # Start of full tests 1856s ok 5 /base64/full/1 1856s ok 6 /base64/full/2 1856s ok 7 /base64/full/3 1856s ok 8 /base64/full/4 1856s # End of full tests 1856s # Start of encode tests 1856s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1856s ok 9 /base64/encode/empty 1856s # Start of incremental tests 1856s # Start of small-block tests 1856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1856s ok 10 /base64/encode/incremental/small-block/1 1856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1856s ok 11 /base64/encode/incremental/small-block/2 1856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1856s ok 12 /base64/encode/incremental/small-block/3 1856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1856s ok - glib/base64.test 1856s # Running test: glib/performance-threaded.test 1856s ok 13 /base64/encode/incremental/small-block/4 1856s # End of small-block tests 1856s # End of incremental tests 1856s # End of encode tests 1856s # Start of incremental tests 1856s # Start of nobreak tests 1856s ok 14 /base64/incremental/nobreak/1 1856s ok 15 /base64/incremental/nobreak/2 1856s ok 16 /base64/incremental/nobreak/3 1856s ok 17 /base64/incremental/nobreak/4-a 1856s ok 18 /base64/incremental/nobreak/4-b 1856s ok 19 /base64/incremental/nobreak/4-c 1856s # End of nobreak tests 1856s # Start of break tests 1856s ok 20 /base64/incremental/break/1 1856s ok 21 /base64/incremental/break/2 1856s ok 22 /base64/incremental/break/3 1856s # End of break tests 1856s # Start of smallblock tests 1856s ok 23 /base64/incremental/smallblock/1 1856s ok 24 /base64/incremental/smallblock/2 1856s ok 25 /base64/incremental/smallblock/3 1856s ok 26 /base64/incremental/smallblock/4 1856s # End of smallblock tests 1856s # End of incremental tests 1856s # Start of decode tests 1856s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1856s ok 27 /base64/decode/empty 1856s # End of decode tests 1856s # Start of encode-decode tests 1856s # Vector 0: 1856s # Vector 1: f 1856s # Vector 2: fo 1856s # Vector 3: foo 1856s # Vector 4: foob 1856s # Vector 5: fooba 1856s # Vector 6: foobar 1856s ok 28 /base64/encode-decode/rfc4648 1856s # End of encode-decode tests 1856s # End of base64 tests 1856s Running test "liststore-is-a" 1857s 34691 runs, min/avg/max = 0.027/0.029/0.158 ms 1857s Running test "liststore-interface-peek" 1857s # Executing: glib/performance-threaded.test 1858s 57530 runs, min/avg/max = 0.016/0.017/0.294 ms 1858s Running test "liststore-interface-peek-same" 1859s 56348 runs, min/avg/max = 0.017/0.018/0.144 ms 1859s ok - glib/performance-threaded.test 1859s # Running test: glib/utils-unisolated.test 1859s ok - glib/utils-unisolated.test 1859s TAP version 14 1859s # random seed: R02Sa18fdd045a0a123a40ede5e55feec27c 1859s 1..1 1859s # Start of utils tests 1859s ok 1 /utils/xdgdirs 1859s # End of utils tests 1859s # Running test: glib/socket-service.test 1859s TAP version 14 1859s # random seed: R02S0f81746626472d06c54b628b3a1b4b0e 1859s 1..4 1859s # Start of socket-service tests 1859s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1859s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x644ee250a240 and GSocketClientAsyncConnectData 0x644ee2504f00 1859s ok - glib/socket-service.test 1859s # Running test: glib/closure-refcount.test 1859s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1859s ok 1 /socket-service/start-stop 1859s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x644ee250e2d0 and GSocketClientAsyncConnectData 0x644ee250df30 1859s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1859s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1859s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x644ee250e250 for GSocketClientAsyncConnectData 0x644ee2504f00 1859s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1859s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1859s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1859s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1859s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1859s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x644ee250e250 for GSocketClientAsyncConnectData 0x644ee250df30 1859s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1859s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1859s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1859s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1859s ok 2 /socket-service/read_write_async 1859s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x644ee250e2d0 and GSocketClientAsyncConnectData 0x644ee2511a00 1859s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1859s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1859s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x644ee2510e40 for GSocketClientAsyncConnectData 0x644ee2511a00 1859s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1859s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1859s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1859s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1859s ok 3 /socket-service/read_writev_async 1859s # Start of threaded tests 1859s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1859s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x644ee2502a70 and GSocketClientAsyncConnectData 0x644ee250df30 1859s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1859s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1859s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x644ee2502c90 for GSocketClientAsyncConnectData 0x644ee250df30 1859s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1859s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1859s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1859s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1859s ok 4 /socket-service/threaded/712570 1859s # End of threaded tests 1859s # End of socket-service tests 1859s TAP version 14 1859s # random seed: R02S333b10941781758c0c3618a6bf8808ce 1859s 1..1 1859s # Start of closure tests 1859s # Init 0x5eb56e44ddb0 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from thread1 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from thread2 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from thread1 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from thread2 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from thread2 1859s # Yielding from main thread 1859s # Yielding from thread1 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from thread1 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from thread2 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from thread1 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from thread2 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from thread1 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from main thread 1859s # Yielding from thread2 1859s # Yielding from main thread 1859s # Yielding from thread1 1859s # Yielding from main thread 1859s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from thread1 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from thread2 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from thread1 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from thread2 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from thread1 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from thread2 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from main thread 1860s # Yielding from thread1 1860s # Stopping 1860s # Stopped 1860s ok 1 /closure/refcount 1860s # slow test /closure/refcount executed in 1.23 secs 1860s # End of closure tests 1860s ok - glib/closure-refcount.test 1860s # Running test: glib/error.test 1860s TAP version 14 1860s # random seed: R02S9a60d25881571e14caee38b7d79862d7 1860s 1..3 1860s # Start of error tests 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_WPWMK3/error/from-errno/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_WPWMK3/error/from-errno/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_WPWMK3/error/from-errno/.dirs/system-config1:/tmp/test_error_WPWMK3/error/from-errno/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_WPWMK3/error/from-errno/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_WPWMK3/error/from-errno/.dirs/system-data1:/tmp/test_error_WPWMK3/error/from-errno/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_WPWMK3/error/from-errno/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_WPWMK3/error/from-errno/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_WPWMK3/error/from-errno/.dirs/runtime 1860s ok - glib/error.test 1860s ok 1 /error/from-errno 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_WPWMK3/error/from-file-error/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_WPWMK3/error/from-file-error/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_WPWMK3/error/from-file-error/.dirs/system-config1:/tmp/test_error_WPWMK3/error/from-file-error/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_WPWMK3/error/from-file-error/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_WPWMK3/error/from-file-error/.dirs/system-data1:/tmp/test_error_WPWMK3/error/from-file-error/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_WPWMK3/error/from-file-error/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_WPWMK3/error/from-file-error/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_WPWMK3/error/from-file-error/.dirs/runtime 1860s ok 2 /error/from-file-error 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_WPWMK3/error/from-win32-error/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_WPWMK3/error/from-win32-error/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_WPWMK3/error/from-win32-error/.dirs/system-config1:/tmp/test_error_WPWMK3/error/from-win32-error/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_WPWMK3/error/from-win32-error/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_WPWMK3/error/from-win32-error/.dirs/system-data1:/tmp/test_error_WPWMK3/error/from-win32-error/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_WPWMK3/error/from-win32-error/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_WPWMK3/error/from-win32-error/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_WPWMK3/error/from-win32-error/.dirs/runtime 1860s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1860s # End of error tests 1860s # Running test: glib/macros-c-99.test 1860s TAP version 14 1860s # random seed: R02S3fc472b3d996958c4669778f840f291a 1860s 1..4 1860s # Start of C tests 1860s # G_C_STD_VERSION is 199901 1860s ok 1 /C/standard-99 1860s # End of C tests 1860s # Start of alignof tests 1860s ok 2 /alignof/fallback 1860s # End of alignof tests 1860s # Start of assert tests 1860s ok 3 /assert/static 1860s # End of assert tests 1860s # Start of struct tests 1860s ok 4 /struct/sizeof_member 1860s # End of struct tests 1860s ok - glib/macros-c-99.test 1860s # Running test: glib/gdbus-auth.test 1860s TAP version 14 1860s # random seed: R02S80edad3ed4f83f6177987570ce592161 1860s 1..5 1860s # Start of gdbus tests 1860s # Start of auth tests 1860s # Start of client tests 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/EXTERNAL/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/EXTERNAL/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/EXTERNAL/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/EXTERNAL/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/EXTERNAL/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/EXTERNAL/.dirs/runtime 1860s ok 1 /gdbus/auth/client/EXTERNAL 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1860s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1860s # End of client tests 1860s # Start of server tests 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/ANONYMOUS/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/ANONYMOUS/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/ANONYMOUS/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/ANONYMOUS/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/ANONYMOUS/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1860s ok 3 /gdbus/auth/server/ANONYMOUS 1860s ok - glib/gdbus-auth.test 1860s # Running test: glib/basics-gobject.test 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/EXTERNAL/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/EXTERNAL/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/EXTERNAL/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/EXTERNAL/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/EXTERNAL/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/EXTERNAL/.dirs/runtime 1860s ok 4 /gdbus/auth/server/EXTERNAL 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_WORMK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1860s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1860s # End of server tests 1860s # End of auth tests 1860s # End of gdbus tests 1860s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1860s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1860s TAP version 14 1860s # random seed: R02Sd3649aedae38e6406ca7e6a7d52e17ef 1860s 1..1 1860s # Start of gobject tests 1860s # private data during initialization: 54321 == 54321 1860s # MAIN: emit test-signal: 1860s # ::test_signal default_handler called 1860s # ::test_signal default_handler called 1860s # ::test_signal default_handler called 1860s # signal return: "" 1860s # MAIN: call iface print-string on test and derived object: 1860s # Iface-FOO: "iface-string-from-test-type" from 0x6074f811b690 1860s # Iface-BAR: "iface-string-from-derived-type" from 0x6074f811b540 1860s # chaining: 1860s # Iface-FOO: "iface-string-from-derived-type" from 0x6074f811b540 1860s # private data after initialization: 54321 == 54321 1860s ok 1 /gobject/basics 1860s # End of gobject tests 1860s ok - glib/basics-gobject.test 1860s # Running test: glib/bindinggroup.test 1860s ok - glib/bindinggroup.test 1860s # Running test: glib/gnotification.test 1860s ok - glib/gnotification.test 1860s # Running test: glib/memory-monitor-poll.test 1860s TAP version 14 1860s # random seed: R02S67a2db614e55317706609a15fa5f182c 1860s 1..11 1860s # Start of GObject tests 1860s # Start of BindingGroup tests 1860s ok 1 /GObject/BindingGroup/invalid 1860s ok 2 /GObject/BindingGroup/default 1860s ok 3 /GObject/BindingGroup/bidirectional 1860s ok 4 /GObject/BindingGroup/transform 1860s ok 5 /GObject/BindingGroup/transform-closures 1860s ok 6 /GObject/BindingGroup/same-object 1860s ok 7 /GObject/BindingGroup/weak-ref-source 1860s ok 8 /GObject/BindingGroup/weak-ref-target 1860s ok 9 /GObject/BindingGroup/properties 1860s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1860s ok 11 /GObject/BindingGroup/empty-closures 1860s # End of BindingGroup tests 1860s # End of GObject tests 1860s TAP version 14 1860s # random seed: R02S1eb8ea0aecab030f8eb4a5ef396ce6d5 1860s 1..2 1860s # Start of gnotification tests 1860s ok 1 /gnotification/basic 1860s ok 2 /gnotification/properties 1860s # End of gnotification tests 1860s TAP version 14 1860s # random seed: R02Sa8d9c6e5d9680fb12edc40a793d95d19 1860s 1..4 1860s # Start of memory-monitor-poll tests 1860s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’ 1860s ok 1 /memory-monitor-poll/dup-default 1860s # GLib-GIO-DEBUG: memory free ratio 0.190000 1860s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 1860s ok 2 /memory-monitor-poll/critical-event 1860s # GLib-GIO-DEBUG: memory free ratio 0.290000 1860s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1860s ok 3 /memory-monitor-poll/medium-event 1860s # GLib-GIO-DEBUG: memory free ratio 0.390000 1860s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1860s ok 4 /memory-monitor-poll/low-event 1860s # End of memory-monitor-poll tests 1860s ok - glib/memory-monitor-poll.test 1860s # Running test: glib/portal-support-env-var.test 1860s ok - glib/portal-support-env-var.test 1860s TAP version 14 1860s # random seed: R02S0d36ff4372d4aff7abcdeda3cce21425 1860s 1..1 1860s # Start of portal-support tests 1860s ok 1 /portal-support/env-var 1860s # End of portal-support tests 1860s # Running test: glib/cxx-2c.test 1860s ok - glib/cxx-2c.test 1860s TAP version 14 1860s # random seed: R02Saf928144155a91165422384fdfd2d67f 1860s 1..2 1860s # Start of gtask tests 1860s # 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. 1860s ok 1 /gtask/name 1860s # Start of name tests 1860s # 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. 1860s ok 2 /gtask/name/macro-wrapper 1860s # End of name tests 1860s # End of gtask tests 1860s # Running test: glib/permission.test 1860s TAP version 14 1860s # random seed: R02S073de238f6012410675090db9bf301e4 1860s 1..1 1860s # Start of permission tests 1860s ok 1 /permission/simple 1860s # End of permission tests 1860s ok - glib/permission.test 1860s # Running test: glib/gdbus-error.test 1860s TAP version 14 1860s # random seed: R02S4b81d80527f5a55c070fdb136b3d2620 1860s 1..4 1860s # Start of gdbus tests 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/registered-errors/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/registered-errors/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_WWR4J3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_WWR4J3/gdbus/registered-errors/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/registered-errors/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_WWR4J3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_WWR4J3/gdbus/registered-errors/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/registered-errors/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/registered-errors/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_WWR4J3/gdbus/registered-errors/.dirs/runtime 1860s ok 1 /gdbus/registered-errors 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/unregistered-errors/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/unregistered-errors/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_WWR4J3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_WWR4J3/gdbus/unregistered-errors/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/unregistered-errors/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_WWR4J3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_WWR4J3/gdbus/unregistered-errors/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/unregistered-errors/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/unregistered-errors/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_WWR4J3/gdbus/unregistered-errors/.dirs/runtime 1860s ok 2 /gdbus/unregistered-errors 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/transparent-gerror/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/transparent-gerror/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_WWR4J3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_WWR4J3/gdbus/transparent-gerror/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/transparent-gerror/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_WWR4J3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_WWR4J3/gdbus/transparent-gerror/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/transparent-gerror/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/transparent-gerror/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_WWR4J3/gdbus/transparent-gerror/.dirs/runtime 1860s ok 3 /gdbus/transparent-gerror 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/register-error/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/register-error/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_WWR4J3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_WWR4J3/gdbus/register-error/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/register-error/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_WWR4J3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_WWR4J3/gdbus/register-error/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/register-error/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_WWR4J3/gdbus/register-error/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_WWR4J3/gdbus/register-error/.dirs/runtime 1860s ok 4 /gdbus/register-error 1860s # End of gdbus tests 1860s ok - glib/gdbus-error.test 1860s # Running test: glib/queue.test 1860s TAP version 14 1860s # random seed: R02S07f8572b5eba1bd43cbed1cb7a2ea167 1860s 1..12 1860s # Start of queue tests 1860s ok 1 /queue/basic 1860s ok 2 /queue/copy 1860s ok 3 /queue/off-by-one 1860s ok 4 /queue/find-custom 1860s ok 5 /queue/static 1860s ok 6 /queue/clear 1860s ok 7 /queue/free-full 1860s ok 8 /queue/clear-full 1860s ok 9 /queue/insert-sibling-link 1860s ok 10 /queue/push-nth-link 1860s # Start of clear-full tests 1860s ok 11 /queue/clear-full/noop 1860s # End of clear-full tests 1860s # Start of random tests 1860s ok 12 /queue/random/seed:1631818476 1860s # End of random tests 1860s # End of queue tests 1860s ok - glib/queue.test 1860s # Running test: glib/signalgroup.test 1860s TAP version 14 1860s # random seed: R02S274ff0189b875d93874affe2b6f3d2ea 1860s 1..9 1860s # Start of GObject tests 1860s # Start of SignalGroup tests 1860s ok 1 /GObject/SignalGroup/invalid 1860s ok 2 /GObject/SignalGroup/simple 1860s ok 3 /GObject/SignalGroup/changing-target 1860s ok 4 /GObject/SignalGroup/blocking 1860s ok 5 /GObject/SignalGroup/weak-ref-target 1860s ok 6 /GObject/SignalGroup/connect-object 1860s ok 7 /GObject/SignalGroup/signal-parsing 1860s ok 8 /GObject/SignalGroup/properties 1860s ok 9 /GObject/SignalGroup/interface 1860s # Start of signal-parsing tests 1860s # End of signal-parsing tests 1860s # End of SignalGroup tests 1860s # End of GObject tests 1860s ok - glib/signalgroup.test 1860s # Running test: glib/uri.test 1860s TAP version 14 1860s # random seed: R02S6d60bd1d0ef09391c97a1be864aeef98 1860s 1..24 1860s # Start of uri tests 1860s ok 1 /uri/file-to-uri 1860s ok 2 /uri/file-from-uri 1860s ok 3 /uri/file-roundtrip 1860s ok 4 /uri/list 1860s # Test 0: %2Babc %4F 1860s # Test 1: %2Babc %4F 1860s # Test 2: %00abc %4F 1860s ok - glib/uri.test 1860s # Test 3: /cursors/none.png 1860s # Test 4: /cursors%2fbad-subdir/none.png 1860s # Test 5: %0 1860s # Test 6: %ra 1860s # Test 7: %2r 1860s # Test 8: Timm Bäder 1860s # Test 9: (null) 1860s ok 5 /uri/unescape-string 1860s ok 6 /uri/unescape-segment 1860s # Test 0: abcdefgABCDEFG._~ 1860s # Test 1: :+ \\?# 1860s # Test 2: a+b:c 1860s # Test 3: a+b:c\303\234 1860s # Test 4: \374;\322 1860s # Test 5: \303\261\303( 1860s ok 7 /uri/escape-string 1860s ok 8 /uri/escape-bytes 1860s ok 9 /uri/scheme 1860s ok 10 /uri/build 1860s ok 11 /uri/split 1860s ok 12 /uri/is_valid 1860s ok 13 /uri/to-string 1860s ok 14 /uri/join 1860s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1860s # Combination 0 1860s # Combination 1 1860s # Combination 2 1860s # Combination 3 1860s # Combination 4 1860s # Combination 5 1860s # Combination 6 1860s # Combination 7 1860s # Combination 8 1860s # Combination 9 1860s # Combination 10 1860s # Combination 11 1860s # Combination 12 1860s # Combination 13 1860s # Combination 14 1860s # Combination 15 1860s # Combination 16 1860s # Combination 17 1860s # Combination 18 1860s # Combination 19 1860s # Combination 20 1860s # Combination 21 1860s # Combination 22 1860s # Combination 23 1860s # Combination 24 1860s # Combination 25 1860s # Combination 26 1860s # Combination 27 1860s # Combination 28 1860s # Combination 29 1860s # Combination 30 1860s # Combination 31 1860s # Combination 32 1860s # Combination 33 1860s # Combination 34 1860s # Combination 35 1860s # Combination 36 1860s # Combination 37 1860s # Combination 38 1860s # Combination 39 1860s # Combination 40 1860s # Combination 41 1860s # Combination 42 1860s # Combination 43 1860s # Combination 44 1860s # Combination 45 1860s # Combination 46 1860s # Combination 47 1860s # Combination 48 1860s # Combination 49 1860s # Combination 50 1860s # Combination 51 1860s # Combination 52 1860s # Combination 53 1860s # Combination 54 1860s # Combination 55 1860s # Combination 56 1860s # Combination 57 1860s # Combination 58 1860s # Combination 59 1860s # Combination 60 1860s # Combination 61 1860s # Combination 62 1860s # Combination 63 1860s # Combination 64 1860s # Combination 65 1860s # Combination 66 1860s # Combination 67 1860s # Combination 68 1860s # Combination 69 1860s # Combination 70 1860s # Combination 71 1860s # Combination 72 1860s # Combination 73 1860s # Combination 74 1860s # Combination 75 1860s # Combination 76 1860s # Combination 77 1860s # Combination 78 1860s # Combination 79 1860s # Combination 80 1860s # Combination 81 1860s # Combination 82 1860s # Combination 83 1860s # Combination 84 1860s # Combination 85 1860s # Combination 86 1860s # Combination 87 1860s # Combination 88 1860s # Combination 89 1860s # Combination 90 1860s # Combination 91 1860s # Combination 92 1860s # Combination 93 1860s # Combination 94 1860s # Combination 95 1860s # Combination 96 1860s # Combination 97 1860s # Combination 98 1860s # Combination 99 1860s # Combination 100 1860s # Combination 101 1860s # Combination 102 1860s # Combination 103 1860s # Combination 104 1860s # Combination 105 1860s # Combination 106 1860s # Combination 107 1860s # Combination 108 1860s # Combination 109 1860s # Combination 110 1860s # Combination 111 1860s # Combination 112 1860s # Combination 113 1860s # Combination 114 1860s # Combination 115 1860s # Combination 116 1860s # Combination 117 1860s # Combination 118 1860s # Combination 119 1860s # Combination 120 1860s # Combination 121 1860s # Combination 122 1860s # Combination 123 1860s # Combination 124 1860s # Combination 125 1860s # Combination 126 1860s # Combination 127 1860s # Combination 128 1860s # Combination 129 1860s # Combination 130 1860s # Combination 131 1860s # Combination 132 1860s # Combination 133 1860s # Combination 134 1860s # Combination 135 1860s # Combination 136 1860s # Combination 137 1860s # Combination 138 1860s # Combination 139 1860s # Combination 140 1860s # Combination 141 1860s # Combination 142 1860s # Combination 143 1860s # Combination 144 1860s # Combination 145 1860s # Combination 146 1860s # Combination 147 1860s # Combination 148 1860s # Combination 149 1860s # Combination 150 1860s # Combination 151 1860s # Combination 152 1860s # Combination 153 1860s # Combination 154 1860s # Combination 155 1860s # Combination 156 1860s # Combination 157 1860s # Combination 158 1860s # Combination 159 1860s # Combination 160 1860s # Combination 161 1860s # Combination 162 1860s # Combination 163 1860s # Combination 164 1860s # Combination 165 1860s # Combination 166 1860s # Combination 167 1860s # Combination 168 1860s # Combination 169 1860s # Combination 170 1860s # Combination 171 1860s # Combination 172 1860s # Combination 173 1860s # Combination 174 1860s # Combination 175 1860s # Combination 176 1860s # Combination 177 1860s # Combination 178 1860s # Combination 179 1860s # Combination 180 1860s # Combination 181 1860s # Combination 182 1860s # Combination 183 1860s # Combination 184 1860s # Combination 185 1860s # Combination 186 1860s # Combination 187 1860s # Combination 188 1860s # Combination 189 1860s # Combination 190 1860s # Combination 191 1860s # Combination 192 1860s # Combination 193 1860s # Combination 194 1860s # Combination 195 1860s # Combination 196 1860s # Combination 197 1860s # Combination 198 1860s # Combination 199 1860s # Combination 200 1860s # Combination 201 1860s # Combination 202 1860s # Combination 203 1860s # Combination 204 1860s # Combination 205 1860s # Combination 206 1860s # Combination 207 1860s # Combination 208 1860s # Combination 209 1860s # Combination 210 1860s # Combination 211 1860s # Combination 212 1860s # Combination 213 1860s # Combination 214 1860s # Combination 215 1860s # Combination 216 1860s # Combination 217 1860s # Combination 218 1860s # Combination 219 1860s # Combination 220 1860s # Combination 221 1860s # Combination 222 1860s # Combination 223 1860s # Combination 224 1860s # Combination 225 1860s # Combination 226 1860s # Combination 227 1860s # Combination 228 1860s # Combination 229 1860s # Combination 230 1860s # Combination 231 1860s # Combination 232 1860s # Combination 233 1860s # Combination 234 1860s # Combination 235 1860s # Combination 236 1860s # Combination 237 1860s # Combination 238 1860s # Combination 239 1860s # Combination 240 1860s # Combination 241 1860s # Combination 242 1860s # Combination 243 1860s # Combination 244 1860s # Combination 245 1860s # Combination 246 1860s # Combination 247 1860s # Combination 248 1860s # Combination 249 1860s # Combination 250 1860s # Combination 251 1860s # Combination 252 1860s # Combination 253 1860s # Combination 254 1860s # Combination 255 1860s ok 15 /uri/join-split-round-trip 1860s ok 16 /uri/normalize 1860s # Start of unescape-bytes tests 1860s # Test 0: %00%00 1860s # Test 1: /cursors/none.png 1860s # Test 2: /cursors%2fbad-subdir/none.png 1860s # Test 3: %% 1860s # Test 4: % 1860s ok 17 /uri/unescape-bytes/nul-terminated 1860s # Test 0: %00%00 1860s # Test 1: /cursors/none.png 1860s # Test 2: /cursors%2fbad-subdir/none.png 1860s # Test 3: %% 1860s # Test 4: % 1860s ok 18 /uri/unescape-bytes/length 1860s # End of unescape-bytes tests 1860s # Start of parsing tests 1860s # Test 0: foo: 1860s # Test 1: file:/dev/null 1860s # Test 2: file:///dev/null 1860s # Test 3: ftp://user@host/path 1860s # Test 4: ftp://user@host:9999/path 1860s # Test 5: ftp://user:password@host/path 1860s # Test 6: ftp://user:password@host:9999/path 1860s # Test 7: ftp://user:password@host 1860s # Test 8: http://us%65r@host 1860s # Test 9: http://us%40r@host 1860s # Test 10: http://us%3ar@host 1860s # Test 11: http://us%2fr@host 1860s # Test 12: http://us%3fr@host 1860s # Test 13: http://host?query 1860s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1860s # 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 1860s # Test 16: http://space/%20 1860s # Test 17: http://delims/%3C%3E%23%25%22 1860s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1860s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1860s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1860s # Test 21: http://[3ffe:2a00:100:7031::1] 1860s # Test 22: http://[1080::8:800:200C:417A]/foo 1860s # Test 23: http://[::192.9.5.5]/ipng 1860s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1860s # Test 25: http://[2010:836B:4179::836B:4179] 1860s # Test 26: http://host/path with spaces 1860s # Test 27: http://host/path 1860s # Test 28: http://host/path 1860s # Test 29: http://host 1860s # Test 30: http://host:999 1860s # Test 31: http://host/pa 1860s # th 1860s # Test 32: http: 1860s # //host/path 1860s # Test 33: http:// host/path 1860s # Test 34: http://host/path? 1860s # Test 35: http://host/path# 1860s # Test 36: http://host/path% 1860s # Test 37: http://h%ost/path 1860s # Test 38: http://host/path%% 1860s # Test 39: http://host/path%%% 1860s # Test 40: http://host/path%/x/ 1860s # Test 41: http://host/path%0x/ 1860s # Test 42: http://host/path%ax 1860s # Test 43: http://host/päth/ 1860s # Test 44: HTTP://////////////// 1860s # Test 45: http://@host 1860s # Test 46: http://:@host 1860s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1860s # Test 48: http://example.com/.. 1860s # Test 49: foo0://host/path 1860s # Test 50: f0.o://host/path 1860s # Test 51: http++://host/path 1860s # Test 52: http-ish://host/path 1860s # Test 53: http://[fe80::dead:beef%]/ 1860s # Test 54: http://[fe80::dead:beef%em1]/ 1860s # Test 55: http://[fe80::dead:beef%em1]/ 1860s # Test 56: http://[fe80::dead:beef%25em1]/ 1860s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1860s # Test 58: http://[fe80::dead:beef%25em%31]/ 1860s # Test 59: http://[fe80::dead:beef%10]/ 1860s # Test 60: http://[fe80::dead:beef%10]/ 1860s # Test 61: http://[fe80::dead:beef%25]/ 1860s # Test 62: http://[fe80::dead:beef%25]/ 1860s # Test 63: http://[192.168.0.1%25em1]/ 1860s # Test 64: http://[fe80::dead:beef%2em1]/ 1860s # Test 65: http://[fe80::dead:beef%2em1]/ 1860s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1860s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1860s # Test 68: http://xn--mixed-üp/ 1860s # Test 69: data:./// 1860s # Test 70: data:/.// 1860s ok 19 /uri/parsing/absolute 1860s ok 20 /uri/parsing/relative 1860s # End of parsing tests 1860s # Start of iter-params tests 1860s # URI 0: p1=foo&p2=bar;p3=baz 1860s # URI 1: p1=foo&p2=bar 1860s # URI 2: p1=foo&&P1=bar 1860s # URI 3: %00=foo 1860s # URI 4: p1=%00 1860s # URI 5: p1=foo&p1=bar 1860s # URI 6: p1=foo&P1=bar 1860s # URI 7: =% 1860s # URI 8: = 1860s # URI 9: foo 1860s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1860s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1860s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1860s ok 21 /uri/iter-params/nul-terminated 1860s # URI 0: p1=foo&p2=bar;p3=baz 1860s # URI 1: p1=foo&p2=bar 1860s # URI 2: p1=foo&&P1=bar 1860s # URI 3: %00=foo 1860s # URI 4: p1=%00 1860s # URI 5: p1=foo&p1=bar 1860s # URI 6: p1=foo&P1=bar 1860s # URI 7: =% 1860s # URI 8: = 1860s # URI 9: foo 1860s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1860s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1860s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1860s ok 22 /uri/iter-params/length 1860s # End of iter-params tests 1860s # Start of parse-params tests 1860s # URI 0: p1=foo&p2=bar;p3=baz 1860s # URI 1: p1=foo&p2=bar 1860s # URI 2: p1=foo&&P1=bar 1860s # URI 3: %00=foo 1860s # URI 4: p1=%00 1860s # URI 5: p1=foo&p1=bar 1860s # URI 6: p1=foo&P1=bar 1860s # URI 7: =% 1860s # URI 8: = 1860s # URI 9: foo 1860s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1860s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1860s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1860s ok 23 /uri/parse-params/nul-terminated 1860s # URI 0: p1=foo&p2=bar;p3=baz 1860s # URI 1: p1=foo&p2=bar 1860s # URI 2: p1=foo&&P1=bar 1860s # URI 3: %00=foo 1860s # URI 4: p1=%00 1860s # URI 5: p1=foo&p1=bar 1860s # URI 6: p1=foo&P1=bar 1860s # URI 7: =% 1860s # URI 8: = 1860s # URI 9: foo 1860s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1860s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1860s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1860s ok 24 /uri/parse-params/length 1860s # End of parse-params tests 1860s # End of uri tests 1860s TAP version 14 1860s # random seed: R02Sa1cc33b0a955235057553272a27a3827 1860s 1..11 1860s # Start of inet-address tests 1860s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2 1860s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7] 1860s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7 1860s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7] 1860s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80 1860s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9 1860s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF 1860s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80 1860s ok 1 /inet-address/parse 1860s ok 2 /inet-address/any 1860s ok 3 /inet-address/loopback 1860s ok 4 /inet-address/bytes 1860s ok 5 /inet-address/property 1860s # End of inet-address tests 1860s # Start of socket-address tests 1860s ok 6 /socket-address/basic 1860s ok 7 /socket-address/to-string 1860s # End of socket-address tests 1860s # Start of address-mask tests 1860s ok 8 /address-mask/parse 1860s ok 9 /address-mask/property 1860s ok 10 /address-mask/equal 1860s ok 11 /address-mask/match 1860s # End of address-mask tests 1860s # Running test: glib/inet-address.test 1860s ok - glib/inet-address.test 1860s # Running test: glib/gi-inspect-typelib.py.test 1860s TAP version 13 1860s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 1860s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1860s # tmpdir: /tmp/tmpky4dn6bi 1860s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 1860s # Return code: 0 1860s # Output: 1860s # Usage: 1860s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 1860s # 1860s # Help Options: 1860s # -h, --help Show help options 1860s # 1860s # Application Options: 1860s # --typelib-version=VERSION Typelib version to inspect 1860s # --print-shlibs List the shared libraries the typelib requires 1860s # --print-typelibs List other typelibs the inspected typelib requires 1860s # Error: 1860s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 1860s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1860s # tmpdir: /tmp/tmpoj4bws0q 1860s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 1860s # Return code: 1 1860s # Output: 1860s # 1860s # Error: 1860s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 1860s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 1860s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1860s # tmpdir: /tmp/tmpm15rnizn 1860s # Running: ['/usr/bin/gi-inspect-typelib'] 1860s # Return code: 1 1860s # Output: 1860s # 1860s # Error: 1860s # Please specify exactly one namespace 1860s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 1860s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1860s # tmpdir: /tmp/tmpr_g127z4 1860s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1860s # Return code: 0 1860s # Output: 1860s # shlib: libgobject-2.0.so.0 1860s # shlib: libglib-2.0.so.0 1860s # Error: 1860s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 1860s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1860s # tmpdir: /tmp/tmprpbec7zx 1860s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 1860s # Return code: 0 1860s # Output: 1860s # 1860s # Error: 1860s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 1860s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1860s # tmpdir: /tmp/tmp14czcwt4 1860s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1860s # Return code: 0 1860s # Output: 1860s # shlib: libgobject-2.0.so.0 1860s # shlib: libglib-2.0.so.0 1860s # Error: 1860s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 1860s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1860s # tmpdir: /tmp/tmp3dfilsmx 1860s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1860s # Return code: 0 1860s # Output: 1860s # shlib: libgobject-2.0.so.0 1860s # Error: 1860s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 1860s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1860s # tmpdir: /tmp/tmpq9jbkgl5 1860s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 1860s # Return code: 0 1860s # Output: 1860s # typelib: GLib-2.0 1860s # Error: 1860s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 1860s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1860s # tmpdir: /tmp/tmp28kwpfhq 1860s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1860s # Return code: 0 1860s # Output: 1860s # shlib: libgobject-2.0.so.0 1860s # typelib: GLib-2.0 1860s # Error: 1860s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 1860s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1860s # tmpdir: /tmp/tmp77crl4hn 1860s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1860s # Return code: 0 1860s # Output: 1860s # shlib: libgio-2.0.so.0 1860s # Error: 1860s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 1860s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1860s # tmpdir: /tmp/tmpe6e0uqsh 1860s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 1860s # Return code: 0 1860s # Output: 1860s # typelib: GObject-2.0 1860s # typelib: GLib-2.0 1860s # typelib: GModule-2.0 1860s # Error: 1860s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 1860s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1860s # tmpdir: /tmp/tmpwdlj4u1k 1860s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1860s # Return code: 0 1860s # Output: 1860s # shlib: libgio-2.0.so.0 1860s # typelib: GObject-2.0 1860s # typelib: GLib-2.0 1860s # typelib: GModule-2.0 1860s # Error: 1860s 1..12 1860s ok - glib/gi-inspect-typelib.py.test 1860s # Running test: glib/ir-parser.test 1860s ok - glib/ir-parser.test 1860s TAP version 14 1860s # random seed: R02S7f547b2c8301012a3ff5da924d72ec12 1860s 1..1 1860s # Start of ir-parser tests 1860s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types 1860s # GLib-GIRepository-DEBUG: 1860s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1860s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1860s # GLib-GIRepository-DEBUG: 1860s # GLib-GIRepository-DEBUG: 1860s # GLib-GIRepository-DEBUG: 1860s # GLib-GIRepository-DEBUG: 1860s # GLib-GIRepository-DEBUG: popping node 1 dummy 1860s # GLib-GIRepository-DEBUG: 1860s # GLib-GIRepository-DEBUG: 1860s # GLib-GIRepository-DEBUG: 1860s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1860s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1860s # GLib-GIRepository-DEBUG: 1860s # GLib-GIRepository-DEBUG: 1860s # GLib-GIRepository-DEBUG: 1860s # GLib-GIRepository-DEBUG: 1860s # GLib-GIRepository-DEBUG: popping node 1 dummy 1860s # GLib-GIRepository-DEBUG: 1860s # GLib-GIRepository-DEBUG: 1860s # GLib-GIRepository-DEBUG: 1860s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1860s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Error 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaqf9xsjn/tmpyaed2i6z.xml', '--output', '-', '--header'] 1873s # Return code: 0 1873s # Output: 1873s # /* 1873s # * This file is generated by gdbus-codegen, do not modify it. 1873s # * 1873s # * The license of this code is the same as for the D-Bus interface description 1873s # * it was derived from. Note that it links to GLib, so must comply with the 1873s # * LGPL linking clauses. 1873s # */ 1873s # 1873s # #ifndef __STDOUT__ 1873s # #define __STDOUT__ 1873s # 1873s # #include 1873s # 1873s # G_BEGIN_DECLS 1873s # 1873s # 1873s # /* ------------------------------------------------------------------------ */ 1873s # /* Declarations for org.project.UsefulInterface */ 1873s # 1873s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1873s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1873s # 1873s # struct _OrgProjectUsefulInterface; 1873s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1873s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1873s # 1873s # struct _OrgProjectUsefulInterfaceIface 1873s # { 1873s # GTypeInterface parent_iface; 1873s # 1873s # gboolean (*handle_useful_method) ( 1873s # OrgProjectUsefulInterface *object, 1873s # GDBusMethodInvocation *invocation); 1873s # 1873s # }; 1873s # 1873s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1873s # 1873s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1873s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1873s # 1873s # 1873s # /* D-Bus method call completion functions: */ 1873s # void org_project_useful_interface_complete_useful_method ( 1873s # OrgProjectUsefulInterface *object, 1873s # GDBusMethodInvocation *invocation); 1873s # 1873s # 1873s # 1873s # /* D-Bus method calls: */ 1873s # void org_project_useful_interface_call_useful_method ( 1873s # OrgProjectUsefulInterface *proxy, 1873s # GCancellable *cancellable, 1873s # GAsyncReadyCallback callback, 1873s # gpointer user_data); 1873s # 1873s # gboolean org_project_useful_interface_call_useful_method_finish ( 1873s # OrgProjectUsefulInterface *proxy, 1873s # GAsyncResult *res, 1873s # GError **error); 1873s # 1873s # gboolean org_project_useful_interface_call_useful_method_sync ( 1873s # OrgProjectUsefulInterface *proxy, 1873s # GCancellable *cancellable, 1873s # GError **error); 1873s # 1873s # 1873s # 1873s # /* ---- */ 1873s # 1873s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1873s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1873s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1873s # 1873s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1873s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1873s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1873s # 1873s # struct _OrgProjectUsefulInterfaceProxy 1873s # { 1873s # /*< private >*/ 1873s # GDBusProxy parent_instance; 1873s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1873s # }; 1873s # 1873s # struct _OrgProjectUsefulInterfaceProxyClass 1873s # { 1873s # GDBusProxyClass parent_class; 1873s # }; 1873s # 1873s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1873s # 1873s # #if GLIB_CHECK_VERSION(2, 44, 0) 1873s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1873s # #endif 1873s # 1873s # void org_project_useful_interface_proxy_new ( 1873s # GDBusConnection *connection, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GAsyncReadyCallback callback, 1873s # gpointer user_data); 1873s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1873s # GAsyncResult *res, 1873s # GError **error); 1873s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1873s # GDBusConnection *connection, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GError **error); 1873s # 1873s # void org_project_useful_interface_proxy_new_for_bus ( 1873s # GBusType bus_type, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GAsyncReadyCallback callback, 1873s # gpointer user_data); 1873s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1873s # GAsyncResult *res, 1873s # GError **error); 1873s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1873s # GBusType bus_type, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GError **error); 1873s # 1873s # 1873s # /* ---- */ 1873s # 1873s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1873s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1873s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1873s # 1873s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1873s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1873s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1873s # 1873s # struct _OrgProjectUsefulInterfaceSkeleton 1873s # { 1873s # /*< private >*/ 1873s # GDBusInterfaceSkeleton parent_instance; 1873s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1873s # }; 1873s # 1873s # struct _OrgProjectUsefulInterfaceSkeletonClass 1873s # { 1873s # GDBusInterfaceSkeletonClass parent_class; 1873s # }; 1873s # 1873s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1873s # 1873s # #if GLIB_CHECK_VERSION(2, 44, 0) 1873s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1873s # #endif 1873s # 1873s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1873s # 1873s # 1873s # G_END_DECLS 1873s # 1873s # #endif /* __STDOUT__ */ 1873s # Error: 1873s # 1873s # /tmp/tmpaqf9xsjn/tmpvjdije1e.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaqf9xsjn/tmpvjdije1e.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1873s # Return code: 0 1873s # Output: 1873s # /* 1873s # * This file is generated by gdbus-codegen, do not modify it. 1873s # * 1873s # * The license of this code is the same as for the D-Bus interface description 1873s # * it was derived from. Note that it links to GLib, so must comply with the 1873s # * LGPL linking clauses. 1873s # */ 1873s # 1873s # #ifndef __STDOUT__ 1873s # #define __STDOUT__ 1873s # 1873s # #include 1873s # 1873s # G_BEGIN_DECLS 1873s # 1873s # 1873s # /* ------------------------------------------------------------------------ */ 1873s # /* Declarations for org.project.UsefulInterface */ 1873s # 1873s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1873s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1873s # 1873s # struct _OrgProjectUsefulInterface; 1873s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1873s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1873s # 1873s # struct _OrgProjectUsefulInterfaceIface 1873s # { 1873s # GTypeInterface parent_iface; 1873s # 1873s # gboolean (*handle_useful_method) ( 1873s # OrgProjectUsefulInterface *object, 1873s # GDBusMethodInvocation *invocation); 1873s # 1873s # }; 1873s # 1873s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1873s # 1873s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1873s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1873s # 1873s # 1873s # /* D-Bus method call completion functions: */ 1873s # void org_project_useful_interface_complete_useful_method ( 1873s # OrgProjectUsefulInterface *object, 1873s # GDBusMethodInvocation *invocation); 1873s # 1873s # 1873s # 1873s # /* D-Bus method calls: */ 1873s # void org_project_useful_interface_call_useful_method ( 1873s # OrgProjectUsefulInterface *proxy, 1873s # GCancellable *cancellable, 1873s # GAsyncReadyCallback callback, 1873s # gpointer user_data); 1873s # 1873s # gboolean org_project_useful_interface_call_useful_method_finish ( 1873s # OrgProjectUsefulInterface *proxy, 1873s # GAsyncResult *res, 1873s # GError **error); 1873s # 1873s # gboolean org_project_useful_interface_call_useful_method_sync ( 1873s # OrgProjectUsefulInterface *proxy, 1873s # GCancellable *cancellable, 1873s # GError **error); 1873s # 1873s # 1873s # 1873s # /* ---- */ 1873s # 1873s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1873s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1873s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1873s # 1873s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1873s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1873s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1873s # 1873s # struct _OrgProjectUsefulInterfaceProxy 1873s # { 1873s # /*< private >*/ 1873s # GDBusProxy parent_instance; 1873s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1873s # }; 1873s # 1873s # struct _OrgProjectUsefulInterfaceProxyClass 1873s # { 1873s # GDBusProxyClass parent_class; 1873s # }; 1873s # 1873s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1873s # 1873s # #if GLIB_CHECK_VERSION(2, 44, 0) 1873s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1873s # #endif 1873s # 1873s # void org_project_useful_interface_proxy_new ( 1873s # GDBusConnection *connection, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GAsyncReadyCallback callback, 1873s # gpointer user_data); 1873s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1873s # GAsyncResult *res, 1873s # GError **error); 1873s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1873s # GDBusConnection *connection, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GError **error); 1873s # 1873s # void org_project_useful_interface_proxy_new_for_bus ( 1873s # GBusType bus_type, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GAsyncReadyCallback callback, 1873s # gpointer user_data); 1873s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1873s # GAsyncResult *res, 1873s # GError **error); 1873s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1873s # GBusType bus_type, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GError **error); 1873s # 1873s # 1873s # /* ---- */ 1873s # 1873s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1873s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1873s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1873s # 1873s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1873s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1873s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1873s # 1873s # struct _OrgProjectUsefulInterfaceSkeleton 1873s # { 1873s # /*< private >*/ 1873s # GDBusInterfaceSkeleton parent_instance; 1873s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1873s # }; 1873s # 1873s # struct _OrgProjectUsefulInterfaceSkeletonClass 1873s # { 1873s # GDBusInterfaceSkeletonClass parent_class; 1873s # }; 1873s # 1873s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1873s # 1873s # #if GLIB_CHECK_VERSION(2, 44, 0) 1873s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1873s # #endif 1873s # 1873s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1873s # 1873s # 1873s # G_END_DECLS 1873s # 1873s # #endif /* __STDOUT__ */ 1873s # Error: 1873s # 1873s # /tmp/tmpaqf9xsjn/tmpfy_qiwf7.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaqf9xsjn/tmpfy_qiwf7.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1873s # Return code: 0 1873s # Output: 1873s # /* 1873s # * This file is generated by gdbus-codegen, do not modify it. 1873s # * 1873s # * The license of this code is the same as for the D-Bus interface description 1873s # * it was derived from. Note that it links to GLib, so must comply with the 1873s # * LGPL linking clauses. 1873s # */ 1873s # 1873s # #ifndef __STDOUT__ 1873s # #define __STDOUT__ 1873s # 1873s # #include 1873s # 1873s # G_BEGIN_DECLS 1873s # 1873s # 1873s # /* ------------------------------------------------------------------------ */ 1873s # /* Declarations for org.project.UsefulInterface */ 1873s # 1873s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1873s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1873s # 1873s # struct _OrgProjectUsefulInterface; 1873s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1873s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1873s # 1873s # struct _OrgProjectUsefulInterfaceIface 1873s # { 1873s # GTypeInterface parent_iface; 1873s # 1873s # gboolean (*handle_useful_method) ( 1873s # OrgProjectUsefulInterface *object, 1873s # GDBusMethodInvocation *invocation); 1873s # 1873s # }; 1873s # 1873s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1873s # 1873s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1873s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1873s # 1873s # 1873s # /* D-Bus method call completion functions: */ 1873s # void org_project_useful_interface_complete_useful_method ( 1873s # OrgProjectUsefulInterface *object, 1873s # GDBusMethodInvocation *invocation); 1873s # 1873s # 1873s # 1873s # /* D-Bus method calls: */ 1873s # void org_project_useful_interface_call_useful_method ( 1873s # OrgProjectUsefulInterface *proxy, 1873s # GDBusCallFlags call_flags, 1873s # gint timeout_msec, 1873s # GCancellable *cancellable, 1873s # GAsyncReadyCallback callback, 1873s # gpointer user_data); 1873s # 1873s # gboolean org_project_useful_interface_call_useful_method_finish ( 1873s # OrgProjectUsefulInterface *proxy, 1873s # GAsyncResult *res, 1873s # GError **error); 1873s # 1873s # gboolean org_project_useful_interface_call_useful_method_sync ( 1873s # OrgProjectUsefulInterface *proxy, 1873s # GDBusCallFlags call_flags, 1873s # gint timeout_msec, 1873s # GCancellable *cancellable, 1873s # GError **error); 1873s # 1873s # 1873s # 1873s # /* ---- */ 1873s # 1873s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1873s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1873s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1873s # 1873s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1873s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1873s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1873s # 1873s # struct _OrgProjectUsefulInterfaceProxy 1873s # { 1873s # /*< private >*/ 1873s # GDBusProxy parent_instance; 1873s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1873s # }; 1873s # 1873s # struct _OrgProjectUsefulInterfaceProxyClass 1873s # { 1873s # GDBusProxyClass parent_class; 1873s # }; 1873s # 1873s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1873s # 1873s # #if GLIB_CHECK_VERSION(2, 44, 0) 1873s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1873s # #endif 1873s # 1873s # void org_project_useful_interface_proxy_new ( 1873s # GDBusConnection *connection, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GAsyncReadyCallback callback, 1873s # gpointer user_data); 1873s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1873s # GAsyncResult *res, 1873s # GError **error); 1873s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1873s # GDBusConnection *connection, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GError **error); 1873s # 1873s # void org_project_useful_interface_proxy_new_for_bus ( 1873s # GBusType bus_type, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GAsyncReadyCallback callback, 1873s # gpointer user_data); 1873s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1873s # GAsyncResult *res, 1873s # GError **error); 1873s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1873s # GBusType bus_type, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GError **error); 1873s # 1873s # 1873s # /* ---- */ 1873s # 1873s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1873s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1873s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1873s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1873s # 1873s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1873s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1873s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1873s # 1873s # struct _OrgProjectUsefulInterfaceSkeleton 1873s # { 1873s # /*< private >*/ 1873s # GDBusInterfaceSkeleton parent_instance; 1873s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1873s # }; 1873s # 1873s # struct _OrgProjectUsefulInterfaceSkeletonClass 1873s # { 1873s # GDBusInterfaceSkeletonClass parent_class; 1873s # }; 1873s # 1873s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1873s # 1873s # #if GLIB_CHECK_VERSION(2, 44, 0) 1873s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1873s # #endif 1873s # 1873s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1873s # 1873s # 1873s # G_END_DECLS 1873s # 1873s # #endif /* __STDOUT__ */ 1873s # Error: 1873s ok 2 __main__.TestCodegen.test_dbus_types 1873s # gdbus-codegen: /usr/bin/gdbus-codegen 1873s # tmpdir: /tmp/tmp318zajio 1873s # /tmp/tmp318zajio/tmpg3ybed8c.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmpg3ybed8c.xml', '--output', '-', '--body'] 1873s # Return code: 1 1873s # Output: 1873s # 1873s # Error: 1873s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 1873s # /tmp/tmp318zajio/tmpx_no7f09.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmpx_no7f09.xml', '--output', '-', '--body'] 1873s # Return code: 1 1873s # Output: 1873s # 1873s # Error: 1873s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 1873s # /tmp/tmp318zajio/tmppb3s9b8d.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmppb3s9b8d.xml', '--output', '-', '--body'] 1873s # Return code: 1 1873s # Output: 1873s # 1873s # Error: 1873s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 1873s # /tmp/tmp318zajio/tmpinbqv8dp.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmpinbqv8dp.xml', '--output', '-', '--body'] 1873s # Return code: 1 1873s # Output: 1873s # 1873s # Error: 1873s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 1873s # /tmp/tmp318zajio/tmpkj10cjcq.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmpkj10cjcq.xml', '--output', '-', '--body'] 1873s # Return code: 1 1873s # Output: 1873s # 1873s # Error: 1873s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 1873s # /tmp/tmp318zajio/tmpxp6bo3ua.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmpxp6bo3ua.xml', '--output', '-', '--body'] 1873s # Return code: 1 1873s # Output: 1873s # 1873s # Error: 1873s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 1873s # /tmp/tmp318zajio/tmplknv7_u1.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmplknv7_u1.xml', '--output', '-', '--body'] 1873s # Return code: 1 1873s # Output: 1873s # 1873s # Error: 1873s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 1873s # /tmp/tmp318zajio/tmp9b2dznd3.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmp9b2dznd3.xml', '--output', '-', '--body'] 1873s # Return code: 1 1873s # Output: 1873s # 1873s # Error: 1873s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 1873s # /tmp/tmp318zajio/tmpb287uqfp.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmpb287uqfp.xml', '--output', '-', '--body'] 1873s # Return code: 1 1873s # Output: 1873s # 1873s # Error: 1873s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 1873s # /tmp/tmp318zajio/tmpjst0sjec.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmpjst0sjec.xml', '--output', '-', '--body'] 1873s # Return code: 1 1873s # Output: 1873s # 1873s # Error: 1873s # ERROR: D-Bus maximum signature length of 255 exceeded. 1873s # /tmp/tmp318zajio/tmpdn6r22ry.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmpdn6r22ry.xml', '--output', '-', '--body'] 1873s # Return code: 1 1873s # Output: 1873s # 1873s # Error: 1873s # ERROR: D-Bus maximum signature length of 255 exceeded. 1873s # /tmp/tmp318zajio/tmp3a1_zs6t.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmp3a1_zs6t.xml', '--output', '-', '--body'] 1873s # Return code: 1 1873s # Output: 1873s # 1873s # Error: 1873s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 1873s # /tmp/tmp318zajio/tmph9x8irz1.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmph9x8irz1.xml', '--output', '-', '--body'] 1873s # Return code: 1 1873s # Output: 1873s # 1873s # Error: 1873s # ERROR: D-Bus maximum signature length of 255 exceeded. 1873s # /tmp/tmp318zajio/tmp0s56t35s.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmp0s56t35s.xml', '--output', '-', '--body'] 1873s # Return code: 0 1873s # Output: 1873s # /* 1873s # * This file is generated by gdbus-codegen, do not modify it. 1873s # * 1873s # * The license of this code is the same as for the D-Bus interface description 1873s # * it was derived from. Note that it links to GLib, so must comply with the 1873s # * LGPL linking clauses. 1873s # */ 1873s # 1873s # #ifdef HAVE_CONFIG_H 1873s # # include "config.h" 1873s # #endif 1873s # 1873s # #include 1873s # #ifdef G_OS_UNIX 1873s # # include 1873s # #endif 1873s # 1873s # #ifdef G_ENABLE_DEBUG 1873s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1873s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1873s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1873s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1873s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1873s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1873s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1873s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1873s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1873s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1873s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1873s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1873s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1873s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1873s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1873s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1873s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1873s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1873s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1873s # #else /* !G_ENABLE_DEBUG */ 1873s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1873s # * Do not access GValues directly in your code. Instead, use the 1873s # * g_value_get_*() functions 1873s # */ 1873s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1873s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1873s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1873s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1873s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1873s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1873s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1873s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1873s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1873s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1873s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1873s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1873s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1873s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1873s # #endif /* !G_ENABLE_DEBUG */ 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusArgInfo parent_struct; 1873s # gboolean use_gvariant; 1873s # } _ExtendedGDBusArgInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusMethodInfo parent_struct; 1873s # const gchar *signal_name; 1873s # gboolean pass_fdlist; 1873s # } _ExtendedGDBusMethodInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusSignalInfo parent_struct; 1873s # const gchar *signal_name; 1873s # } _ExtendedGDBusSignalInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusPropertyInfo parent_struct; 1873s # const gchar *hyphen_name; 1873s # guint use_gvariant : 1; 1873s # guint emits_changed_signal : 1; 1873s # } _ExtendedGDBusPropertyInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusInterfaceInfo parent_struct; 1873s # const gchar *hyphen_name; 1873s # } _ExtendedGDBusInterfaceInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info; 1873s # guint prop_id; 1873s # GValue orig_value; /* the value before the change */ 1873s # } ChangedProperty; 1873s # 1873s # static void 1873s # _changed_property_free (ChangedProperty *data) 1873s # { 1873s # g_value_unset (&data->orig_value); 1873s # g_free (data); 1873s # } 1873s # 1873s # static gboolean 1873s # _g_strv_equal0 (gchar **a, gchar **b) 1873s # { 1873s # gboolean ret = FALSE; 1873s # guint n; 1873s # if (a == NULL && b == NULL) 1873s # { 1873s # ret = TRUE; 1873s # goto out; 1873s # } 1873s # if (a == NULL || b == NULL) 1873s # goto out; 1873s # if (g_strv_length (a) != g_strv_length (b)) 1873s # goto out; 1873s # for (n = 0; a[n] != NULL; n++) 1873s # if (g_strcmp0 (a[n], b[n]) != 0) 1873s # goto out; 1873s # ret = TRUE; 1873s # out: 1873s # return ret; 1873s # } 1873s # 1873s # static gboolean 1873s # _g_variant_equal0 (GVariant *a, GVariant *b) 1873s # { 1873s # gboolean ret = FALSE; 1873s # if (a == NULL && b == NULL) 1873s # { 1873s # ret = TRUE; 1873s # goto out; 1873s # } 1873s # if (a == NULL || b == NULL) 1873s # goto out; 1873s # ret = g_variant_equal (a, b); 1873s # out: 1873s # return ret; 1873s # } 1873s # 1873s # G_GNUC_UNUSED static gboolean 1873s # _g_value_equal (const GValue *a, const GValue *b) 1873s # { 1873s # gboolean ret = FALSE; 1873s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1873s # switch (G_VALUE_TYPE (a)) 1873s # { 1873s # case G_TYPE_BOOLEAN: 1873s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1873s # break; 1873s # case G_TYPE_UCHAR: 1873s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1873s # break; 1873s # case G_TYPE_INT: 1873s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1873s # break; 1873s # case G_TYPE_UINT: 1873s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1873s # break; 1873s # case G_TYPE_INT64: 1873s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1873s # break; 1873s # case G_TYPE_UINT64: 1873s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1873s # break; 1873s # case G_TYPE_DOUBLE: 1873s # { 1873s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1873s # gdouble da = g_value_get_double (a); 1873s # gdouble db = g_value_get_double (b); 1873s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1873s # } 1873s # break; 1873s # case G_TYPE_STRING: 1873s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1873s # break; 1873s # case G_TYPE_VARIANT: 1873s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1873s # break; 1873s # default: 1873s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1873s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1873s # else 1873s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1873s # break; 1873s # } 1873s # return ret; 1873s # } 1873s # 1873s # /* ------------------------------------------------------------------------ 1873s # * Code for interface GoodTypes 1873s # * ------------------------------------------------------------------------ 1873s # */ 1873s # 1873s # /** 1873s # * SECTION:GoodTypes 1873s # * @title: GoodTypes 1873s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1873s # * 1873s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1873s # */ 1873s # 1873s # /* ---- Introspection data for GoodTypes ---- */ 1873s # 1873s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1873s # { 1873s # { 1873s # -1, 1873s # (gchar *) "GoodPropertyType", 1873s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1873s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1873s # NULL 1873s # }, 1873s # "good-property-type", 1873s # FALSE, 1873s # TRUE 1873s # }; 1873s # 1873s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1873s # { 1873s # &_good_types_property_info_good_property_type.parent_struct, 1873s # NULL 1873s # }; 1873s # 1873s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1873s # { 1873s # { 1873s # -1, 1873s # (gchar *) "GoodTypes", 1873s # NULL, 1873s # NULL, 1873s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1873s # NULL 1873s # }, 1873s # "good-types", 1873s # }; 1873s # 1873s # 1873s # /** 1873s # * good_types_interface_info: 1873s # * 1873s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1873s # * 1873s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1873s # */ 1873s # GDBusInterfaceInfo * 1873s # good_types_interface_info (void) 1873s # { 1873s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1873s # } 1873s # 1873s # /** 1873s # * good_types_override_properties: 1873s # * @klass: The class structure for a #GObject derived class. 1873s # * @property_id_begin: The property id to assign to the first overridden property. 1873s # * 1873s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1873s # * The properties are overridden in the order they are defined. 1873s # * 1873s # * Returns: The last property id. 1873s # */ 1873s # guint 1873s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1873s # { 1873s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1873s # return property_id_begin - 1; 1873s # } 1873s # 1873s # 1873s # 1873s # /** 1873s # * GoodTypes: 1873s # * 1873s # * Abstract interface type for the D-Bus interface GoodTypes. 1873s # */ 1873s # 1873s # /** 1873s # * GoodTypesIface: 1873s # * @parent_iface: The parent interface. 1873s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1873s # * 1873s # * Virtual table for the D-Bus interface GoodTypes. 1873s # */ 1873s # 1873s # typedef GoodTypesIface GoodTypesInterface; 1873s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1873s # 1873s # static void 1873s # good_types_default_init (GoodTypesIface *iface) 1873s # { 1873s # /* GObject properties for D-Bus properties: */ 1873s # /** 1873s # * GoodTypes:good-property-type: 1873s # * 1873s # * Represents the D-Bus property "GoodPropertyType". 1873s # * 1873s # * 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. 1873s # */ 1873s # g_object_interface_install_property (iface, 1873s # 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)); 1873s # } 1873s # 1873s # /** 1873s # * good_types_get_good_property_type: (skip) 1873s # * @object: A GoodTypes. 1873s # * 1873s # * Gets the value of the "GoodPropertyType" D-Bus property. 1873s # * 1873s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1873s # * 1873s # * 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. 1873s # * 1873s # * 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. 1873s # */ 1873s # GVariant * 1873s # good_types_get_good_property_type (GoodTypes *object) 1873s # { 1873s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1873s # 1873s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1873s # } 1873s # 1873s # /** 1873s # * good_types_dup_good_property_type: (skip) 1873s # * @object: A GoodTypes. 1873s # * 1873s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1873s # * 1873s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1873s # * 1873s # * 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(). 1873s # */ 1873s # GVariant * 1873s # good_types_dup_good_property_type (GoodTypes *object) 1873s # { 1873s # GVariant *value; 1873s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1873s # return value; 1873s # } 1873s # 1873s # /** 1873s # * good_types_set_good_property_type: (skip) 1873s # * @object: A GoodTypes. 1873s # * @value: The value to set. 1873s # * 1873s # * Sets the "GoodPropertyType" D-Bus property to @value. 1873s # * 1873s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1873s # */ 1873s # void 1873s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1873s # { 1873s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1873s # } 1873s # 1873s # /* ------------------------------------------------------------------------ */ 1873s # 1873s # /** 1873s # * GoodTypesProxy: 1873s # * 1873s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1873s # */ 1873s # 1873s # /** 1873s # * GoodTypesProxyClass: 1873s # * @parent_class: The parent class. 1873s # * 1873s # * Class structure for GoodTypesProxy. 1873s # */ 1873s # 1873s # struct _GoodTypesProxyPrivate 1873s # { 1873s # GData *qdata; 1873s # }; 1873s # 1873s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1873s # 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1873s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1873s # G_ADD_PRIVATE (GoodTypesProxy) 1873s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1873s # 1873s # #else 1873s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1873s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1873s # 1873s # #endif 1873s # static void 1873s # good_types_proxy_finalize (GObject *object) 1873s # { 1873s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1873s # g_datalist_clear (&proxy->priv->qdata); 1873s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_get_property (GObject *object, 1873s # guint prop_id, 1873s # GValue *value, 1873s # GParamSpec *pspec G_GNUC_UNUSED) 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info; 1873s # GVariant *variant; 1873s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1873s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1873s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1873s # if (info->use_gvariant) 1873s # { 1873s # g_value_set_variant (value, variant); 1873s # } 1873s # else 1873s # { 1873s # if (variant != NULL) 1873s # g_dbus_gvariant_to_gvalue (variant, value); 1873s # } 1873s # if (variant != NULL) 1873s # g_variant_unref (variant); 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1873s # GAsyncResult *res, 1873s # gpointer user_data) 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info = user_data; 1873s # GError *error; 1873s # GVariant *_ret; 1873s # error = NULL; 1873s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1873s # if (!_ret) 1873s # { 1873s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1873s # info->parent_struct.name, 1873s # error->message, g_quark_to_string (error->domain), error->code); 1873s # g_error_free (error); 1873s # } 1873s # else 1873s # { 1873s # g_variant_unref (_ret); 1873s # } 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_set_property (GObject *object, 1873s # guint prop_id, 1873s # const GValue *value, 1873s # GParamSpec *pspec G_GNUC_UNUSED) 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info; 1873s # GVariant *variant; 1873s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1873s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1873s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1873s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1873s # "org.freedesktop.DBus.Properties.Set", 1873s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1873s # G_DBUS_CALL_FLAGS_NONE, 1873s # -1, 1873s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1873s # g_variant_unref (variant); 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_g_signal (GDBusProxy *proxy, 1873s # const gchar *sender_name G_GNUC_UNUSED, 1873s # const gchar *signal_name, 1873s # GVariant *parameters) 1873s # { 1873s # _ExtendedGDBusSignalInfo *info; 1873s # GVariantIter iter; 1873s # GVariant *child; 1873s # GValue *paramv; 1873s # gsize num_params; 1873s # gsize n; 1873s # guint signal_id; 1873s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1873s # if (info == NULL) 1873s # return; 1873s # num_params = g_variant_n_children (parameters); 1873s # paramv = g_new0 (GValue, num_params + 1); 1873s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1873s # g_value_set_object (¶mv[0], proxy); 1873s # g_variant_iter_init (&iter, parameters); 1873s # n = 1; 1873s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1873s # { 1873s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1873s # if (arg_info->use_gvariant) 1873s # { 1873s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1873s # g_value_set_variant (¶mv[n], child); 1873s # n++; 1873s # } 1873s # else 1873s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1873s # g_variant_unref (child); 1873s # } 1873s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1873s # g_signal_emitv (paramv, signal_id, 0, NULL); 1873s # for (n = 0; n < num_params + 1; n++) 1873s # g_value_unset (¶mv[n]); 1873s # g_free (paramv); 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1873s # GVariant *changed_properties, 1873s # const gchar *const *invalidated_properties) 1873s # { 1873s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1873s # guint n; 1873s # const gchar *key; 1873s # GVariantIter *iter; 1873s # _ExtendedGDBusPropertyInfo *info; 1873s # g_variant_get (changed_properties, "a{sv}", &iter); 1873s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1873s # { 1873s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1873s # g_datalist_remove_data (&proxy->priv->qdata, key); 1873s # if (info != NULL) 1873s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1873s # } 1873s # g_variant_iter_free (iter); 1873s # for (n = 0; invalidated_properties[n] != NULL; n++) 1873s # { 1873s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1873s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1873s # if (info != NULL) 1873s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1873s # } 1873s # } 1873s # 1873s # static GVariant * 1873s # good_types_proxy_get_good_property_type (GoodTypes *object) 1873s # { 1873s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1873s # GVariant *variant; 1873s # GVariant *value = NULL; 1873s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1873s # value = variant; 1873s # if (variant != NULL) 1873s # g_variant_unref (variant); 1873s # return value; 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_init (GoodTypesProxy *proxy) 1873s # { 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1873s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1873s # #else 1873s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1873s # #endif 1873s # 1873s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1873s # { 1873s # GObjectClass *gobject_class; 1873s # GDBusProxyClass *proxy_class; 1873s # 1873s # gobject_class = G_OBJECT_CLASS (klass); 1873s # gobject_class->finalize = good_types_proxy_finalize; 1873s # gobject_class->get_property = good_types_proxy_get_property; 1873s # gobject_class->set_property = good_types_proxy_set_property; 1873s # 1873s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1873s # proxy_class->g_signal = good_types_proxy_g_signal; 1873s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1873s # 1873s # good_types_override_properties (gobject_class, 1); 1873s # 1873s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1873s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1873s # #endif 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_iface_init (GoodTypesIface *iface) 1873s # { 1873s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1873s # } 1873s # 1873s # /** 1873s # * good_types_proxy_new: 1873s # * @connection: A #GDBusConnection. 1873s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1873s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1873s # * @object_path: An object path. 1873s # * @cancellable: (nullable): A #GCancellable or %NULL. 1873s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1873s # * @user_data: User data to pass to @callback. 1873s # * 1873s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1873s # * 1873s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1873s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1873s # * 1873s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1873s # */ 1873s # void 1873s # good_types_proxy_new ( 1873s # GDBusConnection *connection, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GAsyncReadyCallback callback, 1873s # gpointer user_data) 1873s # { 1873s # 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); 1873s # } 1873s # 1873s # /** 1873s # * good_types_proxy_new_finish: 1873s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1873s # * @error: Return location for error or %NULL 1873s # * 1873s # * Finishes an operation started with good_types_proxy_new(). 1873s # * 1873s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1873s # */ 1873s # GoodTypes * 1873s # good_types_proxy_new_finish ( 1873s # GAsyncResult *res, 1873s # GError **error) 1873s # { 1873s # GObject *ret; 1873s # GObject *source_object; 1873s # source_object = g_async_result_get_source_object (res); 1873s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1873s # g_object_unref (source_object); 1873s # if (ret != NULL) 1873s # return GOOD_TYPES (ret); 1873s # else 1873s # return NULL; 1873s # } 1873s # 1873s # /** 1873s # * good_types_proxy_new_sync: 1873s # * @connection: A #GDBusConnection. 1873s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1873s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1873s # * @object_path: An object path. 1873s # * @cancellable: (nullable): A #GCancellable or %NULL. 1873s # * @error: Return location for error or %NULL 1873s # * 1873s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1873s # * 1873s # * The calling thread is blocked until a reply is received. 1873s # * 1873s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1873s # * 1873s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1873s # */ 1873s # GoodTypes * 1873s # good_types_proxy_new_sync ( 1873s # GDBusConnection *connection, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GError **error) 1873s # { 1873s # GInitable *ret; 1873s # 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); 1873s # if (ret != NULL) 1873s # return GOOD_TYPES (ret); 1873s # else 1873s # return NULL; 1873s # } 1873s # 1873s # 1873s # /** 1873s # * good_types_proxy_new_for_bus: 1873s # * @bus_type: A #GBusType. 1873s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1873s # * @name: A bus name (well-known or unique). 1873s # * @object_path: An object path. 1873s # * @cancellable: (nullable): A #GCancellable or %NULL. 1873s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1873s # * @user_data: User data to pass to @callback. 1873s # * 1873s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1873s # * 1873s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1873s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1873s # * 1873s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1873s # */ 1873s # void 1873s # good_types_proxy_new_for_bus ( 1873s # GBusType bus_type, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GAsyncReadyCallback callback, 1873s # gpointer user_data) 1873s # { 1873s # 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); 1873s # } 1873s # 1873s # /** 1873s # * good_types_proxy_new_for_bus_finish: 1873s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1873s # * @error: Return location for error or %NULL 1873s # * 1873s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1873s # * 1873s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1873s # */ 1873s # GoodTypes * 1873s # good_types_proxy_new_for_bus_finish ( 1873s # GAsyncResult *res, 1873s # GError **error) 1873s # { 1873s # GObject *ret; 1873s # GObject *source_object; 1873s # source_object = g_async_result_get_source_object (res); 1873s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1873s # g_object_unref (source_object); 1873s # if (ret != NULL) 1873s # return GOOD_TYPES (ret); 1873s # else 1873s # return NULL; 1873s # } 1873s # 1873s # /** 1873s # * good_types_proxy_new_for_bus_sync: 1873s # * @bus_type: A #GBusType. 1873s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1873s # * @name: A bus name (well-known or unique). 1873s # * @object_path: An object path. 1873s # * @cancellable: (nullable): A #GCancellable or %NULL. 1873s # * @error: Return location for error or %NULL 1873s # * 1873s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1873s # * 1873s # * The calling thread is blocked until a reply is received. 1873s # * 1873s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1873s # * 1873s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1873s # */ 1873s # GoodTypes * 1873s # good_types_proxy_new_for_bus_sync ( 1873s # GBusType bus_type, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GError **error) 1873s # { 1873s # GInitable *ret; 1873s # 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); 1873s # if (ret != NULL) 1873s # return GOOD_TYPES (ret); 1873s # else 1873s # return NULL; 1873s # } 1873s # 1873s # 1873s # /* ------------------------------------------------------------------------ */ 1873s # 1873s # /** 1873s # * GoodTypesSkeleton: 1873s # * 1873s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1873s # */ 1873s # 1873s # /** 1873s # * GoodTypesSkeletonClass: 1873s # * @parent_class: The parent class. 1873s # * 1873s # * Class structure for GoodTypesSkeleton. 1873s # */ 1873s # 1873s # struct _GoodTypesSkeletonPrivate 1873s # { 1873s # GValue *properties; 1873s # GList *changed_properties; 1873s # GSource *changed_properties_idle_source; 1873s # GMainContext *context; 1873s # GMutex lock; 1873s # }; 1873s # 1873s # static void 1873s # _good_types_skeleton_handle_method_call ( 1873s # GDBusConnection *connection G_GNUC_UNUSED, 1873s # const gchar *sender G_GNUC_UNUSED, 1873s # const gchar *object_path G_GNUC_UNUSED, 1873s # const gchar *interface_name, 1873s # const gchar *method_name, 1873s # GVariant *parameters, 1873s # GDBusMethodInvocation *invocation, 1873s # gpointer user_data) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1873s # _ExtendedGDBusMethodInfo *info; 1873s # GVariantIter iter; 1873s # GVariant *child; 1873s # GValue *paramv; 1873s # gsize num_params; 1873s # guint num_extra; 1873s # gsize n; 1873s # guint signal_id; 1873s # GValue return_value = G_VALUE_INIT; 1873s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1873s # g_assert (info != NULL); 1873s # num_params = g_variant_n_children (parameters); 1873s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1873s # n = 0; 1873s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1873s # g_value_set_object (¶mv[n++], skeleton); 1873s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1873s # g_value_set_object (¶mv[n++], invocation); 1873s # if (info->pass_fdlist) 1873s # { 1873s # #ifdef G_OS_UNIX 1873s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1873s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1873s # #else 1873s # g_assert_not_reached (); 1873s # #endif 1873s # } 1873s # g_variant_iter_init (&iter, parameters); 1873s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1873s # { 1873s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1873s # if (arg_info->use_gvariant) 1873s # { 1873s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1873s # g_value_set_variant (¶mv[n], child); 1873s # n++; 1873s # } 1873s # else 1873s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1873s # g_variant_unref (child); 1873s # } 1873s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1873s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1873s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1873s # if (!g_value_get_boolean (&return_value)) 1873s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1873s # g_value_unset (&return_value); 1873s # for (n = 0; n < num_params + num_extra; n++) 1873s # g_value_unset (¶mv[n]); 1873s # g_free (paramv); 1873s # } 1873s # 1873s # static GVariant * 1873s # _good_types_skeleton_handle_get_property ( 1873s # GDBusConnection *connection G_GNUC_UNUSED, 1873s # const gchar *sender G_GNUC_UNUSED, 1873s # const gchar *object_path G_GNUC_UNUSED, 1873s # const gchar *interface_name G_GNUC_UNUSED, 1873s # const gchar *property_name, 1873s # GError **error, 1873s # gpointer user_data) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1873s # GValue value = G_VALUE_INIT; 1873s # GParamSpec *pspec; 1873s # _ExtendedGDBusPropertyInfo *info; 1873s # GVariant *ret; 1873s # ret = NULL; 1873s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1873s # g_assert (info != NULL); 1873s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1873s # if (pspec == NULL) 1873s # { 1873s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1873s # } 1873s # else 1873s # { 1873s # g_value_init (&value, pspec->value_type); 1873s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1873s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1873s # g_value_unset (&value); 1873s # } 1873s # return ret; 1873s # } 1873s # 1873s # static gboolean 1873s # _good_types_skeleton_handle_set_property ( 1873s # GDBusConnection *connection G_GNUC_UNUSED, 1873s # const gchar *sender G_GNUC_UNUSED, 1873s # const gchar *object_path G_GNUC_UNUSED, 1873s # const gchar *interface_name G_GNUC_UNUSED, 1873s # const gchar *property_name, 1873s # GVariant *variant, 1873s # GError **error, 1873s # gpointer user_data) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1873s # GValue value = G_VALUE_INIT; 1873s # GParamSpec *pspec; 1873s # _ExtendedGDBusPropertyInfo *info; 1873s # gboolean ret; 1873s # ret = FALSE; 1873s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1873s # g_assert (info != NULL); 1873s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1873s # if (pspec == NULL) 1873s # { 1873s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1873s # } 1873s # else 1873s # { 1873s # if (info->use_gvariant) 1873s # g_value_set_variant (&value, variant); 1873s # else 1873s # g_dbus_gvariant_to_gvalue (variant, &value); 1873s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1873s # g_value_unset (&value); 1873s # ret = TRUE; 1873s # } 1873s # return ret; 1873s # } 1873s # 1873s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1873s # { 1873s # _good_types_skeleton_handle_method_call, 1873s # _good_types_skeleton_handle_get_property, 1873s # _good_types_skeleton_handle_set_property, 1873s # {NULL} 1873s # }; 1873s # 1873s # static GDBusInterfaceInfo * 1873s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1873s # { 1873s # return good_types_interface_info (); 1873s # } 1873s # 1873s # static GDBusInterfaceVTable * 1873s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1873s # { 1873s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1873s # } 1873s # 1873s # static GVariant * 1873s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1873s # 1873s # GVariantBuilder builder; 1873s # guint n; 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1873s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1873s # #else 1873s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1873s # #endif 1873s # if (_good_types_interface_info.parent_struct.properties == NULL) 1873s # goto out; 1873s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1873s # { 1873s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1873s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1873s # { 1873s # GVariant *value; 1873s # 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); 1873s # if (value != NULL) 1873s # { 1873s # g_variant_take_ref (value); 1873s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1873s # g_variant_unref (value); 1873s # } 1873s # } 1873s # } 1873s # out: 1873s # return g_variant_builder_end (&builder); 1873s # } 1873s # 1873s # static gboolean _good_types_emit_changed (gpointer user_data); 1873s # 1873s # static void 1873s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1873s # gboolean emit_changed = FALSE; 1873s # 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # if (skeleton->priv->changed_properties_idle_source != NULL) 1873s # { 1873s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1873s # skeleton->priv->changed_properties_idle_source = NULL; 1873s # emit_changed = TRUE; 1873s # } 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # 1873s # if (emit_changed) 1873s # _good_types_emit_changed (skeleton); 1873s # } 1873s # 1873s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1873s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1873s # G_ADD_PRIVATE (GoodTypesSkeleton) 1873s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1873s # 1873s # #else 1873s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1873s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1873s # 1873s # #endif 1873s # static void 1873s # good_types_skeleton_finalize (GObject *object) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1873s # guint n; 1873s # for (n = 0; n < 1; n++) 1873s # g_value_unset (&skeleton->priv->properties[n]); 1873s # g_free (skeleton->priv->properties); 1873s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1873s # /* coverity[missing_lock : SUPPRESS] */ 1873s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1873s # #else 1873s # if (skeleton->priv->changed_properties_idle_source != NULL) 1873s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1873s # skeleton->priv->changed_properties_idle_source = NULL; 1873s # #endif 1873s # g_main_context_unref (skeleton->priv->context); 1873s # g_mutex_clear (&skeleton->priv->lock); 1873s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_get_property (GObject *object, 1873s # guint prop_id, 1873s # GValue *value, 1873s # GParamSpec *pspec G_GNUC_UNUSED) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1873s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # } 1873s # 1873s # static gboolean 1873s # _good_types_emit_changed (gpointer user_data) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1873s # GList *l; 1873s # GVariantBuilder builder; 1873s # GVariantBuilder invalidated_builder; 1873s # guint num_changes; 1873s # 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1873s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1873s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1873s # #else 1873s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1873s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1873s # #endif 1873s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1873s # { 1873s # ChangedProperty *cp = l->data; 1873s # GVariant *variant; 1873s # const GValue *cur_value; 1873s # 1873s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1873s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1873s # { 1873s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1873s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1873s # g_variant_unref (variant); 1873s # num_changes++; 1873s # } 1873s # } 1873s # if (num_changes > 0) 1873s # { 1873s # GList *connections, *ll; 1873s # GVariant *signal_variant; 1873s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1873s # &builder, &invalidated_builder)); 1873s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1873s # for (ll = connections; ll != NULL; ll = ll->next) 1873s # { 1873s # GDBusConnection *connection = ll->data; 1873s # 1873s # g_dbus_connection_emit_signal (connection, 1873s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1873s # "org.freedesktop.DBus.Properties", 1873s # "PropertiesChanged", 1873s # signal_variant, 1873s # NULL); 1873s # } 1873s # g_variant_unref (signal_variant); 1873s # g_list_free_full (connections, g_object_unref); 1873s # } 1873s # else 1873s # { 1873s # g_variant_builder_clear (&builder); 1873s # g_variant_builder_clear (&invalidated_builder); 1873s # } 1873s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1873s # skeleton->priv->changed_properties = NULL; 1873s # skeleton->priv->changed_properties_idle_source = NULL; 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # return FALSE; 1873s # } 1873s # 1873s # static void 1873s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1873s # { 1873s # ChangedProperty *cp; 1873s # GList *l; 1873s # cp = NULL; 1873s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1873s # { 1873s # ChangedProperty *i_cp = l->data; 1873s # if (i_cp->info == info) 1873s # { 1873s # cp = i_cp; 1873s # break; 1873s # } 1873s # } 1873s # if (cp == NULL) 1873s # { 1873s # cp = g_new0 (ChangedProperty, 1); 1873s # cp->prop_id = prop_id; 1873s # cp->info = info; 1873s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1873s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1873s # g_value_copy (orig_value, &cp->orig_value); 1873s # } 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_notify (GObject *object, 1873s # GParamSpec *pspec G_GNUC_UNUSED) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # if (skeleton->priv->changed_properties != NULL && 1873s # skeleton->priv->changed_properties_idle_source == NULL) 1873s # { 1873s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1873s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1873s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1873s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1873s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1873s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1873s # } 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_set_property (GObject *object, 1873s # guint prop_id, 1873s # const GValue *value, 1873s # GParamSpec *pspec) 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info; 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1873s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1873s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # g_object_freeze_notify (object); 1873s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1873s # { 1873s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1873s # info->emits_changed_signal) 1873s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1873s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1873s # g_object_notify_by_pspec (object, pspec); 1873s # } 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # g_object_thaw_notify (object); 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1873s # { 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1873s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1873s # #else 1873s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1873s # #endif 1873s # 1873s # g_mutex_init (&skeleton->priv->lock); 1873s # skeleton->priv->context = g_main_context_ref_thread_default (); 1873s # skeleton->priv->properties = g_new0 (GValue, 1); 1873s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1873s # } 1873s # 1873s # static GVariant * 1873s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1873s # GVariant *value; 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # return value; 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1873s # { 1873s # GObjectClass *gobject_class; 1873s # GDBusInterfaceSkeletonClass *skeleton_class; 1873s # 1873s # gobject_class = G_OBJECT_CLASS (klass); 1873s # gobject_class->finalize = good_types_skeleton_finalize; 1873s # gobject_class->get_property = good_types_skeleton_get_property; 1873s # gobject_class->set_property = good_types_skeleton_set_property; 1873s # gobject_class->notify = good_types_skeleton_notify; 1873s # 1873s # 1873s # good_types_override_properties (gobject_class, 1); 1873s # 1873s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1873s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1873s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1873s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1873s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1873s # 1873s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1873s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1873s # #endif 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1873s # { 1873s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1873s # } 1873s # 1873s # /** 1873s # * good_types_skeleton_new: 1873s # * 1873s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1873s # * 1873s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1873s # */ 1873s # GoodTypes * 1873s # good_types_skeleton_new (void) 1873s # { 1873s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1873s # } 1873s # Error: 1873s # 1873s # /tmp/tmp318zajio/tmp_fnt2e5b.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmp_fnt2e5b.xml', '--output', '-', '--body'] 1873s # Return code: 0 1873s # Output: 1873s # /* 1873s # * This file is generated by gdbus-codegen, do not modify it. 1873s # * 1873s # * The license of this code is the same as for the D-Bus interface description 1873s # * it was derived from. Note that it links to GLib, so must comply with the 1873s # * LGPL linking clauses. 1873s # */ 1873s # 1873s # #ifdef HAVE_CONFIG_H 1873s # # include "config.h" 1873s # #endif 1873s # 1873s # #include 1873s # #ifdef G_OS_UNIX 1873s # # include 1873s # #endif 1873s # 1873s # #ifdef G_ENABLE_DEBUG 1873s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1873s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1873s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1873s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1873s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1873s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1873s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1873s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1873s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1873s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1873s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1873s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1873s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1873s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1873s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1873s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1873s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1873s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1873s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1873s # #else /* !G_ENABLE_DEBUG */ 1873s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1873s # * Do not access GValues directly in your code. Instead, use the 1873s # * g_value_get_*() functions 1873s # */ 1873s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1873s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1873s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1873s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1873s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1873s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1873s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1873s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1873s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1873s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1873s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1873s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1873s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1873s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1873s # #endif /* !G_ENABLE_DEBUG */ 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusArgInfo parent_struct; 1873s # gboolean use_gvariant; 1873s # } _ExtendedGDBusArgInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusMethodInfo parent_struct; 1873s # const gchar *signal_name; 1873s # gboolean pass_fdlist; 1873s # } _ExtendedGDBusMethodInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusSignalInfo parent_struct; 1873s # const gchar *signal_name; 1873s # } _ExtendedGDBusSignalInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusPropertyInfo parent_struct; 1873s # const gchar *hyphen_name; 1873s # guint use_gvariant : 1; 1873s # guint emits_changed_signal : 1; 1873s # } _ExtendedGDBusPropertyInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusInterfaceInfo parent_struct; 1873s # const gchar *hyphen_name; 1873s # } _ExtendedGDBusInterfaceInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info; 1873s # guint prop_id; 1873s # GValue orig_value; /* the value before the change */ 1873s # } ChangedProperty; 1873s # 1873s # static void 1873s # _changed_property_free (ChangedProperty *data) 1873s # { 1873s # g_value_unset (&data->orig_value); 1873s # g_free (data); 1873s # } 1873s # 1873s # static gboolean 1873s # _g_strv_equal0 (gchar **a, gchar **b) 1873s # { 1873s # gboolean ret = FALSE; 1873s # guint n; 1873s # if (a == NULL && b == NULL) 1873s # { 1873s # ret = TRUE; 1873s # goto out; 1873s # } 1873s # if (a == NULL || b == NULL) 1873s # goto out; 1873s # if (g_strv_length (a) != g_strv_length (b)) 1873s # goto out; 1873s # for (n = 0; a[n] != NULL; n++) 1873s # if (g_strcmp0 (a[n], b[n]) != 0) 1873s # goto out; 1873s # ret = TRUE; 1873s # out: 1873s # return ret; 1873s # } 1873s # 1873s # static gboolean 1873s # _g_variant_equal0 (GVariant *a, GVariant *b) 1873s # { 1873s # gboolean ret = FALSE; 1873s # if (a == NULL && b == NULL) 1873s # { 1873s # ret = TRUE; 1873s # goto out; 1873s # } 1873s # if (a == NULL || b == NULL) 1873s # goto out; 1873s # ret = g_variant_equal (a, b); 1873s # out: 1873s # return ret; 1873s # } 1873s # 1873s # G_GNUC_UNUSED static gboolean 1873s # _g_value_equal (const GValue *a, const GValue *b) 1873s # { 1873s # gboolean ret = FALSE; 1873s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1873s # switch (G_VALUE_TYPE (a)) 1873s # { 1873s # case G_TYPE_BOOLEAN: 1873s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1873s # break; 1873s # case G_TYPE_UCHAR: 1873s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1873s # break; 1873s # case G_TYPE_INT: 1873s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1873s # break; 1873s # case G_TYPE_UINT: 1873s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1873s # break; 1873s # case G_TYPE_INT64: 1873s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1873s # break; 1873s # case G_TYPE_UINT64: 1873s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1873s # break; 1873s # case G_TYPE_DOUBLE: 1873s # { 1873s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1873s # gdouble da = g_value_get_double (a); 1873s # gdouble db = g_value_get_double (b); 1873s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1873s # } 1873s # break; 1873s # case G_TYPE_STRING: 1873s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1873s # break; 1873s # case G_TYPE_VARIANT: 1873s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1873s # break; 1873s # default: 1873s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1873s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1873s # else 1873s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1873s # break; 1873s # } 1873s # return ret; 1873s # } 1873s # 1873s # /* ------------------------------------------------------------------------ 1873s # * Code for interface GoodTypes 1873s # * ------------------------------------------------------------------------ 1873s # */ 1873s # 1873s # /** 1873s # * SECTION:GoodTypes 1873s # * @title: GoodTypes 1873s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1873s # * 1873s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1873s # */ 1873s # 1873s # /* ---- Introspection data for GoodTypes ---- */ 1873s # 1873s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1873s # { 1873s # { 1873s # -1, 1873s # (gchar *) "GoodPropertyType", 1873s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1873s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1873s # NULL 1873s # }, 1873s # "good-property-type", 1873s # FALSE, 1873s # TRUE 1873s # }; 1873s # 1873s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1873s # { 1873s # &_good_types_property_info_good_property_type.parent_struct, 1873s # NULL 1873s # }; 1873s # 1873s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1873s # { 1873s # { 1873s # -1, 1873s # (gchar *) "GoodTypes", 1873s # NULL, 1873s # NULL, 1873s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1873s # NULL 1873s # }, 1873s # "good-types", 1873s # }; 1873s # 1873s # 1873s # /** 1873s # * good_types_interface_info: 1873s # * 1873s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1873s # * 1873s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1873s # */ 1873s # GDBusInterfaceInfo * 1873s # good_types_interface_info (void) 1873s # { 1873s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1873s # } 1873s # 1873s # /** 1873s # * good_types_override_properties: 1873s # * @klass: The class structure for a #GObject derived class. 1873s # * @property_id_begin: The property id to assign to the first overridden property. 1873s # * 1873s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1873s # * The properties are overridden in the order they are defined. 1873s # * 1873s # * Returns: The last property id. 1873s # */ 1873s # guint 1873s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1873s # { 1873s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1873s # return property_id_begin - 1; 1873s # } 1873s # 1873s # 1873s # 1873s # /** 1873s # * GoodTypes: 1873s # * 1873s # * Abstract interface type for the D-Bus interface GoodTypes. 1873s # */ 1873s # 1873s # /** 1873s # * GoodTypesIface: 1873s # * @parent_iface: The parent interface. 1873s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1873s # * 1873s # * Virtual table for the D-Bus interface GoodTypes. 1873s # */ 1873s # 1873s # typedef GoodTypesIface GoodTypesInterface; 1873s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1873s # 1873s # static void 1873s # good_types_default_init (GoodTypesIface *iface) 1873s # { 1873s # /* GObject properties for D-Bus properties: */ 1873s # /** 1873s # * GoodTypes:good-property-type: 1873s # * 1873s # * Represents the D-Bus property "GoodPropertyType". 1873s # * 1873s # * 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. 1873s # */ 1873s # g_object_interface_install_property (iface, 1873s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1873s # } 1873s # 1873s # /** 1873s # * good_types_get_good_property_type: (skip) 1873s # * @object: A GoodTypes. 1873s # * 1873s # * Gets the value of the "GoodPropertyType" D-Bus property. 1873s # * 1873s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1873s # * 1873s # * 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. 1873s # * 1873s # * 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. 1873s # */ 1873s # GVariant * 1873s # good_types_get_good_property_type (GoodTypes *object) 1873s # { 1873s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1873s # 1873s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1873s # } 1873s # 1873s # /** 1873s # * good_types_dup_good_property_type: (skip) 1873s # * @object: A GoodTypes. 1873s # * 1873s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1873s # * 1873s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1873s # * 1873s # * 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(). 1873s # */ 1873s # GVariant * 1873s # good_types_dup_good_property_type (GoodTypes *object) 1873s # { 1873s # GVariant *value; 1873s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1873s # return value; 1873s # } 1873s # 1873s # /** 1873s # * good_types_set_good_property_type: (skip) 1873s # * @object: A GoodTypes. 1873s # * @value: The value to set. 1873s # * 1873s # * Sets the "GoodPropertyType" D-Bus property to @value. 1873s # * 1873s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1873s # */ 1873s # void 1873s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1873s # { 1873s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1873s # } 1873s # 1873s # /* ------------------------------------------------------------------------ */ 1873s # 1873s # /** 1873s # * GoodTypesProxy: 1873s # * 1873s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1873s # */ 1873s # 1873s # /** 1873s # * GoodTypesProxyClass: 1873s # * @parent_class: The parent class. 1873s # * 1873s # * Class structure for GoodTypesProxy. 1873s # */ 1873s # 1873s # struct _GoodTypesProxyPrivate 1873s # { 1873s # GData *qdata; 1873s # }; 1873s # 1873s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1873s # 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1873s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1873s # G_ADD_PRIVATE (GoodTypesProxy) 1873s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1873s # 1873s # #else 1873s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1873s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1873s # 1873s # #endif 1873s # static void 1873s # good_types_proxy_finalize (GObject *object) 1873s # { 1873s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1873s # g_datalist_clear (&proxy->priv->qdata); 1873s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_get_property (GObject *object, 1873s # guint prop_id, 1873s # GValue *value, 1873s # GParamSpec *pspec G_GNUC_UNUSED) 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info; 1873s # GVariant *variant; 1873s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1873s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1873s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1873s # if (info->use_gvariant) 1873s # { 1873s # g_value_set_variant (value, variant); 1873s # } 1873s # else 1873s # { 1873s # if (variant != NULL) 1873s # g_dbus_gvariant_to_gvalue (variant, value); 1873s # } 1873s # if (variant != NULL) 1873s # g_variant_unref (variant); 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1873s # GAsyncResult *res, 1873s # gpointer user_data) 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info = user_data; 1873s # GError *error; 1873s # GVariant *_ret; 1873s # error = NULL; 1873s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1873s # if (!_ret) 1873s # { 1873s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1873s # info->parent_struct.name, 1873s # error->message, g_quark_to_string (error->domain), error->code); 1873s # g_error_free (error); 1873s # } 1873s # else 1873s # { 1873s # g_variant_unref (_ret); 1873s # } 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_set_property (GObject *object, 1873s # guint prop_id, 1873s # const GValue *value, 1873s # GParamSpec *pspec G_GNUC_UNUSED) 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info; 1873s # GVariant *variant; 1873s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1873s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1873s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1873s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1873s # "org.freedesktop.DBus.Properties.Set", 1873s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1873s # G_DBUS_CALL_FLAGS_NONE, 1873s # -1, 1873s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1873s # g_variant_unref (variant); 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_g_signal (GDBusProxy *proxy, 1873s # const gchar *sender_name G_GNUC_UNUSED, 1873s # const gchar *signal_name, 1873s # GVariant *parameters) 1873s # { 1873s # _ExtendedGDBusSignalInfo *info; 1873s # GVariantIter iter; 1873s # GVariant *child; 1873s # GValue *paramv; 1873s # gsize num_params; 1873s # gsize n; 1873s # guint signal_id; 1873s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1873s # if (info == NULL) 1873s # return; 1873s # num_params = g_variant_n_children (parameters); 1873s # paramv = g_new0 (GValue, num_params + 1); 1873s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1873s # g_value_set_object (¶mv[0], proxy); 1873s # g_variant_iter_init (&iter, parameters); 1873s # n = 1; 1873s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1873s # { 1873s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1873s # if (arg_info->use_gvariant) 1873s # { 1873s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1873s # g_value_set_variant (¶mv[n], child); 1873s # n++; 1873s # } 1873s # else 1873s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1873s # g_variant_unref (child); 1873s # } 1873s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1873s # g_signal_emitv (paramv, signal_id, 0, NULL); 1873s # for (n = 0; n < num_params + 1; n++) 1873s # g_value_unset (¶mv[n]); 1873s # g_free (paramv); 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1873s # GVariant *changed_properties, 1873s # const gchar *const *invalidated_properties) 1873s # { 1873s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1873s # guint n; 1873s # const gchar *key; 1873s # GVariantIter *iter; 1873s # _ExtendedGDBusPropertyInfo *info; 1873s # g_variant_get (changed_properties, "a{sv}", &iter); 1873s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1873s # { 1873s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1873s # g_datalist_remove_data (&proxy->priv->qdata, key); 1873s # if (info != NULL) 1873s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1873s # } 1873s # g_variant_iter_free (iter); 1873s # for (n = 0; invalidated_properties[n] != NULL; n++) 1873s # { 1873s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1873s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1873s # if (info != NULL) 1873s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1873s # } 1873s # } 1873s # 1873s # static GVariant * 1873s # good_types_proxy_get_good_property_type (GoodTypes *object) 1873s # { 1873s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1873s # GVariant *variant; 1873s # GVariant *value = NULL; 1873s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1873s # value = variant; 1873s # if (variant != NULL) 1873s # g_variant_unref (variant); 1873s # return value; 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_init (GoodTypesProxy *proxy) 1873s # { 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1873s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1873s # #else 1873s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1873s # #endif 1873s # 1873s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1873s # { 1873s # GObjectClass *gobject_class; 1873s # GDBusProxyClass *proxy_class; 1873s # 1873s # gobject_class = G_OBJECT_CLASS (klass); 1873s # gobject_class->finalize = good_types_proxy_finalize; 1873s # gobject_class->get_property = good_types_proxy_get_property; 1873s # gobject_class->set_property = good_types_proxy_set_property; 1873s # 1873s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1873s # proxy_class->g_signal = good_types_proxy_g_signal; 1873s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1873s # 1873s # good_types_override_properties (gobject_class, 1); 1873s # 1873s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1873s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1873s # #endif 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_iface_init (GoodTypesIface *iface) 1873s # { 1873s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1873s # } 1873s # 1873s # /** 1873s # * good_types_proxy_new: 1873s # * @connection: A #GDBusConnection. 1873s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1873s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1873s # * @object_path: An object path. 1873s # * @cancellable: (nullable): A #GCancellable or %NULL. 1873s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1873s # * @user_data: User data to pass to @callback. 1873s # * 1873s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1873s # * 1873s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1873s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1873s # * 1873s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1873s # */ 1873s # void 1873s # good_types_proxy_new ( 1873s # GDBusConnection *connection, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GAsyncReadyCallback callback, 1873s # gpointer user_data) 1873s # { 1873s # 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); 1873s # } 1873s # 1873s # /** 1873s # * good_types_proxy_new_finish: 1873s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1873s # * @error: Return location for error or %NULL 1873s # * 1873s # * Finishes an operation started with good_types_proxy_new(). 1873s # * 1873s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1873s # */ 1873s # GoodTypes * 1873s # good_types_proxy_new_finish ( 1873s # GAsyncResult *res, 1873s # GError **error) 1873s # { 1873s # GObject *ret; 1873s # GObject *source_object; 1873s # source_object = g_async_result_get_source_object (res); 1873s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1873s # g_object_unref (source_object); 1873s # if (ret != NULL) 1873s # return GOOD_TYPES (ret); 1873s # else 1873s # return NULL; 1873s # } 1873s # 1873s # /** 1873s # * good_types_proxy_new_sync: 1873s # * @connection: A #GDBusConnection. 1873s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1873s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1873s # * @object_path: An object path. 1873s # * @cancellable: (nullable): A #GCancellable or %NULL. 1873s # * @error: Return location for error or %NULL 1873s # * 1873s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1873s # * 1873s # * The calling thread is blocked until a reply is received. 1873s # * 1873s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1873s # * 1873s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1873s # */ 1873s # GoodTypes * 1873s # good_types_proxy_new_sync ( 1873s # GDBusConnection *connection, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GError **error) 1873s # { 1873s # GInitable *ret; 1873s # 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); 1873s # if (ret != NULL) 1873s # return GOOD_TYPES (ret); 1873s # else 1873s # return NULL; 1873s # } 1873s # 1873s # 1873s # /** 1873s # * good_types_proxy_new_for_bus: 1873s # * @bus_type: A #GBusType. 1873s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1873s # * @name: A bus name (well-known or unique). 1873s # * @object_path: An object path. 1873s # * @cancellable: (nullable): A #GCancellable or %NULL. 1873s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1873s # * @user_data: User data to pass to @callback. 1873s # * 1873s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1873s # * 1873s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1873s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1873s # * 1873s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1873s # */ 1873s # void 1873s # good_types_proxy_new_for_bus ( 1873s # GBusType bus_type, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GAsyncReadyCallback callback, 1873s # gpointer user_data) 1873s # { 1873s # 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); 1873s # } 1873s # 1873s # /** 1873s # * good_types_proxy_new_for_bus_finish: 1873s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1873s # * @error: Return location for error or %NULL 1873s # * 1873s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1873s # * 1873s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1873s # */ 1873s # GoodTypes * 1873s # good_types_proxy_new_for_bus_finish ( 1873s # GAsyncResult *res, 1873s # GError **error) 1873s # { 1873s # GObject *ret; 1873s # GObject *source_object; 1873s # source_object = g_async_result_get_source_object (res); 1873s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1873s # g_object_unref (source_object); 1873s # if (ret != NULL) 1873s # return GOOD_TYPES (ret); 1873s # else 1873s # return NULL; 1873s # } 1873s # 1873s # /** 1873s # * good_types_proxy_new_for_bus_sync: 1873s # * @bus_type: A #GBusType. 1873s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1873s # * @name: A bus name (well-known or unique). 1873s # * @object_path: An object path. 1873s # * @cancellable: (nullable): A #GCancellable or %NULL. 1873s # * @error: Return location for error or %NULL 1873s # * 1873s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1873s # * 1873s # * The calling thread is blocked until a reply is received. 1873s # * 1873s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1873s # * 1873s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1873s # */ 1873s # GoodTypes * 1873s # good_types_proxy_new_for_bus_sync ( 1873s # GBusType bus_type, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GError **error) 1873s # { 1873s # GInitable *ret; 1873s # 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); 1873s # if (ret != NULL) 1873s # return GOOD_TYPES (ret); 1873s # else 1873s # return NULL; 1873s # } 1873s # 1873s # 1873s # /* ------------------------------------------------------------------------ */ 1873s # 1873s # /** 1873s # * GoodTypesSkeleton: 1873s # * 1873s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1873s # */ 1873s # 1873s # /** 1873s # * GoodTypesSkeletonClass: 1873s # * @parent_class: The parent class. 1873s # * 1873s # * Class structure for GoodTypesSkeleton. 1873s # */ 1873s # 1873s # struct _GoodTypesSkeletonPrivate 1873s # { 1873s # GValue *properties; 1873s # GList *changed_properties; 1873s # GSource *changed_properties_idle_source; 1873s # GMainContext *context; 1873s # GMutex lock; 1873s # }; 1873s # 1873s # static void 1873s # _good_types_skeleton_handle_method_call ( 1873s # GDBusConnection *connection G_GNUC_UNUSED, 1873s # const gchar *sender G_GNUC_UNUSED, 1873s # const gchar *object_path G_GNUC_UNUSED, 1873s # const gchar *interface_name, 1873s # const gchar *method_name, 1873s # GVariant *parameters, 1873s # GDBusMethodInvocation *invocation, 1873s # gpointer user_data) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1873s # _ExtendedGDBusMethodInfo *info; 1873s # GVariantIter iter; 1873s # GVariant *child; 1873s # GValue *paramv; 1873s # gsize num_params; 1873s # guint num_extra; 1873s # gsize n; 1873s # guint signal_id; 1873s # GValue return_value = G_VALUE_INIT; 1873s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1873s # g_assert (info != NULL); 1873s # num_params = g_variant_n_children (parameters); 1873s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1873s # n = 0; 1873s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1873s # g_value_set_object (¶mv[n++], skeleton); 1873s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1873s # g_value_set_object (¶mv[n++], invocation); 1873s # if (info->pass_fdlist) 1873s # { 1873s # #ifdef G_OS_UNIX 1873s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1873s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1873s # #else 1873s # g_assert_not_reached (); 1873s # #endif 1873s # } 1873s # g_variant_iter_init (&iter, parameters); 1873s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1873s # { 1873s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1873s # if (arg_info->use_gvariant) 1873s # { 1873s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1873s # g_value_set_variant (¶mv[n], child); 1873s # n++; 1873s # } 1873s # else 1873s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1873s # g_variant_unref (child); 1873s # } 1873s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1873s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1873s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1873s # if (!g_value_get_boolean (&return_value)) 1873s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1873s # g_value_unset (&return_value); 1873s # for (n = 0; n < num_params + num_extra; n++) 1873s # g_value_unset (¶mv[n]); 1873s # g_free (paramv); 1873s # } 1873s # 1873s # static GVariant * 1873s # _good_types_skeleton_handle_get_property ( 1873s # GDBusConnection *connection G_GNUC_UNUSED, 1873s # const gchar *sender G_GNUC_UNUSED, 1873s # const gchar *object_path G_GNUC_UNUSED, 1873s # const gchar *interface_name G_GNUC_UNUSED, 1873s # const gchar *property_name, 1873s # GError **error, 1873s # gpointer user_data) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1873s # GValue value = G_VALUE_INIT; 1873s # GParamSpec *pspec; 1873s # _ExtendedGDBusPropertyInfo *info; 1873s # GVariant *ret; 1873s # ret = NULL; 1873s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1873s # g_assert (info != NULL); 1873s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1873s # if (pspec == NULL) 1873s # { 1873s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1873s # } 1873s # else 1873s # { 1873s # g_value_init (&value, pspec->value_type); 1873s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1873s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1873s # g_value_unset (&value); 1873s # } 1873s # return ret; 1873s # } 1873s # 1873s # static gboolean 1873s # _good_types_skeleton_handle_set_property ( 1873s # GDBusConnection *connection G_GNUC_UNUSED, 1873s # const gchar *sender G_GNUC_UNUSED, 1873s # const gchar *object_path G_GNUC_UNUSED, 1873s # const gchar *interface_name G_GNUC_UNUSED, 1873s # const gchar *property_name, 1873s # GVariant *variant, 1873s # GError **error, 1873s # gpointer user_data) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1873s # GValue value = G_VALUE_INIT; 1873s # GParamSpec *pspec; 1873s # _ExtendedGDBusPropertyInfo *info; 1873s # gboolean ret; 1873s # ret = FALSE; 1873s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1873s # g_assert (info != NULL); 1873s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1873s # if (pspec == NULL) 1873s # { 1873s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1873s # } 1873s # else 1873s # { 1873s # if (info->use_gvariant) 1873s # g_value_set_variant (&value, variant); 1873s # else 1873s # g_dbus_gvariant_to_gvalue (variant, &value); 1873s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1873s # g_value_unset (&value); 1873s # ret = TRUE; 1873s # } 1873s # return ret; 1873s # } 1873s # 1873s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1873s # { 1873s # _good_types_skeleton_handle_method_call, 1873s # _good_types_skeleton_handle_get_property, 1873s # _good_types_skeleton_handle_set_property, 1873s # {NULL} 1873s # }; 1873s # 1873s # static GDBusInterfaceInfo * 1873s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1873s # { 1873s # return good_types_interface_info (); 1873s # } 1873s # 1873s # static GDBusInterfaceVTable * 1873s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1873s # { 1873s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1873s # } 1873s # 1873s # static GVariant * 1873s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1873s # 1873s # GVariantBuilder builder; 1873s # guint n; 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1873s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1873s # #else 1873s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1873s # #endif 1873s # if (_good_types_interface_info.parent_struct.properties == NULL) 1873s # goto out; 1873s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1873s # { 1873s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1873s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1873s # { 1873s # GVariant *value; 1873s # 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); 1873s # if (value != NULL) 1873s # { 1873s # g_variant_take_ref (value); 1873s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1873s # g_variant_unref (value); 1873s # } 1873s # } 1873s # } 1873s # out: 1873s # return g_variant_builder_end (&builder); 1873s # } 1873s # 1873s # static gboolean _good_types_emit_changed (gpointer user_data); 1873s # 1873s # static void 1873s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1873s # gboolean emit_changed = FALSE; 1873s # 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # if (skeleton->priv->changed_properties_idle_source != NULL) 1873s # { 1873s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1873s # skeleton->priv->changed_properties_idle_source = NULL; 1873s # emit_changed = TRUE; 1873s # } 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # 1873s # if (emit_changed) 1873s # _good_types_emit_changed (skeleton); 1873s # } 1873s # 1873s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1873s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1873s # G_ADD_PRIVATE (GoodTypesSkeleton) 1873s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1873s # 1873s # #else 1873s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1873s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1873s # 1873s # #endif 1873s # static void 1873s # good_types_skeleton_finalize (GObject *object) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1873s # guint n; 1873s # for (n = 0; n < 1; n++) 1873s # g_value_unset (&skeleton->priv->properties[n]); 1873s # g_free (skeleton->priv->properties); 1873s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1873s # /* coverity[missing_lock : SUPPRESS] */ 1873s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1873s # #else 1873s # if (skeleton->priv->changed_properties_idle_source != NULL) 1873s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1873s # skeleton->priv->changed_properties_idle_source = NULL; 1873s # #endif 1873s # g_main_context_unref (skeleton->priv->context); 1873s # g_mutex_clear (&skeleton->priv->lock); 1873s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_get_property (GObject *object, 1873s # guint prop_id, 1873s # GValue *value, 1873s # GParamSpec *pspec G_GNUC_UNUSED) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1873s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # } 1873s # 1873s # static gboolean 1873s # _good_types_emit_changed (gpointer user_data) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1873s # GList *l; 1873s # GVariantBuilder builder; 1873s # GVariantBuilder invalidated_builder; 1873s # guint num_changes; 1873s # 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1873s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1873s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1873s # #else 1873s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1873s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1873s # #endif 1873s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1873s # { 1873s # ChangedProperty *cp = l->data; 1873s # GVariant *variant; 1873s # const GValue *cur_value; 1873s # 1873s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1873s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1873s # { 1873s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1873s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1873s # g_variant_unref (variant); 1873s # num_changes++; 1873s # } 1873s # } 1873s # if (num_changes > 0) 1873s # { 1873s # GList *connections, *ll; 1873s # GVariant *signal_variant; 1873s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1873s # &builder, &invalidated_builder)); 1873s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1873s # for (ll = connections; ll != NULL; ll = ll->next) 1873s # { 1873s # GDBusConnection *connection = ll->data; 1873s # 1873s # g_dbus_connection_emit_signal (connection, 1873s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1873s # "org.freedesktop.DBus.Properties", 1873s # "PropertiesChanged", 1873s # signal_variant, 1873s # NULL); 1873s # } 1873s # g_variant_unref (signal_variant); 1873s # g_list_free_full (connections, g_object_unref); 1873s # } 1873s # else 1873s # { 1873s # g_variant_builder_clear (&builder); 1873s # g_variant_builder_clear (&invalidated_builder); 1873s # } 1873s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1873s # skeleton->priv->changed_properties = NULL; 1873s # skeleton->priv->changed_properties_idle_source = NULL; 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # return FALSE; 1873s # } 1873s # 1873s # static void 1873s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1873s # { 1873s # ChangedProperty *cp; 1873s # GList *l; 1873s # cp = NULL; 1873s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1873s # { 1873s # ChangedProperty *i_cp = l->data; 1873s # if (i_cp->info == info) 1873s # { 1873s # cp = i_cp; 1873s # break; 1873s # } 1873s # } 1873s # if (cp == NULL) 1873s # { 1873s # cp = g_new0 (ChangedProperty, 1); 1873s # cp->prop_id = prop_id; 1873s # cp->info = info; 1873s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1873s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1873s # g_value_copy (orig_value, &cp->orig_value); 1873s # } 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_notify (GObject *object, 1873s # GParamSpec *pspec G_GNUC_UNUSED) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # if (skeleton->priv->changed_properties != NULL && 1873s # skeleton->priv->changed_properties_idle_source == NULL) 1873s # { 1873s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1873s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1873s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1873s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1873s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1873s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1873s # } 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_set_property (GObject *object, 1873s # guint prop_id, 1873s # const GValue *value, 1873s # GParamSpec *pspec) 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info; 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1873s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1873s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # g_object_freeze_notify (object); 1873s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1873s # { 1873s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1873s # info->emits_changed_signal) 1873s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1873s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1873s # g_object_notify_by_pspec (object, pspec); 1873s # } 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # g_object_thaw_notify (object); 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1873s # { 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1873s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1873s # #else 1873s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1873s # #endif 1873s # 1873s # g_mutex_init (&skeleton->priv->lock); 1873s # skeleton->priv->context = g_main_context_ref_thread_default (); 1873s # skeleton->priv->properties = g_new0 (GValue, 1); 1873s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1873s # } 1873s # 1873s # static GVariant * 1873s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1873s # GVariant *value; 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # return value; 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1873s # { 1873s # GObjectClass *gobject_class; 1873s # GDBusInterfaceSkeletonClass *skeleton_class; 1873s # 1873s # gobject_class = G_OBJECT_CLASS (klass); 1873s # gobject_class->finalize = good_types_skeleton_finalize; 1873s # gobject_class->get_property = good_types_skeleton_get_property; 1873s # gobject_class->set_property = good_types_skeleton_set_property; 1873s # gobject_class->notify = good_types_skeleton_notify; 1873s # 1873s # 1873s # good_types_override_properties (gobject_class, 1); 1873s # 1873s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1873s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1873s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1873s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1873s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1873s # 1873s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1873s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1873s # #endif 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1873s # { 1873s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1873s # } 1873s # 1873s # /** 1873s # * good_types_skeleton_new: 1873s # * 1873s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1873s # * 1873s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1873s # */ 1873s # GoodTypes * 1873s # good_types_skeleton_new (void) 1873s # { 1873s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1873s # } 1873s # Error: 1873s # 1873s # /tmp/tmp318zajio/tmpl4ahrc3r.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp318zajio/tmpl4ahrc3r.xml', '--output', '-', '--body'] 1873s # Return code: 0 1873s # Output: 1873s # /* 1873s # * This file is generated by gdbus-codegen, do not modify it. 1873s # * 1873s # * The license of this code is the same as for the D-Bus interface description 1873s # * it was derived from. Note that it links to GLib, so must comply with the 1873s # * LGPL linking clauses. 1873s # */ 1873s # 1873s # #ifdef HAVE_CONFIG_H 1873s # # include "config.h" 1873s # #endif 1873s # 1873s # #include 1873s # #ifdef G_OS_UNIX 1873s # # include 1873s # #endif 1873s # 1873s # #ifdef G_ENABLE_DEBUG 1873s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1873s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1873s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1873s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1873s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1873s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1873s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1873s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1873s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1873s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1873s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1873s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1873s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1873s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1873s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1873s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1873s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1873s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1873s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1873s # #else /* !G_ENABLE_DEBUG */ 1873s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1873s # * Do not access GValues directly in your code. Instead, use the 1873s # * g_value_get_*() functions 1873s # */ 1873s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1873s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1873s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1873s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1873s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1873s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1873s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1873s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1873s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1873s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1873s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1873s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1873s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1873s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1873s # #endif /* !G_ENABLE_DEBUG */ 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusArgInfo parent_struct; 1873s # gboolean use_gvariant; 1873s # } _ExtendedGDBusArgInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusMethodInfo parent_struct; 1873s # const gchar *signal_name; 1873s # gboolean pass_fdlist; 1873s # } _ExtendedGDBusMethodInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusSignalInfo parent_struct; 1873s # const gchar *signal_name; 1873s # } _ExtendedGDBusSignalInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusPropertyInfo parent_struct; 1873s # const gchar *hyphen_name; 1873s # guint use_gvariant : 1; 1873s # guint emits_changed_signal : 1; 1873s # } _ExtendedGDBusPropertyInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusInterfaceInfo parent_struct; 1873s # const gchar *hyphen_name; 1873s # } _ExtendedGDBusInterfaceInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info; 1873s # guint prop_id; 1873s # GValue orig_value; /* the value before the change */ 1873s # } ChangedProperty; 1873s # 1873s # static void 1873s # _changed_property_free (ChangedProperty *data) 1873s # { 1873s # g_value_unset (&data->orig_value); 1873s # g_free (data); 1873s # } 1873s # 1873s # static gboolean 1873s # _g_strv_equal0 (gchar **a, gchar **b) 1873s # { 1873s # gboolean ret = FALSE; 1873s # guint n; 1873s # if (a == NULL && b == NULL) 1873s # { 1873s # ret = TRUE; 1873s # goto out; 1873s # } 1873s # if (a == NULL || b == NULL) 1873s # goto out; 1873s # if (g_strv_length (a) != g_strv_length (b)) 1873s # goto out; 1873s # for (n = 0; a[n] != NULL; n++) 1873s # if (g_strcmp0 (a[n], b[n]) != 0) 1873s # goto out; 1873s # ret = TRUE; 1873s # out: 1873s # return ret; 1873s # } 1873s # 1873s # static gboolean 1873s # _g_variant_equal0 (GVariant *a, GVariant *b) 1873s # { 1873s # gboolean ret = FALSE; 1873s # if (a == NULL && b == NULL) 1873s # { 1873s # ret = TRUE; 1873s # goto out; 1873s # } 1873s # if (a == NULL || b == NULL) 1873s # goto out; 1873s # ret = g_variant_equal (a, b); 1873s # out: 1873s # return ret; 1873s # } 1873s # 1873s # G_GNUC_UNUSED static gboolean 1873s # _g_value_equal (const GValue *a, const GValue *b) 1873s # { 1873s # gboolean ret = FALSE; 1873s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1873s # switch (G_VALUE_TYPE (a)) 1873s # { 1873s # case G_TYPE_BOOLEAN: 1873s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1873s # break; 1873s # case G_TYPE_UCHAR: 1873s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1873s # break; 1873s # case G_TYPE_INT: 1873s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1873s # break; 1873s # case G_TYPE_UINT: 1873s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1873s # break; 1873s # case G_TYPE_INT64: 1873s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1873s # break; 1873s # case G_TYPE_UINT64: 1873s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1873s # break; 1873s # case G_TYPE_DOUBLE: 1873s # { 1873s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1873s # gdouble da = g_value_get_double (a); 1873s # gdouble db = g_value_get_double (b); 1873s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1873s # } 1873s # break; 1873s # case G_TYPE_STRING: 1873s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1873s # break; 1873s # case G_TYPE_VARIANT: 1873s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1873s # break; 1873s # default: 1873s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1873s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1873s # else 1873s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1873s # break; 1873s # } 1873s # return ret; 1873s # } 1873s # 1873s # /* ------------------------------------------------------------------------ 1873s # * Code for interface GoodTypes 1873s # * ------------------------------------------------------------------------ 1873s # */ 1873s # 1873s # /** 1873s # * SECTION:GoodTypes 1873s # * @title: GoodTypes 1873s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1873s # * 1873s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1873s # */ 1873s # 1873s # /* ---- Introspection data for GoodTypes ---- */ 1873s # 1873s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1873s # { 1873s # { 1873s # -1, 1873s # (gchar *) "GoodPropertyType", 1873s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1873s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1873s # NULL 1873s # }, 1873s # "good-property-type", 1873s # FALSE, 1873s # TRUE 1873s # }; 1873s # 1873s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1873s # { 1873s # &_good_types_property_info_good_property_type.parent_struct, 1873s # NULL 1873s # }; 1873s # 1873s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1873s # { 1873s # { 1873s # -1, 1873s # (gchar *) "GoodTypes", 1873s # NULL, 1873s # NULL, 1873s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1873s # NULL 1873s # }, 1873s # "good-types", 1873s # }; 1873s # 1873s # 1873s # /** 1873s # * good_types_interface_info: 1873s # * 1873s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1873s # * 1873s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1873s # */ 1873s # GDBusInterfaceInfo * 1873s # good_types_interface_info (void) 1873s # { 1873s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1873s # } 1873s # 1873s # /** 1873s # * good_types_override_properties: 1873s # * @klass: The class structure for a #GObject derived class. 1873s # * @property_id_begin: The property id to assign to the first overridden property. 1873s # * 1873s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1873s # * The properties are overridden in the order they are defined. 1873s # * 1873s # * Returns: The last property id. 1873s # */ 1873s # guint 1873s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1873s # { 1873s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1873s # return property_id_begin - 1; 1873s # } 1873s # 1873s # 1873s # 1873s # /** 1873s # * GoodTypes: 1873s # * 1873s # * Abstract interface type for the D-Bus interface GoodTypes. 1873s # */ 1873s # 1873s # /** 1873s # * GoodTypesIface: 1873s # * @parent_iface: The parent interface. 1873s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1873s # * 1873s # * Virtual table for the D-Bus interface GoodTypes. 1873s # */ 1873s # 1873s # typedef GoodTypesIface GoodTypesInterface; 1873s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1873s # 1873s # static void 1873s # good_types_default_init (GoodTypesIface *iface) 1873s # { 1873s # /* GObject properties for D-Bus properties: */ 1873s # /** 1873s # * GoodTypes:good-property-type: 1873s # * 1873s # * Represents the D-Bus property "GoodPropertyType". 1873s # * 1873s # * 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. 1873s # */ 1873s # g_object_interface_install_property (iface, 1873s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1873s # } 1873s # 1873s # /** 1873s # * good_types_get_good_property_type: (skip) 1873s # * @object: A GoodTypes. 1873s # * 1873s # * Gets the value of the "GoodPropertyType" D-Bus property. 1873s # * 1873s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1873s # * 1873s # * 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. 1873s # * 1873s # * 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. 1873s # */ 1873s # GVariant * 1873s # good_types_get_good_property_type (GoodTypes *object) 1873s # { 1873s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1873s # 1873s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1873s # } 1873s # 1873s # /** 1873s # * good_types_dup_good_property_type: (skip) 1873s # * @object: A GoodTypes. 1873s # * 1873s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1873s # * 1873s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1873s # * 1873s # * 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(). 1873s # */ 1873s # GVariant * 1873s # good_types_dup_good_property_type (GoodTypes *object) 1873s # { 1873s # GVariant *value; 1873s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1873s # return value; 1873s # } 1873s # 1873s # /** 1873s # * good_types_set_good_property_type: (skip) 1873s # * @object: A GoodTypes. 1873s # * @value: The value to set. 1873s # * 1873s # * Sets the "GoodPropertyType" D-Bus property to @value. 1873s # * 1873s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1873s # */ 1873s # void 1873s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1873s # { 1873s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1873s # } 1873s # 1873s # /* ------------------------------------------------------------------------ */ 1873s # 1873s # /** 1873s # * GoodTypesProxy: 1873s # * 1873s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1873s # */ 1873s # 1873s # /** 1873s # * GoodTypesProxyClass: 1873s # * @parent_class: The parent class. 1873s # * 1873s # * Class structure for GoodTypesProxy. 1873s # */ 1873s # 1873s # struct _GoodTypesProxyPrivate 1873s # { 1873s # GData *qdata; 1873s # }; 1873s # 1873s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1873s # 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1873s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1873s # G_ADD_PRIVATE (GoodTypesProxy) 1873s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1873s # 1873s # #else 1873s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1873s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1873s # 1873s # #endif 1873s # static void 1873s # good_types_proxy_finalize (GObject *object) 1873s # { 1873s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1873s # g_datalist_clear (&proxy->priv->qdata); 1873s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_get_property (GObject *object, 1873s # guint prop_id, 1873s # GValue *value, 1873s # GParamSpec *pspec G_GNUC_UNUSED) 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info; 1873s # GVariant *variant; 1873s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1873s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1873s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1873s # if (info->use_gvariant) 1873s # { 1873s # g_value_set_variant (value, variant); 1873s # } 1873s # else 1873s # { 1873s # if (variant != NULL) 1873s # g_dbus_gvariant_to_gvalue (variant, value); 1873s # } 1873s # if (variant != NULL) 1873s # g_variant_unref (variant); 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1873s # GAsyncResult *res, 1873s # gpointer user_data) 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info = user_data; 1873s # GError *error; 1873s # GVariant *_ret; 1873s # error = NULL; 1873s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1873s # if (!_ret) 1873s # { 1873s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1873s # info->parent_struct.name, 1873s # error->message, g_quark_to_string (error->domain), error->code); 1873s # g_error_free (error); 1873s # } 1873s # else 1873s # { 1873s # g_variant_unref (_ret); 1873s # } 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_set_property (GObject *object, 1873s # guint prop_id, 1873s # const GValue *value, 1873s # GParamSpec *pspec G_GNUC_UNUSED) 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info; 1873s # GVariant *variant; 1873s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1873s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1873s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1873s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1873s # "org.freedesktop.DBus.Properties.Set", 1873s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1873s # G_DBUS_CALL_FLAGS_NONE, 1873s # -1, 1873s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1873s # g_variant_unref (variant); 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_g_signal (GDBusProxy *proxy, 1873s # const gchar *sender_name G_GNUC_UNUSED, 1873s # const gchar *signal_name, 1873s # GVariant *parameters) 1873s # { 1873s # _ExtendedGDBusSignalInfo *info; 1873s # GVariantIter iter; 1873s # GVariant *child; 1873s # GValue *paramv; 1873s # gsize num_params; 1873s # gsize n; 1873s # guint signal_id; 1873s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1873s # if (info == NULL) 1873s # return; 1873s # num_params = g_variant_n_children (parameters); 1873s # paramv = g_new0 (GValue, num_params + 1); 1873s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1873s # g_value_set_object (¶mv[0], proxy); 1873s # g_variant_iter_init (&iter, parameters); 1873s # n = 1; 1873s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1873s # { 1873s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1873s # if (arg_info->use_gvariant) 1873s # { 1873s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1873s # g_value_set_variant (¶mv[n], child); 1873s # n++; 1873s # } 1873s # else 1873s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1873s # g_variant_unref (child); 1873s # } 1873s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1873s # g_signal_emitv (paramv, signal_id, 0, NULL); 1873s # for (n = 0; n < num_params + 1; n++) 1873s # g_value_unset (¶mv[n]); 1873s # g_free (paramv); 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1873s # GVariant *changed_properties, 1873s # const gchar *const *invalidated_properties) 1873s # { 1873s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1873s # guint n; 1873s # const gchar *key; 1873s # GVariantIter *iter; 1873s # _ExtendedGDBusPropertyInfo *info; 1873s # g_variant_get (changed_properties, "a{sv}", &iter); 1873s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1873s # { 1873s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1873s # g_datalist_remove_data (&proxy->priv->qdata, key); 1873s # if (info != NULL) 1873s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1873s # } 1873s # g_variant_iter_free (iter); 1873s # for (n = 0; invalidated_properties[n] != NULL; n++) 1873s # { 1873s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1873s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1873s # if (info != NULL) 1873s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1873s # } 1873s # } 1873s # 1873s # static GVariant * 1873s # good_types_proxy_get_good_property_type (GoodTypes *object) 1873s # { 1873s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1873s # GVariant *variant; 1873s # GVariant *value = NULL; 1873s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1873s # value = variant; 1873s # if (variant != NULL) 1873s # g_variant_unref (variant); 1873s # return value; 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_init (GoodTypesProxy *proxy) 1873s # { 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1873s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1873s # #else 1873s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1873s # #endif 1873s # 1873s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1873s # { 1873s # GObjectClass *gobject_class; 1873s # GDBusProxyClass *proxy_class; 1873s # 1873s # gobject_class = G_OBJECT_CLASS (klass); 1873s # gobject_class->finalize = good_types_proxy_finalize; 1873s # gobject_class->get_property = good_types_proxy_get_property; 1873s # gobject_class->set_property = good_types_proxy_set_property; 1873s # 1873s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1873s # proxy_class->g_signal = good_types_proxy_g_signal; 1873s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1873s # 1873s # good_types_override_properties (gobject_class, 1); 1873s # 1873s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1873s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1873s # #endif 1873s # } 1873s # 1873s # static void 1873s # good_types_proxy_iface_init (GoodTypesIface *iface) 1873s # { 1873s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1873s # } 1873s # 1873s # /** 1873s # * good_types_proxy_new: 1873s # * @connection: A #GDBusConnection. 1873s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1873s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1873s # * @object_path: An object path. 1873s # * @cancellable: (nullable): A #GCancellable or %NULL. 1873s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1873s # * @user_data: User data to pass to @callback. 1873s # * 1873s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1873s # * 1873s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1873s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1873s # * 1873s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1873s # */ 1873s # void 1873s # good_types_proxy_new ( 1873s # GDBusConnection *connection, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GAsyncReadyCallback callback, 1873s # gpointer user_data) 1873s # { 1873s # 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); 1873s # } 1873s # 1873s # /** 1873s # * good_types_proxy_new_finish: 1873s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1873s # * @error: Return location for error or %NULL 1873s # * 1873s # * Finishes an operation started with good_types_proxy_new(). 1873s # * 1873s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1873s # */ 1873s # GoodTypes * 1873s # good_types_proxy_new_finish ( 1873s # GAsyncResult *res, 1873s # GError **error) 1873s # { 1873s # GObject *ret; 1873s # GObject *source_object; 1873s # source_object = g_async_result_get_source_object (res); 1873s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1873s # g_object_unref (source_object); 1873s # if (ret != NULL) 1873s # return GOOD_TYPES (ret); 1873s # else 1873s # return NULL; 1873s # } 1873s # 1873s # /** 1873s # * good_types_proxy_new_sync: 1873s # * @connection: A #GDBusConnection. 1873s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1873s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1873s # * @object_path: An object path. 1873s # * @cancellable: (nullable): A #GCancellable or %NULL. 1873s # * @error: Return location for error or %NULL 1873s # * 1873s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1873s # * 1873s # * The calling thread is blocked until a reply is received. 1873s # * 1873s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1873s # * 1873s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1873s # */ 1873s # GoodTypes * 1873s # good_types_proxy_new_sync ( 1873s # GDBusConnection *connection, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GError **error) 1873s # { 1873s # GInitable *ret; 1873s # 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); 1873s # if (ret != NULL) 1873s # return GOOD_TYPES (ret); 1873s # else 1873s # return NULL; 1873s # } 1873s # 1873s # 1873s # /** 1873s # * good_types_proxy_new_for_bus: 1873s # * @bus_type: A #GBusType. 1873s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1873s # * @name: A bus name (well-known or unique). 1873s # * @object_path: An object path. 1873s # * @cancellable: (nullable): A #GCancellable or %NULL. 1873s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1873s # * @user_data: User data to pass to @callback. 1873s # * 1873s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1873s # * 1873s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1873s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1873s # * 1873s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1873s # */ 1873s # void 1873s # good_types_proxy_new_for_bus ( 1873s # GBusType bus_type, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GAsyncReadyCallback callback, 1873s # gpointer user_data) 1873s # { 1873s # 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); 1873s # } 1873s # 1873s # /** 1873s # * good_types_proxy_new_for_bus_finish: 1873s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1873s # * @error: Return location for error or %NULL 1873s # * 1873s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1873s # * 1873s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1873s # */ 1873s # GoodTypes * 1873s # good_types_proxy_new_for_bus_finish ( 1873s # GAsyncResult *res, 1873s # GError **error) 1873s # { 1873s # GObject *ret; 1873s # GObject *source_object; 1873s # source_object = g_async_result_get_source_object (res); 1873s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1873s # g_object_unref (source_object); 1873s # if (ret != NULL) 1873s # return GOOD_TYPES (ret); 1873s # else 1873s # return NULL; 1873s # } 1873s # 1873s # /** 1873s # * good_types_proxy_new_for_bus_sync: 1873s # * @bus_type: A #GBusType. 1873s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1873s # * @name: A bus name (well-known or unique). 1873s # * @object_path: An object path. 1873s # * @cancellable: (nullable): A #GCancellable or %NULL. 1873s # * @error: Return location for error or %NULL 1873s # * 1873s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1873s # * 1873s # * The calling thread is blocked until a reply is received. 1873s # * 1873s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1873s # * 1873s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1873s # */ 1873s # GoodTypes * 1873s # good_types_proxy_new_for_bus_sync ( 1873s # GBusType bus_type, 1873s # GDBusProxyFlags flags, 1873s # const gchar *name, 1873s # const gchar *object_path, 1873s # GCancellable *cancellable, 1873s # GError **error) 1873s # { 1873s # GInitable *ret; 1873s # 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); 1873s # if (ret != NULL) 1873s # return GOOD_TYPES (ret); 1873s # else 1873s # return NULL; 1873s # } 1873s # 1873s # 1873s # /* ------------------------------------------------------------------------ */ 1873s # 1873s # /** 1873s # * GoodTypesSkeleton: 1873s # * 1873s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1873s # */ 1873s # 1873s # /** 1873s # * GoodTypesSkeletonClass: 1873s # * @parent_class: The parent class. 1873s # * 1873s # * Class structure for GoodTypesSkeleton. 1873s # */ 1873s # 1873s # struct _GoodTypesSkeletonPrivate 1873s # { 1873s # GValue *properties; 1873s # GList *changed_properties; 1873s # GSource *changed_properties_idle_source; 1873s # GMainContext *context; 1873s # GMutex lock; 1873s # }; 1873s # 1873s # static void 1873s # _good_types_skeleton_handle_method_call ( 1873s # GDBusConnection *connection G_GNUC_UNUSED, 1873s # const gchar *sender G_GNUC_UNUSED, 1873s # const gchar *object_path G_GNUC_UNUSED, 1873s # const gchar *interface_name, 1873s # const gchar *method_name, 1873s # GVariant *parameters, 1873s # GDBusMethodInvocation *invocation, 1873s # gpointer user_data) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1873s # _ExtendedGDBusMethodInfo *info; 1873s # GVariantIter iter; 1873s # GVariant *child; 1873s # GValue *paramv; 1873s # gsize num_params; 1873s # guint num_extra; 1873s # gsize n; 1873s # guint signal_id; 1873s # GValue return_value = G_VALUE_INIT; 1873s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1873s # g_assert (info != NULL); 1873s # num_params = g_variant_n_children (parameters); 1873s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1873s # n = 0; 1873s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1873s # g_value_set_object (¶mv[n++], skeleton); 1873s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1873s # g_value_set_object (¶mv[n++], invocation); 1873s # if (info->pass_fdlist) 1873s # { 1873s # #ifdef G_OS_UNIX 1873s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1873s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1873s # #else 1873s # g_assert_not_reached (); 1873s # #endif 1873s # } 1873s # g_variant_iter_init (&iter, parameters); 1873s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1873s # { 1873s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1873s # if (arg_info->use_gvariant) 1873s # { 1873s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1873s # g_value_set_variant (¶mv[n], child); 1873s # n++; 1873s # } 1873s # else 1873s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1873s # g_variant_unref (child); 1873s # } 1873s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1873s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1873s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1873s # if (!g_value_get_boolean (&return_value)) 1873s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1873s # g_value_unset (&return_value); 1873s # for (n = 0; n < num_params + num_extra; n++) 1873s # g_value_unset (¶mv[n]); 1873s # g_free (paramv); 1873s # } 1873s # 1873s # static GVariant * 1873s # _good_types_skeleton_handle_get_property ( 1873s # GDBusConnection *connection G_GNUC_UNUSED, 1873s # const gchar *sender G_GNUC_UNUSED, 1873s # const gchar *object_path G_GNUC_UNUSED, 1873s # const gchar *interface_name G_GNUC_UNUSED, 1873s # const gchar *property_name, 1873s # GError **error, 1873s # gpointer user_data) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1873s # GValue value = G_VALUE_INIT; 1873s # GParamSpec *pspec; 1873s # _ExtendedGDBusPropertyInfo *info; 1873s # GVariant *ret; 1873s # ret = NULL; 1873s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1873s # g_assert (info != NULL); 1873s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1873s # if (pspec == NULL) 1873s # { 1873s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1873s # } 1873s # else 1873s # { 1873s # g_value_init (&value, pspec->value_type); 1873s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1873s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1873s # g_value_unset (&value); 1873s # } 1873s # return ret; 1873s # } 1873s # 1873s # static gboolean 1873s # _good_types_skeleton_handle_set_property ( 1873s # GDBusConnection *connection G_GNUC_UNUSED, 1873s # const gchar *sender G_GNUC_UNUSED, 1873s # const gchar *object_path G_GNUC_UNUSED, 1873s # const gchar *interface_name G_GNUC_UNUSED, 1873s # const gchar *property_name, 1873s # GVariant *variant, 1873s # GError **error, 1873s # gpointer user_data) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1873s # GValue value = G_VALUE_INIT; 1873s # GParamSpec *pspec; 1873s # _ExtendedGDBusPropertyInfo *info; 1873s # gboolean ret; 1873s # ret = FALSE; 1873s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1873s # g_assert (info != NULL); 1873s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1873s # if (pspec == NULL) 1873s # { 1873s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1873s # } 1873s # else 1873s # { 1873s # if (info->use_gvariant) 1873s # g_value_set_variant (&value, variant); 1873s # else 1873s # g_dbus_gvariant_to_gvalue (variant, &value); 1873s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1873s # g_value_unset (&value); 1873s # ret = TRUE; 1873s # } 1873s # return ret; 1873s # } 1873s # 1873s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1873s # { 1873s # _good_types_skeleton_handle_method_call, 1873s # _good_types_skeleton_handle_get_property, 1873s # _good_types_skeleton_handle_set_property, 1873s # {NULL} 1873s # }; 1873s # 1873s # static GDBusInterfaceInfo * 1873s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1873s # { 1873s # return good_types_interface_info (); 1873s # } 1873s # 1873s # static GDBusInterfaceVTable * 1873s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1873s # { 1873s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1873s # } 1873s # 1873s # static GVariant * 1873s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1873s # 1873s # GVariantBuilder builder; 1873s # guint n; 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1873s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1873s # #else 1873s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1873s # #endif 1873s # if (_good_types_interface_info.parent_struct.properties == NULL) 1873s # goto out; 1873s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1873s # { 1873s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1873s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1873s # { 1873s # GVariant *value; 1873s # 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); 1873s # if (value != NULL) 1873s # { 1873s # g_variant_take_ref (value); 1873s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1873s # g_variant_unref (value); 1873s # } 1873s # } 1873s # } 1873s # out: 1873s # return g_variant_builder_end (&builder); 1873s # } 1873s # 1873s # static gboolean _good_types_emit_changed (gpointer user_data); 1873s # 1873s # static void 1873s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1873s # gboolean emit_changed = FALSE; 1873s # 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # if (skeleton->priv->changed_properties_idle_source != NULL) 1873s # { 1873s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1873s # skeleton->priv->changed_properties_idle_source = NULL; 1873s # emit_changed = TRUE; 1873s # } 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # 1873s # if (emit_changed) 1873s # _good_types_emit_changed (skeleton); 1873s # } 1873s # 1873s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1873s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1873s # G_ADD_PRIVATE (GoodTypesSkeleton) 1873s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1873s # 1873s # #else 1873s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1873s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1873s # 1873s # #endif 1873s # static void 1873s # good_types_skeleton_finalize (GObject *object) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1873s # guint n; 1873s # for (n = 0; n < 1; n++) 1873s # g_value_unset (&skeleton->priv->properties[n]); 1873s # g_free (skeleton->priv->properties); 1873s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1873s # /* coverity[missing_lock : SUPPRESS] */ 1873s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1873s # #else 1873s # if (skeleton->priv->changed_properties_idle_source != NULL) 1873s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1873s # skeleton->priv->changed_properties_idle_source = NULL; 1873s # #endif 1873s # g_main_context_unref (skeleton->priv->context); 1873s # g_mutex_clear (&skeleton->priv->lock); 1873s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_get_property (GObject *object, 1873s # guint prop_id, 1873s # GValue *value, 1873s # GParamSpec *pspec G_GNUC_UNUSED) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1873s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # } 1873s # 1873s # static gboolean 1873s # _good_types_emit_changed (gpointer user_data) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1873s # GList *l; 1873s # GVariantBuilder builder; 1873s # GVariantBuilder invalidated_builder; 1873s # guint num_changes; 1873s # 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1873s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1873s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1873s # #else 1873s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1873s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1873s # #endif 1873s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1873s # { 1873s # ChangedProperty *cp = l->data; 1873s # GVariant *variant; 1873s # const GValue *cur_value; 1873s # 1873s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1873s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1873s # { 1873s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1873s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1873s # g_variant_unref (variant); 1873s # num_changes++; 1873s # } 1873s # } 1873s # if (num_changes > 0) 1873s # { 1873s # GList *connections, *ll; 1873s # GVariant *signal_variant; 1873s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1873s # &builder, &invalidated_builder)); 1873s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1873s # for (ll = connections; ll != NULL; ll = ll->next) 1873s # { 1873s # GDBusConnection *connection = ll->data; 1873s # 1873s # g_dbus_connection_emit_signal (connection, 1873s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1873s # "org.freedesktop.DBus.Properties", 1873s # "PropertiesChanged", 1873s # signal_variant, 1873s # NULL); 1873s # } 1873s # g_variant_unref (signal_variant); 1873s # g_list_free_full (connections, g_object_unref); 1873s # } 1873s # else 1873s # { 1873s # g_variant_builder_clear (&builder); 1873s # g_variant_builder_clear (&invalidated_builder); 1873s # } 1873s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1873s # skeleton->priv->changed_properties = NULL; 1873s # skeleton->priv->changed_properties_idle_source = NULL; 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # return FALSE; 1873s # } 1873s # 1873s # static void 1873s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1873s # { 1873s # ChangedProperty *cp; 1873s # GList *l; 1873s # cp = NULL; 1873s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1873s # { 1873s # ChangedProperty *i_cp = l->data; 1873s # if (i_cp->info == info) 1873s # { 1873s # cp = i_cp; 1873s # break; 1873s # } 1873s # } 1873s # if (cp == NULL) 1873s # { 1873s # cp = g_new0 (ChangedProperty, 1); 1873s # cp->prop_id = prop_id; 1873s # cp->info = info; 1873s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1873s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1873s # g_value_copy (orig_value, &cp->orig_value); 1873s # } 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_notify (GObject *object, 1873s # GParamSpec *pspec G_GNUC_UNUSED) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # if (skeleton->priv->changed_properties != NULL && 1873s # skeleton->priv->changed_properties_idle_source == NULL) 1873s # { 1873s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1873s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1873s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1873s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1873s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1873s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1873s # } 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_set_property (GObject *object, 1873s # guint prop_id, 1873s # const GValue *value, 1873s # GParamSpec *pspec) 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info; 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1873s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1873s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # g_object_freeze_notify (object); 1873s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1873s # { 1873s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1873s # info->emits_changed_signal) 1873s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1873s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1873s # g_object_notify_by_pspec (object, pspec); 1873s # } 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # g_object_thaw_notify (object); 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1873s # { 1873s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1873s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1873s # #else 1873s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1873s # #endif 1873s # 1873s # g_mutex_init (&skeleton->priv->lock); 1873s # skeleton->priv->context = g_main_context_ref_thread_default (); 1873s # skeleton->priv->properties = g_new0 (GValue, 1); 1873s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1873s # } 1873s # 1873s # static GVariant * 1873s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1873s # { 1873s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1873s # GVariant *value; 1873s # g_mutex_lock (&skeleton->priv->lock); 1873s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1873s # g_mutex_unlock (&skeleton->priv->lock); 1873s # return value; 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1873s # { 1873s # GObjectClass *gobject_class; 1873s # GDBusInterfaceSkeletonClass *skeleton_class; 1873s # 1873s # gobject_class = G_OBJECT_CLASS (klass); 1873s # gobject_class->finalize = good_types_skeleton_finalize; 1873s # gobject_class->get_property = good_types_skeleton_get_property; 1873s # gobject_class->set_property = good_types_skeleton_set_property; 1873s # gobject_class->notify = good_types_skeleton_notify; 1873s # 1873s # 1873s # good_types_override_properties (gobject_class, 1); 1873s # 1873s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1873s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1873s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1873s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1873s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1873s # 1873s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1873s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1873s # #endif 1873s # } 1873s # 1873s # static void 1873s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1873s # { 1873s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1873s # } 1873s # 1873s # /** 1873s # * good_types_skeleton_new: 1873s # * 1873s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1873s # * 1873s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1873s # */ 1873s # GoodTypes * 1873s # good_types_skeleton_new (void) 1873s # { 1873s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1873s # } 1873s # Error: 1873s ok 3 __main__.TestCodegen.test_empty_interface_body 1873s # gdbus-codegen: /usr/bin/gdbus-codegen 1873s # tmpdir: /tmp/tmpesy7dtn1 1873s # /tmp/tmpesy7dtn1/tmprfvy985m.xml: 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpesy7dtn1/tmprfvy985m.xml', '--output', '-', '--body'] 1873s # Return code: 0 1873s # Output: 1873s # /* 1873s # * This file is generated by gdbus-codegen, do not modify it. 1873s # * 1873s # * The license of this code is the same as for the D-Bus interface description 1873s # * it was derived from. Note that it links to GLib, so must comply with the 1873s # * LGPL linking clauses. 1873s # */ 1873s # 1873s # #ifdef HAVE_CONFIG_H 1873s # # include "config.h" 1873s # #endif 1873s # 1873s # #include 1873s # #ifdef G_OS_UNIX 1873s # # include 1873s # #endif 1873s # 1873s # #ifdef G_ENABLE_DEBUG 1873s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1873s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1873s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1873s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1873s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1873s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1873s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1873s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1873s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1873s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1873s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1873s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1873s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1873s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1873s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1873s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1873s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1873s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1873s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1873s # #else /* !G_ENABLE_DEBUG */ 1873s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1873s # * Do not access GValues directly in your code. Instead, use the 1873s # * g_value_get_*() functions 1873s # */ 1873s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1873s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1873s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1873s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1873s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1873s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1873s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1873s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1873s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1873s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1873s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1873s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1873s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1873s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1873s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1873s # #endif /* !G_ENABLE_DEBUG */ 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusArgInfo parent_struct; 1873s # gboolean use_gvariant; 1873s # } _ExtendedGDBusArgInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusMethodInfo parent_struct; 1873s # const gchar *signal_name; 1873s # gboolean pass_fdlist; 1873s # } _ExtendedGDBusMethodInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusSignalInfo parent_struct; 1873s # const gchar *signal_name; 1873s # } _ExtendedGDBusSignalInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusPropertyInfo parent_struct; 1873s # const gchar *hyphen_name; 1873s # guint use_gvariant : 1; 1873s # guint emits_changed_signal : 1; 1873s # } _ExtendedGDBusPropertyInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # GDBusInterfaceInfo parent_struct; 1873s # const gchar *hyphen_name; 1873s # } _ExtendedGDBusInterfaceInfo; 1873s # 1873s # typedef struct 1873s # { 1873s # const _ExtendedGDBusPropertyInfo *info; 1873s # guint prop_id; 1873s # GValue orig_value; /* the value before the change */ 1873s # } ChangedProperty; 1873s # 1873s # static void 1873s # _changed_property_free (ChangedProperty *data) 1873s # { 1873s # g_value_unset (&data->orig_value); 1873s # g_free (data); 1873s # } 1873s # 1873s # static gboolean 1873s # _g_strv_equal0 (gchar **a, gchar **b) 1873s # { 1873s # gboolean ret = FALSE; 1873s # guint n; 1873s # if (a == NULL && b == NULL) 1873s # { 1873s # ret = TRUE; 1873s # goto out; 1873s # } 1873s # if (a == NULL || b == NULL) 1873s # goto out; 1873s # if (g_strv_length (a) != g_strv_length (b)) 1873s # goto out; 1873s # for (n = 0; a[n] != NULL; n++) 1873s # if (g_strcmp0 (a[n], b[n]) != 0) 1873s # goto out; 1873s # ret = TRUE; 1873s # out: 1873s # return ret; 1873s # } 1873s # 1873s # static gboolean 1873s # _g_variant_equal0 (GVariant *a, GVariant *b) 1873s # { 1873s # gboolean ret = FALSE; 1873s # if (a == NULL && b == NULL) 1873s # { 1873s # ret = TRUE; 1873s # goto out; 1873s # } 1873s # if (a == NULL || b == NULL) 1873s # goto out; 1873s # ret = g_variant_equal (a, b); 1873s # out: 1873s # return ret; 1873s # } 1873s # 1873s # G_GNUC_UNUSED static gboolean 1873s # _g_value_equal (const GValue *a, const GValue *b) 1873s # { 1873s # gboolean ret = FALSE; 1873s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1873s # switch (G_VALUE_TYPE (a)) 1873s # { 1873s # case G_TYPE_BOOLEAN: 1873s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1873s # break; 1873s # case G_TYPE_UCHAR: 1873s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1873s # break; 1873s # case G_TYPE_INT: 1873s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1873s # break; 1873s # case G_TYPE_UINT: 1873s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1873s # break; 1873s # case G_TYPE_INT64: 1873s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1873s # break; 1873s # case G_TYPE_UINT64: 1873s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1873s # break; 1873s # case G_TYPE_DOUBLE: 1873s # { 1873s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1873s # gdouble da = g_value_get_double (a); 1873s # gdouble db = g_value_get_double (b); 1873s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1873s # } 1873s # break; 1873s # case G_TYPE_STRING: 1873s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1873s # break; 1873s # case G_TYPE_VARIANT: 1873s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1873s # break; 1873s # default: 1873s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1873s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1873s # else 1873s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1873s # break; 1873s # } 1873s # return ret; 1873s # } 1873s # Error: 1873s ok 4 __main__.TestCodegen.test_empty_interface_header 1873s # gdbus-codegen: /usr/bin/gdbus-codegen 1873s # tmpdir: /tmp/tmpjg1tgj05 1873s # /tmp/tmpjg1tgj05/tmpbz34nvs3.xml: 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjg1tgj05/tmpbz34nvs3.xml', '--output', '-', '--header'] 1873s # Return code: 0 1873s # Output: 1873s # /* 1873s # * This file is generated by gdbus-codegen, do not modify it. 1873s # * 1873s # * The license of this code is the same as for the D-Bus interface description 1873s # * it was derived from. Note that it links to GLib, so must comply with the 1873s # * LGPL linking clauses. 1873s # */ 1873s # 1873s # #ifndef __STDOUT__ 1873s # #define __STDOUT__ 1873s # 1873s # #include 1873s # 1873s # G_BEGIN_DECLS 1873s # 1873s # 1873s # G_END_DECLS 1873s # 1873s # #endif /* __STDOUT__ */ 1873s # Error: 1873s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1873s # gdbus-codegen: /usr/bin/gdbus-codegen 1873s # tmpdir: /tmp/tmpet55tica 1873s # /tmp/tmpet55tica/tmp1rz6iesr.xml: 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpet55tica/tmp1rz6iesr.xml', '--output', '-', '--interface-info-body'] 1873s # Return code: 0 1873s # Output: 1873s # /* 1873s # * This file is generated by gdbus-codegen, do not modify it. 1873s # * 1873s # * The license of this code is the same as for the D-Bus interface description 1873s # * it was derived from. Note that it links to GLib, so must comply with the 1873s # * LGPL linking clauses. 1873s # */ 1873s # 1873s # #ifdef HAVE_CONFIG_H 1873s # # include "config.h" 1873s # #endif 1873s # 1873s # #include 1873s # Error: 1873s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1873s # gdbus-codegen: /usr/bin/gdbus-codegen 1873s # tmpdir: /tmp/tmp52jqhk30 1873s # /tmp/tmp52jqhk30/tmptn3iou8f.xml: 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp52jqhk30/tmptn3iou8f.xml', '--output', '-', '--interface-info-header'] 1873s # Return code: 0 1873s # Output: 1873s # /* 1873s # * This file is generated by gdbus-codegen, do not modify it. 1873s # * 1873s # * The license of this code is the same as for the D-Bus interface description 1873s # * it was derived from. Note that it links to GLib, so must comply with the 1873s # * LGPL linking clauses. 1873s # */ 1873s # 1873s # #ifndef __STDOUT__ 1873s # #define __STDOUT__ 1873s # 1873s # #include 1873s # 1873s # G_BEGIN_DECLS 1873s # 1873s # 1873s # G_END_DECLS 1873s # 1873s # #endif /* __STDOUT__ */ 1873s # Error: 1873s ok 7 __main__.TestCodegen.test_extension_bad_file 1873s # gdbus-codegen: /usr/bin/gdbus-codegen 1873s # tmpdir: /tmp/tmp5hiw_2_c 1873s # /tmp/tmp5hiw_2_c/tmpyivjk0ed.xml: 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5hiw_2_c/tmpyivjk0ed.xml', '--output', '-', '--header', '--extension-path', '/path/that/does/not/exist'] 1873s # Return code: 1 1873s # Output: 1873s # 1873s # Error: 1873s # WARNING: Traceback (most recent call last): 1873s # File "/usr/share/glib-2.0/codegen/codegen_main.py", line 329, in codegen_main 1873s # codegen_ext = import_from_path("GDBusCodegenExt", args.extension_path) 1873s # File "/usr/share/glib-2.0/codegen/codegen_main.py", line 46, in import_from_path 1873s # raise Exception("Not a Python file") 1873s # Exception: Not a Python file 1873s # 1873s # ERROR: Loading extension ‘/path/that/does/not/exist’ failed 1873s ok 8 __main__.TestCodegen.test_extension_code_generate 1873s # gdbus-codegen: /usr/bin/gdbus-codegen 1873s # tmpdir: /tmp/tmphy5v6ze1 1873s # /tmp/tmphy5v6ze1/tmp0uve0t1l.xml: 1873s # 1873s # 1873s # 1873s # 1873s # 1873s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphy5v6ze1/tmp0uve0t1l.xml', '--output', '-', '--body', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 1873s # Return code: 0 1873s # Output: 1873s # /* 1873s # * This file is generated by gdbus-codegen, do not modify it. 1873s # * 1873s # * The license of this code is the same as for the D-Bus interface description 1873s # * it was derived from. Note that it links to GLib, so must comply with the 1873s # * LGPL linking clauses. 1873s # */ 1873s # 1873s # #ifdef HAVE_CONFIG_H 1873s # # include "config.h" 1873s # #endif 1873s # 1873s # #include 1873s # #ifdef G_OS_UNIX 1873s # # include 1873s # #endif 1873s # 1873s # #ifdef G_ENABLE_DEBUG 1873s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1873s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1873s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1873s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1873s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1873s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1873s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1873s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1873s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1873s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1873s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1873s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1873s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1873s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1873s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1873s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1873s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1873s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # /* codegen-test-extension body preamble */ 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 2); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_useful_method = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "UsefulMethod", 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-useful-method", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_useful_method.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_useful_method ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_useful_method: Handler for the #OrgProjectUsefulInterface::handle-useful-method signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-useful-method: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the UsefulMethod() D-Bus method. 1874s # * 1874s # * 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_useful_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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-useful-method", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_useful_method), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_useful_method, 1874s # G_TYPE_BOOLEAN, 1874s # 1, 1874s # G_TYPE_DBUS_METHOD_INVOCATION); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_useful_method: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the UsefulMethod() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_useful_method_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_useful_method_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_useful_method ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "UsefulMethod", 1874s # g_variant_new ("()"), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_useful_method_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_useful_method(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_useful_method(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_useful_method_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_useful_method_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the UsefulMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_useful_method() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_useful_method_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "UsefulMethod", 1874s # g_variant_new ("()"), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_useful_method: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * Helper function used in service implementations to finish handling invocations of the UsefulMethod() 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_useful_method ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, NEW_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, NEW_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # 1874s # /* codegen-test-extension generate for iface org.project.UsefulInterface */ 1874s # Error: 1874s # 1874s # /tmp/tmphy5v6ze1/tmpkwbd8p93.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphy5v6ze1/tmpkwbd8p93.xml', '--output', '-', '--header', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifndef __STDOUT__ 1874s # #define __STDOUT__ 1874s # 1874s # #include 1874s # /* codegen-test-extension include */ 1874s # 1874s # G_BEGIN_DECLS 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # /* Declarations for org.project.UsefulInterface */ 1874s # 1874s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1874s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1874s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1874s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1874s # 1874s # struct _OrgProjectUsefulInterface; 1874s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1874s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1874s # 1874s # struct _OrgProjectUsefulInterfaceIface 1874s # { 1874s # GTypeInterface parent_iface; 1874s # 1874s # gboolean (*handle_useful_method) ( 1874s # OrgProjectUsefulInterface *object, 1874s # GDBusMethodInvocation *invocation); 1874s # 1874s # }; 1874s # 1874s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1874s # 1874s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1874s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1874s # 1874s # 1874s # /* D-Bus method call completion functions: */ 1874s # void org_project_useful_interface_complete_useful_method ( 1874s # OrgProjectUsefulInterface *object, 1874s # GDBusMethodInvocation *invocation); 1874s # 1874s # 1874s # 1874s # /* D-Bus method calls: */ 1874s # void org_project_useful_interface_call_useful_method ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data); 1874s # 1874s # gboolean org_project_useful_interface_call_useful_method_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error); 1874s # 1874s # gboolean org_project_useful_interface_call_useful_method_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GCancellable *cancellable, 1874s # GError **error); 1874s # 1874s # 1874s # 1874s # /* ---- */ 1874s # 1874s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1874s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1874s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1874s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1874s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1874s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1874s # 1874s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1874s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1874s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxy 1874s # { 1874s # /*< private >*/ 1874s # GDBusProxy parent_instance; 1874s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1874s # }; 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyClass 1874s # { 1874s # GDBusProxyClass parent_class; 1874s # }; 1874s # 1874s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1874s # 1874s # #if GLIB_CHECK_VERSION(2, 44, 0) 1874s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1874s # #endif 1874s # 1874s # void org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data); 1874s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error); 1874s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error); 1874s # 1874s # void org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data); 1874s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error); 1874s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error); 1874s # 1874s # 1874s # /* ---- */ 1874s # 1874s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1874s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1874s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1874s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1874s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1874s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1874s # 1874s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1874s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1874s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeleton 1874s # { 1874s # /*< private >*/ 1874s # NewDBusInterfaceSkeleton parent_instance; 1874s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1874s # }; 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonClass 1874s # { 1874s # NewDBusInterfaceSkeletonClass parent_class; 1874s # }; 1874s # 1874s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1874s # 1874s # #if GLIB_CHECK_VERSION(2, 44, 0) 1874s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1874s # #endif 1874s # 1874s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1874s # 1874s # /* codegen-test-extension declare type for iface org.project.UsefulInterface */ 1874s # 1874s # G_END_DECLS 1874s # 1874s # #endif /* __STDOUT__ */ 1874s # Error: 1874s ok 9 __main__.TestCodegen.test_extension_empty_interface_body 1874s # gdbus-codegen: /usr/bin/gdbus-codegen 1874s # tmpdir: /tmp/tmpprvsjum6 1874s # /tmp/tmpprvsjum6/tmpan5kd35g.xml: 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprvsjum6/tmpan5kd35g.xml', '--output', '-', '--body', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # /* codegen-test-extension body preamble */ 1874s # Error: 1874s ok 10 __main__.TestCodegen.test_extension_empty_interface_header 1874s # gdbus-codegen: /usr/bin/gdbus-codegen 1874s # tmpdir: /tmp/tmpugdzunsa 1874s # /tmp/tmpugdzunsa/tmp7fmgtb_j.xml: 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpugdzunsa/tmp7fmgtb_j.xml', '--output', '-', '--header', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifndef __STDOUT__ 1874s # #define __STDOUT__ 1874s # 1874s # #include 1874s # /* codegen-test-extension include */ 1874s # 1874s # G_BEGIN_DECLS 1874s # 1874s # 1874s # G_END_DECLS 1874s # 1874s # #endif /* __STDOUT__ */ 1874s # Error: 1874s ok 11 __main__.TestCodegen.test_extension_header_declare_types 1874s # gdbus-codegen: /usr/bin/gdbus-codegen 1874s # tmpdir: /tmp/tmp7q6q0xp1 1874s # /tmp/tmp7q6q0xp1/tmpuycfd7rf.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7q6q0xp1/tmpuycfd7rf.xml', '--output', '-', '--header', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifndef __STDOUT__ 1874s # #define __STDOUT__ 1874s # 1874s # #include 1874s # /* codegen-test-extension include */ 1874s # 1874s # G_BEGIN_DECLS 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # /* Declarations for org.project.Foo */ 1874s # 1874s # #define TYPE_ORG_PROJECT_FOO (org_project_foo_get_type ()) 1874s # #define ORG_PROJECT_FOO(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_FOO, OrgProjectFoo)) 1874s # #define IS_ORG_PROJECT_FOO(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_FOO)) 1874s # #define ORG_PROJECT_FOO_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_FOO, OrgProjectFooIface)) 1874s # 1874s # struct _OrgProjectFoo; 1874s # typedef struct _OrgProjectFoo OrgProjectFoo; 1874s # typedef struct _OrgProjectFooIface OrgProjectFooIface; 1874s # 1874s # struct _OrgProjectFooIface 1874s # { 1874s # GTypeInterface parent_iface; 1874s # }; 1874s # 1874s # GType org_project_foo_get_type (void) G_GNUC_CONST; 1874s # 1874s # GDBusInterfaceInfo *org_project_foo_interface_info (void); 1874s # guint org_project_foo_override_properties (GObjectClass *klass, guint property_id_begin); 1874s # 1874s # 1874s # /* ---- */ 1874s # 1874s # #define TYPE_ORG_PROJECT_FOO_PROXY (org_project_foo_proxy_get_type ()) 1874s # #define ORG_PROJECT_FOO_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_FOO_PROXY, OrgProjectFooProxy)) 1874s # #define ORG_PROJECT_FOO_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_FOO_PROXY, OrgProjectFooProxyClass)) 1874s # #define ORG_PROJECT_FOO_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_FOO_PROXY, OrgProjectFooProxyClass)) 1874s # #define IS_ORG_PROJECT_FOO_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_FOO_PROXY)) 1874s # #define IS_ORG_PROJECT_FOO_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_FOO_PROXY)) 1874s # 1874s # typedef struct _OrgProjectFooProxy OrgProjectFooProxy; 1874s # typedef struct _OrgProjectFooProxyClass OrgProjectFooProxyClass; 1874s # typedef struct _OrgProjectFooProxyPrivate OrgProjectFooProxyPrivate; 1874s # 1874s # struct _OrgProjectFooProxy 1874s # { 1874s # /*< private >*/ 1874s # GDBusProxy parent_instance; 1874s # OrgProjectFooProxyPrivate *priv; 1874s # }; 1874s # 1874s # struct _OrgProjectFooProxyClass 1874s # { 1874s # GDBusProxyClass parent_class; 1874s # }; 1874s # 1874s # GType org_project_foo_proxy_get_type (void) G_GNUC_CONST; 1874s # 1874s # #if GLIB_CHECK_VERSION(2, 44, 0) 1874s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectFooProxy, g_object_unref) 1874s # #endif 1874s # 1874s # void org_project_foo_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data); 1874s # OrgProjectFoo *org_project_foo_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error); 1874s # OrgProjectFoo *org_project_foo_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error); 1874s # 1874s # void org_project_foo_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data); 1874s # OrgProjectFoo *org_project_foo_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error); 1874s # OrgProjectFoo *org_project_foo_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error); 1874s # 1874s # 1874s # /* ---- */ 1874s # 1874s # #define TYPE_ORG_PROJECT_FOO_SKELETON (org_project_foo_skeleton_get_type ()) 1874s # #define ORG_PROJECT_FOO_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_FOO_SKELETON, OrgProjectFooSkeleton)) 1874s # #define ORG_PROJECT_FOO_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_FOO_SKELETON, OrgProjectFooSkeletonClass)) 1874s # #define ORG_PROJECT_FOO_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_FOO_SKELETON, OrgProjectFooSkeletonClass)) 1874s # #define IS_ORG_PROJECT_FOO_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_FOO_SKELETON)) 1874s # #define IS_ORG_PROJECT_FOO_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_FOO_SKELETON)) 1874s # 1874s # typedef struct _OrgProjectFooSkeleton OrgProjectFooSkeleton; 1874s # typedef struct _OrgProjectFooSkeletonClass OrgProjectFooSkeletonClass; 1874s # typedef struct _OrgProjectFooSkeletonPrivate OrgProjectFooSkeletonPrivate; 1874s # 1874s # struct _OrgProjectFooSkeleton 1874s # { 1874s # /*< private >*/ 1874s # NewDBusInterfaceSkeleton parent_instance; 1874s # OrgProjectFooSkeletonPrivate *priv; 1874s # }; 1874s # 1874s # struct _OrgProjectFooSkeletonClass 1874s # { 1874s # NewDBusInterfaceSkeletonClass parent_class; 1874s # }; 1874s # 1874s # GType org_project_foo_skeleton_get_type (void) G_GNUC_CONST; 1874s # 1874s # #if GLIB_CHECK_VERSION(2, 44, 0) 1874s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectFooSkeleton, g_object_unref) 1874s # #endif 1874s # 1874s # OrgProjectFoo *org_project_foo_skeleton_new (void); 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # /* Declarations for org.project.Bar */ 1874s # 1874s # #define TYPE_ORG_PROJECT_BAR (org_project_bar_get_type ()) 1874s # #define ORG_PROJECT_BAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR, OrgProjectBar)) 1874s # #define IS_ORG_PROJECT_BAR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR)) 1874s # #define ORG_PROJECT_BAR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR, OrgProjectBarIface)) 1874s # 1874s # struct _OrgProjectBar; 1874s # typedef struct _OrgProjectBar OrgProjectBar; 1874s # typedef struct _OrgProjectBarIface OrgProjectBarIface; 1874s # 1874s # struct _OrgProjectBarIface 1874s # { 1874s # GTypeInterface parent_iface; 1874s # }; 1874s # 1874s # GType org_project_bar_get_type (void) G_GNUC_CONST; 1874s # 1874s # GDBusInterfaceInfo *org_project_bar_interface_info (void); 1874s # guint org_project_bar_override_properties (GObjectClass *klass, guint property_id_begin); 1874s # 1874s # 1874s # /* ---- */ 1874s # 1874s # #define TYPE_ORG_PROJECT_BAR_PROXY (org_project_bar_proxy_get_type ()) 1874s # #define ORG_PROJECT_BAR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_PROXY, OrgProjectBarProxy)) 1874s # #define ORG_PROJECT_BAR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_PROXY, OrgProjectBarProxyClass)) 1874s # #define ORG_PROJECT_BAR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_PROXY, OrgProjectBarProxyClass)) 1874s # #define IS_ORG_PROJECT_BAR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_PROXY)) 1874s # #define IS_ORG_PROJECT_BAR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_PROXY)) 1874s # 1874s # typedef struct _OrgProjectBarProxy OrgProjectBarProxy; 1874s # typedef struct _OrgProjectBarProxyClass OrgProjectBarProxyClass; 1874s # typedef struct _OrgProjectBarProxyPrivate OrgProjectBarProxyPrivate; 1874s # 1874s # struct _OrgProjectBarProxy 1874s # { 1874s # /*< private >*/ 1874s # GDBusProxy parent_instance; 1874s # OrgProjectBarProxyPrivate *priv; 1874s # }; 1874s # 1874s # struct _OrgProjectBarProxyClass 1874s # { 1874s # GDBusProxyClass parent_class; 1874s # }; 1874s # 1874s # GType org_project_bar_proxy_get_type (void) G_GNUC_CONST; 1874s # 1874s # #if GLIB_CHECK_VERSION(2, 44, 0) 1874s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarProxy, g_object_unref) 1874s # #endif 1874s # 1874s # void org_project_bar_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data); 1874s # OrgProjectBar *org_project_bar_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error); 1874s # OrgProjectBar *org_project_bar_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error); 1874s # 1874s # void org_project_bar_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data); 1874s # OrgProjectBar *org_project_bar_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error); 1874s # OrgProjectBar *org_project_bar_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error); 1874s # 1874s # 1874s # /* ---- */ 1874s # 1874s # #define TYPE_ORG_PROJECT_BAR_SKELETON (org_project_bar_skeleton_get_type ()) 1874s # #define ORG_PROJECT_BAR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_SKELETON, OrgProjectBarSkeleton)) 1874s # #define ORG_PROJECT_BAR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_SKELETON, OrgProjectBarSkeletonClass)) 1874s # #define ORG_PROJECT_BAR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_SKELETON, OrgProjectBarSkeletonClass)) 1874s # #define IS_ORG_PROJECT_BAR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_SKELETON)) 1874s # #define IS_ORG_PROJECT_BAR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_SKELETON)) 1874s # 1874s # typedef struct _OrgProjectBarSkeleton OrgProjectBarSkeleton; 1874s # typedef struct _OrgProjectBarSkeletonClass OrgProjectBarSkeletonClass; 1874s # typedef struct _OrgProjectBarSkeletonPrivate OrgProjectBarSkeletonPrivate; 1874s # 1874s # struct _OrgProjectBarSkeleton 1874s # { 1874s # /*< private >*/ 1874s # NewDBusInterfaceSkeleton parent_instance; 1874s # OrgProjectBarSkeletonPrivate *priv; 1874s # }; 1874s # 1874s # struct _OrgProjectBarSkeletonClass 1874s # { 1874s # NewDBusInterfaceSkeletonClass parent_class; 1874s # }; 1874s # 1874s # GType org_project_bar_skeleton_get_type (void) G_GNUC_CONST; 1874s # 1874s # #if GLIB_CHECK_VERSION(2, 44, 0) 1874s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarSkeleton, g_object_unref) 1874s # #endif 1874s # 1874s # OrgProjectBar *org_project_bar_skeleton_new (void); 1874s # 1874s # /* codegen-test-extension declare type for iface org.project.Foo */ 1874s # /* codegen-test-extension declare type for iface org.project.Bar */ 1874s # 1874s # G_END_DECLS 1874s # 1874s # #endif /* __STDOUT__ */ 1874s # Error: 1874s ok 12 __main__.TestCodegen.test_extension_help 1874s # gdbus-codegen: /usr/bin/gdbus-codegen 1874s # tmpdir: /tmp/tmpskjryj3r 1874s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1874s # Return code: 0 1874s # Output: 1874s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1874s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1874s # [--c-generate-autocleanup {none,objects,all}] 1874s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1874s # [--generate-rst OUTFILES] [--pragma-once] 1874s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1874s # [--glib-min-required VERSION] 1874s # [--glib-max-allowed VERSION] 1874s # [--symbol-decorator SYMBOL_DECORATOR] 1874s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1874s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1874s # [--extension-path EXTENSION_PATH] 1874s # [--generate-c-code OUTFILES | --header | --body | 1874s # --interface-info-header | --interface-info-body] 1874s # [--output FILE | --output-directory OUTDIR] 1874s # FILE [FILE ...] 1874s # 1874s # D-Bus code and documentation generator 1874s # 1874s # positional arguments: 1874s # FILE D-Bus introspection XML file 1874s # 1874s # options: 1874s # -h, --help show this help message and exit 1874s # --interface-prefix PREFIX 1874s # String to strip from D-Bus interface names for code 1874s # and docs 1874s # --c-namespace NAMESPACE 1874s # The namespace to use for generated C code 1874s # --c-generate-object-manager 1874s # Generate a GDBusObjectManagerClient subclass when 1874s # generating C code 1874s # --c-generate-autocleanup {none,objects,all} 1874s # Generate autocleanup support 1874s # --generate-docbook OUTFILES 1874s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1874s # --generate-md OUTFILES 1874s # Generate Markdown in OUTFILES-org.Project.IFace.md 1874s # --generate-rst OUTFILES 1874s # Generate reStructuredText in OUTFILES- 1874s # org.Project.IFace.rst 1874s # --pragma-once Use "pragma once" as the inclusion guard 1874s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1874s # Add annotation (may be used several times) 1874s # --glib-min-required VERSION 1874s # Minimum version of GLib to be supported by the 1874s # outputted code (default: 2.30) 1874s # --glib-max-allowed VERSION 1874s # Maximum version of GLib to be used by the outputted 1874s # code (default: current GLib version) 1874s # --symbol-decorator SYMBOL_DECORATOR 1874s # Macro used to decorate a symbol in the outputted 1874s # header, possibly to export symbols 1874s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1874s # Additional header required for decorator specified by 1874s # --symbol-decorator 1874s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1874s # Additional define required for decorator specified by 1874s # --symbol-decorator 1874s # --extension-path EXTENSION_PATH 1874s # Path to a gdbus-codegen Python extension file 1874s # (unstable API) 1874s # --generate-c-code OUTFILES 1874s # Generate C code in OUTFILES.[ch] 1874s # --header Generate C headers 1874s # --body Generate C code 1874s # --interface-info-header 1874s # Generate GDBusInterfaceInfo C header 1874s # --interface-info-body 1874s # Generate GDBusInterfaceInfo C code 1874s # --output FILE Write output into the specified file 1874s # --output-directory OUTDIR 1874s # Location to output generated files 1874s # Error: 1874s ok 13 __main__.TestCodegen.test_generate_docbook 1874s # gdbus-codegen: /usr/bin/gdbus-codegen 1874s # tmpdir: /tmp/tmpg427ahbr 1874s # /tmp/tmpg427ahbr/tmpcgmfllmw.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg427ahbr/tmpcgmfllmw.xml', '--generate-docbook', 'test'] 1874s # Return code: 0 1874s # Output: 1874s # 1874s # Error: 1874s ok 14 __main__.TestCodegen.test_generate_md 1874s # gdbus-codegen: /usr/bin/gdbus-codegen 1874s # tmpdir: /tmp/tmpef_bk1fo 1874s # /tmp/tmpef_bk1fo/tmpbopa5f58.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpef_bk1fo/tmpbopa5f58.xml', '--generate-md', 'test'] 1874s # Return code: 0 1874s # Output: 1874s # 1874s # Error: 1874s ok 15 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1874s # gdbus-codegen: /usr/bin/gdbus-codegen 1874s # tmpdir: /tmp/tmpm_sueu57 1874s # /tmp/tmpm_sueu57/tmpsfsdxbhn.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm_sueu57/tmpsfsdxbhn.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 2); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.CallableIface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectCallableIface 1874s # * @title: OrgProjectCallableIface 1874s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.CallableIface ---- */ 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SimpleMethod", 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-simple-method", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1874s # { 1874s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.CallableIface", 1874s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-callable-iface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_callable_iface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_callable_iface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_callable_iface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_callable_iface_method_marshal_simple_method ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectCallableIface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectCallableIfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.CallableIface. 1874s # */ 1874s # 1874s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectCallableIface::handle-simple-method: 1874s # * @object: A #OrgProjectCallableIface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-simple-method", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_callable_iface_method_marshal_simple_method, 1874s # G_TYPE_BOOLEAN, 1874s # 1, 1874s # G_TYPE_DBUS_METHOD_INVOCATION); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_callable_iface_call_simple_method: 1874s # * @proxy: A #OrgProjectCallableIfaceProxy. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_callable_iface_call_simple_method ( 1874s # OrgProjectCallableIface *proxy, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SimpleMethod", 1874s # g_variant_new ("()"), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_callable_iface_call_simple_method_finish: 1874s # * @proxy: A #OrgProjectCallableIfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_callable_iface_call_simple_method_finish ( 1874s # OrgProjectCallableIface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_callable_iface_call_simple_method_sync: 1874s # * @proxy: A #OrgProjectCallableIfaceProxy. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_callable_iface_call_simple_method_sync ( 1874s # OrgProjectCallableIface *proxy, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SimpleMethod", 1874s # g_variant_new ("()"), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_callable_iface_complete_simple_method: 1874s # * @object: A #OrgProjectCallableIface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_callable_iface_complete_simple_method ( 1874s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectCallableIfaceProxy: 1874s # * 1874s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectCallableIfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectCallableIfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectCallableIfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_callable_iface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1874s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1874s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_callable_iface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_callable_iface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # 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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_callable_iface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectCallableIface * 1874s # org_project_callable_iface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_callable_iface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectCallableIface * 1874s # org_project_callable_iface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_callable_iface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_callable_iface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # 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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_callable_iface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectCallableIface * 1874s # org_project_callable_iface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_callable_iface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectCallableIface * 1874s # org_project_callable_iface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectCallableIfaceSkeleton: 1874s # * 1874s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectCallableIfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectCallableIfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_callable_iface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_callable_iface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_callable_iface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1874s # { 1874s # _org_project_callable_iface_skeleton_handle_method_call, 1874s # _org_project_callable_iface_skeleton_handle_get_property, 1874s # _org_project_callable_iface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_callable_iface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_callable_iface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_callable_iface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectCallableIface * 1874s # org_project_callable_iface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.OtherCallableIface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectOtherCallableIface 1874s # * @title: OrgProjectOtherCallableIface 1874s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SimpleMethod", 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-simple-method", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1874s # { 1874s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.OtherCallableIface", 1874s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-other-callable-iface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_other_callable_iface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_other_callable_iface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_other_callable_iface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_other_callable_iface_method_marshal_simple_method ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectOtherCallableIface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectOtherCallableIfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1874s # */ 1874s # 1874s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectOtherCallableIface::handle-simple-method: 1874s # * @object: A #OrgProjectOtherCallableIface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-simple-method", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_other_callable_iface_method_marshal_simple_method, 1874s # G_TYPE_BOOLEAN, 1874s # 1, 1874s # G_TYPE_DBUS_METHOD_INVOCATION); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_other_callable_iface_call_simple_method: 1874s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_other_callable_iface_call_simple_method ( 1874s # OrgProjectOtherCallableIface *proxy, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SimpleMethod", 1874s # g_variant_new ("()"), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_other_callable_iface_call_simple_method_finish: 1874s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_other_callable_iface_call_simple_method_finish ( 1874s # OrgProjectOtherCallableIface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_other_callable_iface_call_simple_method_sync: 1874s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_other_callable_iface_call_simple_method_sync ( 1874s # OrgProjectOtherCallableIface *proxy, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SimpleMethod", 1874s # g_variant_new ("()"), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_other_callable_iface_complete_simple_method: 1874s # * @object: A #OrgProjectOtherCallableIface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_other_callable_iface_complete_simple_method ( 1874s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectOtherCallableIfaceProxy: 1874s # * 1874s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectOtherCallableIfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1874s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1874s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_other_callable_iface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_other_callable_iface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # 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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_other_callable_iface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectOtherCallableIface * 1874s # org_project_other_callable_iface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_other_callable_iface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectOtherCallableIface * 1874s # org_project_other_callable_iface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_other_callable_iface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_other_callable_iface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # 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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectOtherCallableIface * 1874s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectOtherCallableIface * 1874s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectOtherCallableIfaceSkeleton: 1874s # * 1874s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectOtherCallableIfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1874s # { 1874s # _org_project_other_callable_iface_skeleton_handle_method_call, 1874s # _org_project_other_callable_iface_skeleton_handle_get_property, 1874s # _org_project_other_callable_iface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_other_callable_iface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_other_callable_iface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectOtherCallableIface * 1874s # org_project_other_callable_iface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s ok 16 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1874s # gdbus-codegen: /usr/bin/gdbus-codegen 1874s # tmpdir: /tmp/tmpablqa8nc 1874s # /tmp/tmpablqa8nc/tmpb0cczugn.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmpb0cczugn.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # gboolean arg_arg_b, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_boolean (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_b", 1874s # (gchar *) "b", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodB", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-b", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_b: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-b", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_b, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_b: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_b: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_b ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # gboolean arg_arg_b, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodB", 1874s # g_variant_new ("(b)", 1874s # arg_arg_b), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_b_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_b_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_b_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_b: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_b_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # gboolean arg_arg_b, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodB", 1874s # g_variant_new ("(b)", 1874s # arg_arg_b), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_b: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_b ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmpj65hlq1o.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmpj65hlq1o.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # guchar arg_arg_y, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_uchar (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_y", 1874s # (gchar *) "y", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodY", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-y", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_y: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-y", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_y, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_y: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_y: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_y ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # guchar arg_arg_y, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodY", 1874s # g_variant_new ("(y)", 1874s # arg_arg_y), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_y_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_y_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_y_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_y: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_y_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # guchar arg_arg_y, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodY", 1874s # g_variant_new ("(y)", 1874s # arg_arg_y), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_y: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_y ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmp48u_3n6_.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmp48u_3n6_.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # gint16 arg_arg_n, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_int (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_n", 1874s # (gchar *) "n", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodN", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-n", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_n: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-n", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_n, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_n: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_n: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_n ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # gint16 arg_arg_n, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodN", 1874s # g_variant_new ("(n)", 1874s # arg_arg_n), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_n_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_n_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_n_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_n: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_n_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # gint16 arg_arg_n, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodN", 1874s # g_variant_new ("(n)", 1874s # arg_arg_n), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_n: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_n ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmpbjhwadpe.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmpbjhwadpe.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # guint16 arg_arg_q, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_uint (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_q", 1874s # (gchar *) "q", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodQ", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-q", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_q: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-q", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_q, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_q: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_q: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_q ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # guint16 arg_arg_q, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodQ", 1874s # g_variant_new ("(q)", 1874s # arg_arg_q), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_q_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_q_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_q_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_q: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_q_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # guint16 arg_arg_q, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodQ", 1874s # g_variant_new ("(q)", 1874s # arg_arg_q), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_q: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_q ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmpbnv91l5y.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmpbnv91l5y.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # gint arg_arg_i, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_int (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_i", 1874s # (gchar *) "i", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodI", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-i", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_i: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-i", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_i, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_i: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_i: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_i ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # gint arg_arg_i, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodI", 1874s # g_variant_new ("(i)", 1874s # arg_arg_i), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_i_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_i_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_i_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_i: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_i_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # gint arg_arg_i, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodI", 1874s # g_variant_new ("(i)", 1874s # arg_arg_i), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_i: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_i ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmp6oxh680h.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmp6oxh680h.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # guint arg_arg_u, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_uint (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_u", 1874s # (gchar *) "u", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodU", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-u", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_u: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-u", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_u, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_u: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_u: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_u ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # guint arg_arg_u, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodU", 1874s # g_variant_new ("(u)", 1874s # arg_arg_u), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_u_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_u_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_u_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_u: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_u_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # guint arg_arg_u, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodU", 1874s # g_variant_new ("(u)", 1874s # arg_arg_u), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_u: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_u ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmp_wtl4n_g.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmp_wtl4n_g.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # gint64 arg_arg_x, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_int64 (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_x", 1874s # (gchar *) "x", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodX", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-x", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_x: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-x", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_x, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_x: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_x: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_x ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # gint64 arg_arg_x, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodX", 1874s # g_variant_new ("(x)", 1874s # arg_arg_x), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_x_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_x_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_x_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_x: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_x_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # gint64 arg_arg_x, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodX", 1874s # g_variant_new ("(x)", 1874s # arg_arg_x), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_x: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_x ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmpalezvafk.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmpalezvafk.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # guint64 arg_arg_t, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_uint64 (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_t", 1874s # (gchar *) "t", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodT", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-t", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_t: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-t", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_t, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_t: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_t: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_t ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # guint64 arg_arg_t, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodT", 1874s # g_variant_new ("(t)", 1874s # arg_arg_t), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_t_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_t_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_t_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_t: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_t_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # guint64 arg_arg_t, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodT", 1874s # g_variant_new ("(t)", 1874s # arg_arg_t), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_t: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_t ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmpp857mydr.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmpp857mydr.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # gdouble arg_arg_d, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_double (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_d", 1874s # (gchar *) "d", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodD", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-d", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_d: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-d", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_d, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_d: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_d: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_d ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # gdouble arg_arg_d, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodD", 1874s # g_variant_new ("(d)", 1874s # arg_arg_d), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_d_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_d_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_d_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_d: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_d_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # gdouble arg_arg_d, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodD", 1874s # g_variant_new ("(d)", 1874s # arg_arg_d), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_d: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_d ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmpjtytbc4n.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmpjtytbc4n.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # const gchar *arg_arg_s, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_string (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_s", 1874s # (gchar *) "s", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodS", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-s", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_s: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-s", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_s, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_s: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_s: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_s ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # const gchar *arg_arg_s, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodS", 1874s # g_variant_new ("(s)", 1874s # arg_arg_s), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_s_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_s_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_s_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_s: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_s_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # const gchar *arg_arg_s, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodS", 1874s # g_variant_new ("(s)", 1874s # arg_arg_s), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_s: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_s ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmpnn5kcr7h.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmpnn5kcr7h.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # const gchar *arg_arg_o, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_string (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_o", 1874s # (gchar *) "o", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodO", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-o", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_o: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-o", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_o, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_o: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_o: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_o ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # const gchar *arg_arg_o, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodO", 1874s # g_variant_new ("(o)", 1874s # arg_arg_o), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_o_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_o_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_o_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_o: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_o_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # const gchar *arg_arg_o, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodO", 1874s # g_variant_new ("(o)", 1874s # arg_arg_o), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_o: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_o ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmpkd57krhf.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmpkd57krhf.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # const gchar *arg_arg_g, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_string (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_g", 1874s # (gchar *) "g", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodG", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-g", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_g: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-g", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_g, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_g: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_g: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_g ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # const gchar *arg_arg_g, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodG", 1874s # g_variant_new ("(g)", 1874s # arg_arg_g), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_g_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_g_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_g_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_g: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_g_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # const gchar *arg_arg_g, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodG", 1874s # g_variant_new ("(g)", 1874s # arg_arg_g), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_g: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_g ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmpcjhqe0dm.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmpcjhqe0dm.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # GVariant *arg_arg_h, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_variant (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_h", 1874s # (gchar *) "h", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodH", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-h", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_h: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-h", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_h, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_h: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_h: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_h ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GVariant *arg_arg_h, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodH", 1874s # g_variant_new ("(@h)", 1874s # arg_arg_h), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_h_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_h_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_h_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_h: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_h_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GVariant *arg_arg_h, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodH", 1874s # g_variant_new ("(@h)", 1874s # arg_arg_h), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_h: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_h ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmp_au4kw4i.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmp_au4kw4i.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # const gchar *arg_arg_ay, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_string (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_ay", 1874s # (gchar *) "ay", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodAy", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-ay", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_ay: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-ay", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_ay: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_ay: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_ay ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # const gchar *arg_arg_ay, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodAy", 1874s # g_variant_new ("(^ay)", 1874s # arg_arg_ay), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_ay: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # const gchar *arg_arg_ay, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodAy", 1874s # g_variant_new ("(^ay)", 1874s # arg_arg_ay), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_ay: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_ay ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmphx_3b_v6.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmphx_3b_v6.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # const gchar *const *arg_arg_as, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_boxed (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_as", 1874s # (gchar *) "as", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodAs", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-as", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_as: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-as", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_as, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_as: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_as: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_as ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # const gchar *const *arg_arg_as, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodAs", 1874s # g_variant_new ("(^as)", 1874s # arg_arg_as), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_as_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_as_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_as_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_as: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_as_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # const gchar *const *arg_arg_as, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodAs", 1874s # g_variant_new ("(^as)", 1874s # arg_arg_as), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_as: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_as ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmpxzm019ok.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmpxzm019ok.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # const gchar *const *arg_arg_ao, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_boxed (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_ao", 1874s # (gchar *) "ao", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodAo", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-ao", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_ao: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-ao", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_ao: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_ao: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_ao ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # const gchar *const *arg_arg_ao, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodAo", 1874s # g_variant_new ("(^ao)", 1874s # arg_arg_ao), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_ao: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # const gchar *const *arg_arg_ao, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodAo", 1874s # g_variant_new ("(^ao)", 1874s # arg_arg_ao), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_ao: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_ao ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmpxax6h_iq.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmpxax6h_iq.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # const gchar *const *arg_arg_aay, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_boxed (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_aay", 1874s # (gchar *) "aay", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodAay", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-aay", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_aay: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-aay", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_aay: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_aay: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_aay ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # const gchar *const *arg_arg_aay, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodAay", 1874s # g_variant_new ("(^aay)", 1874s # arg_arg_aay), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_aay: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # const gchar *const *arg_arg_aay, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodAay", 1874s # g_variant_new ("(^aay)", 1874s # arg_arg_aay), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_aay: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_aay ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s # 1874s # /tmp/tmpablqa8nc/tmpe8erpycn.xml: 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # 1874s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpablqa8nc/tmpe8erpycn.xml', '--output', '-', '--body'] 1874s # Return code: 0 1874s # Output: 1874s # /* 1874s # * This file is generated by gdbus-codegen, do not modify it. 1874s # * 1874s # * The license of this code is the same as for the D-Bus interface description 1874s # * it was derived from. Note that it links to GLib, so must comply with the 1874s # * LGPL linking clauses. 1874s # */ 1874s # 1874s # #ifdef HAVE_CONFIG_H 1874s # # include "config.h" 1874s # #endif 1874s # 1874s # #include 1874s # #ifdef G_OS_UNIX 1874s # # include 1874s # #endif 1874s # 1874s # #ifdef G_ENABLE_DEBUG 1874s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1874s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1874s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1874s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1874s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1874s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1874s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1874s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1874s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1874s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1874s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1874s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1874s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1874s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1874s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1874s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1874s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1874s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1874s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1874s # #else /* !G_ENABLE_DEBUG */ 1874s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1874s # * Do not access GValues directly in your code. Instead, use the 1874s # * g_value_get_*() functions 1874s # */ 1874s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1874s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1874s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1874s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1874s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1874s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1874s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1874s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1874s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1874s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1874s # #endif /* !G_ENABLE_DEBUG */ 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusArgInfo parent_struct; 1874s # gboolean use_gvariant; 1874s # } _ExtendedGDBusArgInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusMethodInfo parent_struct; 1874s # const gchar *signal_name; 1874s # gboolean pass_fdlist; 1874s # } _ExtendedGDBusMethodInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusSignalInfo parent_struct; 1874s # const gchar *signal_name; 1874s # } _ExtendedGDBusSignalInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusPropertyInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # guint use_gvariant : 1; 1874s # guint emits_changed_signal : 1; 1874s # } _ExtendedGDBusPropertyInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # GDBusInterfaceInfo parent_struct; 1874s # const gchar *hyphen_name; 1874s # } _ExtendedGDBusInterfaceInfo; 1874s # 1874s # typedef struct 1874s # { 1874s # const _ExtendedGDBusPropertyInfo *info; 1874s # guint prop_id; 1874s # GValue orig_value; /* the value before the change */ 1874s # } ChangedProperty; 1874s # 1874s # static void 1874s # _changed_property_free (ChangedProperty *data) 1874s # { 1874s # g_value_unset (&data->orig_value); 1874s # g_free (data); 1874s # } 1874s # 1874s # static gboolean 1874s # _g_strv_equal0 (gchar **a, gchar **b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # guint n; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # if (g_strv_length (a) != g_strv_length (b)) 1874s # goto out; 1874s # for (n = 0; a[n] != NULL; n++) 1874s # if (g_strcmp0 (a[n], b[n]) != 0) 1874s # goto out; 1874s # ret = TRUE; 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _g_variant_equal0 (GVariant *a, GVariant *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # if (a == NULL && b == NULL) 1874s # { 1874s # ret = TRUE; 1874s # goto out; 1874s # } 1874s # if (a == NULL || b == NULL) 1874s # goto out; 1874s # ret = g_variant_equal (a, b); 1874s # out: 1874s # return ret; 1874s # } 1874s # 1874s # G_GNUC_UNUSED static gboolean 1874s # _g_value_equal (const GValue *a, const GValue *b) 1874s # { 1874s # gboolean ret = FALSE; 1874s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1874s # switch (G_VALUE_TYPE (a)) 1874s # { 1874s # case G_TYPE_BOOLEAN: 1874s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1874s # break; 1874s # case G_TYPE_UCHAR: 1874s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1874s # break; 1874s # case G_TYPE_INT: 1874s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1874s # break; 1874s # case G_TYPE_UINT: 1874s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1874s # break; 1874s # case G_TYPE_INT64: 1874s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1874s # break; 1874s # case G_TYPE_UINT64: 1874s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1874s # break; 1874s # case G_TYPE_DOUBLE: 1874s # { 1874s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1874s # gdouble da = g_value_get_double (a); 1874s # gdouble db = g_value_get_double (b); 1874s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1874s # } 1874s # break; 1874s # case G_TYPE_STRING: 1874s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1874s # break; 1874s # case G_TYPE_VARIANT: 1874s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1874s # break; 1874s # default: 1874s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1874s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1874s # else 1874s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1874s # break; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static void 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint G_GNUC_UNUSED, 1874s # void *marshal_data) 1874s # { 1874s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1874s # (void *data1, 1874s # GDBusMethodInvocation *arg_method_invocation, 1874s # GVariant *arg_arg_asv, 1874s # void *data2); 1874s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1874s # GCClosure *cc = (GCClosure*) closure; 1874s # void *data1, *data2; 1874s # gboolean v_return; 1874s # 1874s # g_return_if_fail (return_value != NULL); 1874s # g_return_if_fail (n_param_values == 3); 1874s # 1874s # if (G_CCLOSURE_SWAP_DATA (closure)) 1874s # { 1874s # data1 = closure->data; 1874s # data2 = g_value_peek_pointer (param_values + 0); 1874s # } 1874s # else 1874s # { 1874s # data1 = g_value_peek_pointer (param_values + 0); 1874s # data2 = closure->data; 1874s # } 1874s # 1874s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1874s # (marshal_data ? marshal_data : cc->callback); 1874s # 1874s # v_return = 1874s # callback (data1, 1874s # g_marshal_value_peek_object (param_values + 1), 1874s # g_marshal_value_peek_variant (param_values + 2), 1874s # data2); 1874s # 1874s # g_value_set_boolean (return_value, v_return); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ 1874s # * Code for interface org.project.UsefulInterface 1874s # * ------------------------------------------------------------------------ 1874s # */ 1874s # 1874s # /** 1874s # * SECTION:OrgProjectUsefulInterface 1874s # * @title: OrgProjectUsefulInterface 1874s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1874s # * 1874s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1874s # */ 1874s # 1874s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1874s # 1874s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "arg_asv", 1874s # (gchar *) "a{sv}", 1874s # NULL 1874s # }, 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "SingleArgMethodAsv", 1874s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "handle-single-arg-method-asv", 1874s # FALSE 1874s # }; 1874s # 1874s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1874s # { 1874s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1874s # NULL 1874s # }; 1874s # 1874s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1874s # { 1874s # { 1874s # -1, 1874s # (gchar *) "org.project.UsefulInterface", 1874s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1874s # NULL, 1874s # NULL, 1874s # NULL 1874s # }, 1874s # "org-project-useful-interface", 1874s # }; 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_interface_info: 1874s # * 1874s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1874s # * 1874s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1874s # */ 1874s # GDBusInterfaceInfo * 1874s # org_project_useful_interface_interface_info (void) 1874s # { 1874s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_override_properties: 1874s # * @klass: The class structure for a #GObject derived class. 1874s # * @property_id_begin: The property id to assign to the first overridden property. 1874s # * 1874s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1874s # * The properties are overridden in the order they are defined. 1874s # * 1874s # * Returns: The last property id. 1874s # */ 1874s # guint 1874s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1874s # { 1874s # return property_id_begin - 1; 1874s # } 1874s # 1874s # 1874s # inline static void 1874s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1874s # GClosure *closure, 1874s # GValue *return_value, 1874s # unsigned int n_param_values, 1874s # const GValue *param_values, 1874s # void *invocation_hint, 1874s # void *marshal_data) 1874s # { 1874s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1874s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1874s # } 1874s # 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterface: 1874s # * 1874s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceIface: 1874s # * @parent_iface: The parent interface. 1874s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1874s # * 1874s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1874s # */ 1874s # 1874s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1874s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1874s # 1874s # static void 1874s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1874s # { 1874s # /* GObject signals for incoming D-Bus method calls: */ 1874s # /** 1874s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: A #GDBusMethodInvocation. 1874s # * @arg_arg_asv: Argument passed by remote caller. 1874s # * 1874s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1874s # * 1874s # * 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. 1874s # * 1874s # * 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. 1874s # */ 1874s # g_signal_new ("handle-single-arg-method-asv", 1874s # G_TYPE_FROM_INTERFACE (iface), 1874s # G_SIGNAL_RUN_LAST, 1874s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1874s # g_signal_accumulator_true_handled, 1874s # NULL, 1874s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1874s # G_TYPE_BOOLEAN, 1874s # 2, 1874s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1874s # 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_asv: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_asv: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1874s # */ 1874s # void 1874s # org_project_useful_interface_call_single_arg_method_asv ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GVariant *arg_arg_asv, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodAsv", 1874s # g_variant_new ("(@a{sv})", 1874s # arg_arg_asv), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # callback, 1874s # user_data); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1874s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1874s # * @arg_arg_asv: Argument to pass with the method invocation. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL. 1874s # * 1874s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1874s # * 1874s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1874s # */ 1874s # gboolean 1874s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1874s # OrgProjectUsefulInterface *proxy, 1874s # GVariant *arg_arg_asv, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GVariant *_ret; 1874s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1874s # "SingleArgMethodAsv", 1874s # g_variant_new ("(@a{sv})", 1874s # arg_arg_asv), 1874s # G_DBUS_CALL_FLAGS_NONE, 1874s # -1, 1874s # cancellable, 1874s # error); 1874s # if (_ret == NULL) 1874s # goto _out; 1874s # g_variant_get (_ret, 1874s # "()"); 1874s # g_variant_unref (_ret); 1874s # _out: 1874s # return _ret != NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_complete_single_arg_method_asv: 1874s # * @object: A #OrgProjectUsefulInterface. 1874s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1874s # * 1874s # * 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. 1874s # * 1874s # * This method will free @invocation, you cannot use it afterwards. 1874s # */ 1874s # void 1874s # org_project_useful_interface_complete_single_arg_method_asv ( 1874s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1874s # GDBusMethodInvocation *invocation) 1874s # { 1874s # g_dbus_method_invocation_return_value (invocation, 1874s # g_variant_new ("()")); 1874s # } 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxy: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceProxyClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceProxyPrivate 1874s # { 1874s # GData *qdata; 1874s # }; 1874s # 1874s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_proxy_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1874s # g_datalist_clear (&proxy->priv->qdata); 1874s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1874s # guint prop_id G_GNUC_UNUSED, 1874s # const GValue *value G_GNUC_UNUSED, 1874s # GParamSpec *pspec G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1874s # const gchar *sender_name G_GNUC_UNUSED, 1874s # const gchar *signal_name, 1874s # GVariant *parameters) 1874s # { 1874s # _ExtendedGDBusSignalInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # gsize n; 1874s # guint signal_id; 1874s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1874s # if (info == NULL) 1874s # return; 1874s # num_params = g_variant_n_children (parameters); 1874s # paramv = g_new0 (GValue, num_params + 1); 1874s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[0], proxy); 1874s # g_variant_iter_init (&iter, parameters); 1874s # n = 1; 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_signal_emitv (paramv, signal_id, 0, NULL); 1874s # for (n = 0; n < num_params + 1; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1874s # GVariant *changed_properties, 1874s # const gchar *const *invalidated_properties) 1874s # { 1874s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1874s # guint n; 1874s # const gchar *key; 1874s # GVariantIter *iter; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # g_variant_get (changed_properties, "a{sv}", &iter); 1874s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1874s # g_datalist_remove_data (&proxy->priv->qdata, key); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # g_variant_iter_free (iter); 1874s # for (n = 0; invalidated_properties[n] != NULL; n++) 1874s # { 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1874s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1874s # if (info != NULL) 1874s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1874s # } 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1874s # #else 1874s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1874s # #endif 1874s # 1874s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusProxyClass *proxy_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1874s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1874s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1874s # 1874s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1874s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1874s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_sync: 1874s # * @connection: A #GDBusConnection. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_sync ( 1874s # GDBusConnection *connection, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1874s # * @user_data: User data to pass to @callback. 1874s # * 1874s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1874s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1874s # */ 1874s # void 1874s # org_project_useful_interface_proxy_new_for_bus ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GAsyncReadyCallback callback, 1874s # gpointer user_data) 1874s # { 1874s # g_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); 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_finish: 1874s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_finish ( 1874s # GAsyncResult *res, 1874s # GError **error) 1874s # { 1874s # GObject *ret; 1874s # GObject *source_object; 1874s # source_object = g_async_result_get_source_object (res); 1874s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1874s # g_object_unref (source_object); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_proxy_new_for_bus_sync: 1874s # * @bus_type: A #GBusType. 1874s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1874s # * @name: A bus name (well-known or unique). 1874s # * @object_path: An object path. 1874s # * @cancellable: (nullable): A #GCancellable or %NULL. 1874s # * @error: Return location for error or %NULL 1874s # * 1874s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1874s # * 1874s # * The calling thread is blocked until a reply is received. 1874s # * 1874s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_proxy_new_for_bus_sync ( 1874s # GBusType bus_type, 1874s # GDBusProxyFlags flags, 1874s # const gchar *name, 1874s # const gchar *object_path, 1874s # GCancellable *cancellable, 1874s # GError **error) 1874s # { 1874s # GInitable *ret; 1874s # 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); 1874s # if (ret != NULL) 1874s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1874s # else 1874s # return NULL; 1874s # } 1874s # 1874s # 1874s # /* ------------------------------------------------------------------------ */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeleton: 1874s # * 1874s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1874s # */ 1874s # 1874s # /** 1874s # * OrgProjectUsefulInterfaceSkeletonClass: 1874s # * @parent_class: The parent class. 1874s # * 1874s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1874s # */ 1874s # 1874s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1874s # { 1874s # GValue *properties; 1874s # GList *changed_properties; 1874s # GSource *changed_properties_idle_source; 1874s # GMainContext *context; 1874s # GMutex lock; 1874s # }; 1874s # 1874s # static void 1874s # _org_project_useful_interface_skeleton_handle_method_call ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name, 1874s # const gchar *method_name, 1874s # GVariant *parameters, 1874s # GDBusMethodInvocation *invocation, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # _ExtendedGDBusMethodInfo *info; 1874s # GVariantIter iter; 1874s # GVariant *child; 1874s # GValue *paramv; 1874s # gsize num_params; 1874s # guint num_extra; 1874s # gsize n; 1874s # guint signal_id; 1874s # GValue return_value = G_VALUE_INIT; 1874s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1874s # g_assert (info != NULL); 1874s # num_params = g_variant_n_children (parameters); 1874s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1874s # n = 0; 1874s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_set_object (¶mv[n++], skeleton); 1874s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1874s # g_value_set_object (¶mv[n++], invocation); 1874s # if (info->pass_fdlist) 1874s # { 1874s # #ifdef G_OS_UNIX 1874s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1874s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1874s # #else 1874s # g_assert_not_reached (); 1874s # #endif 1874s # } 1874s # g_variant_iter_init (&iter, parameters); 1874s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1874s # { 1874s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1874s # if (arg_info->use_gvariant) 1874s # { 1874s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1874s # g_value_set_variant (¶mv[n], child); 1874s # n++; 1874s # } 1874s # else 1874s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1874s # g_variant_unref (child); 1874s # } 1874s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1874s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1874s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1874s # if (!g_value_get_boolean (&return_value)) 1874s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1874s # g_value_unset (&return_value); 1874s # for (n = 0; n < num_params + num_extra; n++) 1874s # g_value_unset (¶mv[n]); 1874s # g_free (paramv); 1874s # } 1874s # 1874s # static GVariant * 1874s # _org_project_useful_interface_skeleton_handle_get_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # GVariant *ret; 1874s # ret = NULL; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # g_value_init (&value, pspec->value_type); 1874s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1874s # g_value_unset (&value); 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static gboolean 1874s # _org_project_useful_interface_skeleton_handle_set_property ( 1874s # GDBusConnection *connection G_GNUC_UNUSED, 1874s # const gchar *sender G_GNUC_UNUSED, 1874s # const gchar *object_path G_GNUC_UNUSED, 1874s # const gchar *interface_name G_GNUC_UNUSED, 1874s # const gchar *property_name, 1874s # GVariant *variant, 1874s # GError **error, 1874s # gpointer user_data) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1874s # GValue value = G_VALUE_INIT; 1874s # GParamSpec *pspec; 1874s # _ExtendedGDBusPropertyInfo *info; 1874s # gboolean ret; 1874s # ret = FALSE; 1874s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1874s # g_assert (info != NULL); 1874s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1874s # if (pspec == NULL) 1874s # { 1874s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1874s # } 1874s # else 1874s # { 1874s # if (info->use_gvariant) 1874s # g_value_set_variant (&value, variant); 1874s # else 1874s # g_dbus_gvariant_to_gvalue (variant, &value); 1874s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1874s # g_value_unset (&value); 1874s # ret = TRUE; 1874s # } 1874s # return ret; 1874s # } 1874s # 1874s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1874s # { 1874s # _org_project_useful_interface_skeleton_handle_method_call, 1874s # _org_project_useful_interface_skeleton_handle_get_property, 1874s # _org_project_useful_interface_skeleton_handle_set_property, 1874s # {NULL} 1874s # }; 1874s # 1874s # static GDBusInterfaceInfo * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return org_project_useful_interface_interface_info (); 1874s # } 1874s # 1874s # static GDBusInterfaceVTable * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1874s # { 1874s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1874s # } 1874s # 1874s # static GVariant * 1874s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1874s # 1874s # GVariantBuilder builder; 1874s # guint n; 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1874s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #else 1874s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1874s # #endif 1874s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1874s # goto out; 1874s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1874s # { 1874s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1874s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1874s # { 1874s # GVariant *value; 1874s # 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); 1874s # if (value != NULL) 1874s # { 1874s # g_variant_take_ref (value); 1874s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1874s # g_variant_unref (value); 1874s # } 1874s # } 1874s # } 1874s # out: 1874s # return g_variant_builder_end (&builder); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #else 1874s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1874s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1874s # 1874s # #endif 1874s # static void 1874s # org_project_useful_interface_skeleton_finalize (GObject *object) 1874s # { 1874s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1874s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # /* coverity[missing_lock : SUPPRESS] */ 1874s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1874s # #else 1874s # if (skeleton->priv->changed_properties_idle_source != NULL) 1874s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1874s # skeleton->priv->changed_properties_idle_source = NULL; 1874s # #endif 1874s # g_main_context_unref (skeleton->priv->context); 1874s # g_mutex_clear (&skeleton->priv->lock); 1874s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1874s # { 1874s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1874s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1874s # #else 1874s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1874s # #endif 1874s # 1874s # g_mutex_init (&skeleton->priv->lock); 1874s # skeleton->priv->context = g_main_context_ref_thread_default (); 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1874s # { 1874s # GObjectClass *gobject_class; 1874s # GDBusInterfaceSkeletonClass *skeleton_class; 1874s # 1874s # gobject_class = G_OBJECT_CLASS (klass); 1874s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1874s # 1874s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1874s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1874s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1874s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1874s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1874s # 1874s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1874s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1874s # #endif 1874s # } 1874s # 1874s # static void 1874s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1874s # { 1874s # } 1874s # 1874s # /** 1874s # * org_project_useful_interface_skeleton_new: 1874s # * 1874s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1874s # * 1874s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1874s # */ 1874s # OrgProjectUsefulInterface * 1874s # org_project_useful_interface_skeleton_new (void) 1874s # { 1874s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1874s # } 1874s # Error: 1874s ok 17 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmp8nt8ixhe 1875s # /tmp/tmp8nt8ixhe/tmps9q41ah4.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmps9q41ah4.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_b", 1875s # (gchar *) "b", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodB", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-b", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-b", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_b, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_b: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_b ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodB", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_b_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_b_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gboolean* out_arg_b, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(b)", 1875s # out_arg_b); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_b_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_b_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gboolean* out_arg_b, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodB", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(b)", 1875s # out_arg_b); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_b: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_b: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_b ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # gboolean arg_b) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(b)", 1875s # arg_b)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmprnm9yoy2.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmprnm9yoy2.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_y", 1875s # (gchar *) "y", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodY", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-y", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-y", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_y, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_y: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_y ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodY", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_y_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_y_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # guchar* out_arg_y, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(y)", 1875s # out_arg_y); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_y_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_y_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # guchar* out_arg_y, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodY", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(y)", 1875s # out_arg_y); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_y: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_y: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_y ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # guchar arg_y) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(y)", 1875s # arg_y)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmpbfj8ws_p.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmpbfj8ws_p.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_n", 1875s # (gchar *) "n", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodN", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-n", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-n", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_n, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_n: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_n ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodN", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_n_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_n_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gint16* out_arg_n, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(n)", 1875s # out_arg_n); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_n_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_n_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gint16* out_arg_n, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodN", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(n)", 1875s # out_arg_n); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_n: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_n: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_n ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # gint16 arg_n) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(n)", 1875s # arg_n)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmpb_vu650q.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmpb_vu650q.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_q", 1875s # (gchar *) "q", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodQ", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-q", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-q", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_q, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_q: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_q ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodQ", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_q_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_q_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # guint16* out_arg_q, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(q)", 1875s # out_arg_q); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_q_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_q_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # guint16* out_arg_q, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodQ", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(q)", 1875s # out_arg_q); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_q: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_q: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_q ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # guint16 arg_q) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(q)", 1875s # arg_q)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmp83hn47y7.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmp83hn47y7.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_i", 1875s # (gchar *) "i", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodI", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-i", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-i", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_i, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_i: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_i ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodI", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_i_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_i_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gint* out_arg_i, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(i)", 1875s # out_arg_i); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_i_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_i_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gint* out_arg_i, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodI", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(i)", 1875s # out_arg_i); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_i: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_i: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_i ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # gint arg_i) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(i)", 1875s # arg_i)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmp51by2_3v.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmp51by2_3v.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_u", 1875s # (gchar *) "u", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodU", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-u", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-u", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_u, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_u: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_u ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodU", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_u_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_u_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # guint* out_arg_u, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(u)", 1875s # out_arg_u); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_u_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_u_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # guint* out_arg_u, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodU", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(u)", 1875s # out_arg_u); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_u: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_u: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_u ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # guint arg_u) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(u)", 1875s # arg_u)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmpk_n6nk5n.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmpk_n6nk5n.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_x", 1875s # (gchar *) "x", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodX", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-x", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-x", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_x, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_x: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_x ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodX", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_x_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_x_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gint64* out_arg_x, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(x)", 1875s # out_arg_x); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_x_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_x_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gint64* out_arg_x, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodX", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(x)", 1875s # out_arg_x); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_x: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_x: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_x ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # gint64 arg_x) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(x)", 1875s # arg_x)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmpzrwn4ik5.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmpzrwn4ik5.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_t", 1875s # (gchar *) "t", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodT", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-t", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-t", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_t, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_t: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_t ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodT", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_t_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_t_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # guint64* out_arg_t, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(t)", 1875s # out_arg_t); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_t_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_t_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # guint64* out_arg_t, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodT", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(t)", 1875s # out_arg_t); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_t: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_t: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_t ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # guint64 arg_t) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(t)", 1875s # arg_t)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmpfmbcz028.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmpfmbcz028.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_d", 1875s # (gchar *) "d", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodD", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-d", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-d", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_d, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_d: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_d ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodD", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_d_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_d_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gdouble* out_arg_d, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(d)", 1875s # out_arg_d); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_d_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_d_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gdouble* out_arg_d, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodD", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(d)", 1875s # out_arg_d); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_d: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_d: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_d ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # gdouble arg_d) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(d)", 1875s # arg_d)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmp5_n1dwly.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmp5_n1dwly.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_s", 1875s # (gchar *) "s", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodS", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-s", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-s", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_s, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_s: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_s ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodS", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_s_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_s_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gchar ** out_arg_s, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(s)", 1875s # out_arg_s); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_s_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_s_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gchar ** out_arg_s, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodS", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(s)", 1875s # out_arg_s); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_s: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_s: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_s ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # const gchar *arg_s) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(s)", 1875s # arg_s)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmpeytahxqv.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmpeytahxqv.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_o", 1875s # (gchar *) "o", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodO", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-o", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-o", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_o, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_o: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_o ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodO", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_o_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_o_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gchar ** out_arg_o, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(o)", 1875s # out_arg_o); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_o_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_o_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gchar ** out_arg_o, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodO", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(o)", 1875s # out_arg_o); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_o: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_o: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_o ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # const gchar *arg_o) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(o)", 1875s # arg_o)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmpin6wz3x2.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmpin6wz3x2.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_g", 1875s # (gchar *) "g", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodG", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-g", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-g", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_g, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_g: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_g ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodG", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_g_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_g_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gchar ** out_arg_g, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(g)", 1875s # out_arg_g); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_g_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_g_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gchar ** out_arg_g, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodG", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(g)", 1875s # out_arg_g); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_g: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_g: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_g ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # const gchar *arg_g) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(g)", 1875s # arg_g)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmp2150os6l.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmp2150os6l.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_h", 1875s # (gchar *) "h", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodH", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-h", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-h", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_h, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_h: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_h ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodH", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_h_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_h_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GVariant ** out_arg_h, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(@h)", 1875s # out_arg_h); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_h_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_h_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GVariant ** out_arg_h, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodH", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(@h)", 1875s # out_arg_h); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_h: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_h: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_h ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # GVariant *arg_h) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(@h)", 1875s # arg_h)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmphmd_iiti.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmphmd_iiti.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_ay", 1875s # (gchar *) "ay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodAy", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-ay", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-ay", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_ay: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_ay ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodAy", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gchar ** out_arg_ay, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(^ay)", 1875s # out_arg_ay); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gchar ** out_arg_ay, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodAy", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(^ay)", 1875s # out_arg_ay); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_ay: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_ay: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_ay ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # const gchar *arg_ay) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(^ay)", 1875s # arg_ay)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmpx5plvfaa.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmpx5plvfaa.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_as", 1875s # (gchar *) "as", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodAs", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-as", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-as", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_as, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_as: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_as ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodAs", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_as_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_as_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gchar *** out_arg_as, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(^as)", 1875s # out_arg_as); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_as_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_as_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gchar *** out_arg_as, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodAs", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(^as)", 1875s # out_arg_as); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_as: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_as: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_as ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # const gchar *const *arg_as) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(^as)", 1875s # arg_as)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmpxn08fcm9.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmpxn08fcm9.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_ao", 1875s # (gchar *) "ao", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodAo", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-ao", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-ao", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_ao: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_ao ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodAo", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gchar *** out_arg_ao, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(^ao)", 1875s # out_arg_ao); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gchar *** out_arg_ao, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodAo", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(^ao)", 1875s # out_arg_ao); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_ao: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_ao: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_ao ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # const gchar *const *arg_ao) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(^ao)", 1875s # arg_ao)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmp2axfn4r3.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmp2axfn4r3.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_aay", 1875s # (gchar *) "aay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodAay", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-aay", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-aay", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_aay: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_aay ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodAay", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gchar *** out_arg_aay, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(^aay)", 1875s # out_arg_aay); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # gchar *** out_arg_aay, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodAay", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(^aay)", 1875s # out_arg_aay); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_aay: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_aay: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_aay ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # const gchar *const *arg_aay) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(^aay)", 1875s # arg_aay)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmp8nt8ixhe/tmpii_ixu1i.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nt8ixhe/tmpii_ixu1i.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_asv", 1875s # (gchar *) "a{sv}", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgMethodAsv", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-single-arg-method-asv", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-single-arg-method-asv", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_asv: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_useful_interface_call_single_arg_method_asv ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodAsv", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GVariant ** out_arg_asv, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(@a{sv})", 1875s # out_arg_asv); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1875s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1875s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1875s # OrgProjectUsefulInterface *proxy, 1875s # GVariant ** out_arg_asv, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SingleArgMethodAsv", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(@a{sv})", 1875s # out_arg_asv); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_complete_single_arg_method_asv: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @arg_asv: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_useful_interface_complete_single_arg_method_asv ( 1875s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # GVariant *arg_asv) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(@a{sv})", 1875s # arg_asv)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s ok 18 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmp9t0vr6xc 1875s # /tmp/tmp9t0vr6xc/tmp0tbs0q7h.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9t0vr6xc/tmp0tbs0q7h.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # gboolean arg_an_b, 1875s # guchar arg_an_y, 1875s # gint16 arg_an_n, 1875s # guint16 arg_an_q, 1875s # gint arg_an_i, 1875s # guint arg_an_u, 1875s # gint64 arg_an_x, 1875s # guint64 arg_an_t, 1875s # gdouble arg_an_d, 1875s # const gchar *arg_an_s, 1875s # const gchar *arg_an_o, 1875s # const gchar *arg_an_g, 1875s # GVariant *arg_an_h, 1875s # const gchar *arg_an_ay, 1875s # const gchar *const *arg_an_as, 1875s # const gchar *const *arg_an_ao, 1875s # const gchar *const *arg_an_aay, 1875s # GVariant *arg_an_asv, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 20); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # g_marshal_value_peek_boolean (param_values + 2), 1875s # g_marshal_value_peek_uchar (param_values + 3), 1875s # g_marshal_value_peek_int (param_values + 4), 1875s # g_marshal_value_peek_uint (param_values + 5), 1875s # g_marshal_value_peek_int (param_values + 6), 1875s # g_marshal_value_peek_uint (param_values + 7), 1875s # g_marshal_value_peek_int64 (param_values + 8), 1875s # g_marshal_value_peek_uint64 (param_values + 9), 1875s # g_marshal_value_peek_double (param_values + 10), 1875s # g_marshal_value_peek_string (param_values + 11), 1875s # g_marshal_value_peek_string (param_values + 12), 1875s # g_marshal_value_peek_string (param_values + 13), 1875s # g_marshal_value_peek_variant (param_values + 14), 1875s # g_marshal_value_peek_string (param_values + 15), 1875s # g_marshal_value_peek_boxed (param_values + 16), 1875s # g_marshal_value_peek_boxed (param_values + 17), 1875s # g_marshal_value_peek_boxed (param_values + 18), 1875s # g_marshal_value_peek_variant (param_values + 19), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.CallableIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectCallableIface 1875s # * @title: OrgProjectCallableIface 1875s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.CallableIface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_b", 1875s # (gchar *) "b", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_y", 1875s # (gchar *) "y", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_n", 1875s # (gchar *) "n", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_q", 1875s # (gchar *) "q", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_i", 1875s # (gchar *) "i", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_u", 1875s # (gchar *) "u", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_x", 1875s # (gchar *) "x", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_t", 1875s # (gchar *) "t", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_d", 1875s # (gchar *) "d", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_s", 1875s # (gchar *) "s", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_o", 1875s # (gchar *) "o", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_g", 1875s # (gchar *) "g", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_h", 1875s # (gchar *) "h", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_ay", 1875s # (gchar *) "ay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_as", 1875s # (gchar *) "as", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_ao", 1875s # (gchar *) "ao", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_aay", 1875s # (gchar *) "aay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_asv", 1875s # (gchar *) "a{sv}", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1875s # { 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "MethodWithManyArgs", 1875s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "handle-method-with-many-args", 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_b", 1875s # (gchar *) "b", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_y", 1875s # (gchar *) "y", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_n", 1875s # (gchar *) "n", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_q", 1875s # (gchar *) "q", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_i", 1875s # (gchar *) "i", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_u", 1875s # (gchar *) "u", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_x", 1875s # (gchar *) "x", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_t", 1875s # (gchar *) "t", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_d", 1875s # (gchar *) "d", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_s", 1875s # (gchar *) "s", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_o", 1875s # (gchar *) "o", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_g", 1875s # (gchar *) "g", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_h", 1875s # (gchar *) "h", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_ay", 1875s # (gchar *) "ay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_as", 1875s # (gchar *) "as", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_ao", 1875s # (gchar *) "ao", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_aay", 1875s # (gchar *) "aay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_asv", 1875s # (gchar *) "a{sv}", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1875s # { 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SameMethodWithManyArgs", 1875s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "handle-same-method-with-many-args", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1875s # { 1875s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1875s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.CallableIface", 1875s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-callable-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_callable_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_callable_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_callable_iface_method_marshal_method_with_many_args ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _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, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _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, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectCallableIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectCallableIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1875s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.CallableIface. 1875s # */ 1875s # 1875s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectCallableIface::handle-method-with-many-args: 1875s # * @object: A #OrgProjectCallableIface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * @arg_an_b: Argument passed by remote caller. 1875s # * @arg_an_y: Argument passed by remote caller. 1875s # * @arg_an_n: Argument passed by remote caller. 1875s # * @arg_an_q: Argument passed by remote caller. 1875s # * @arg_an_i: Argument passed by remote caller. 1875s # * @arg_an_u: Argument passed by remote caller. 1875s # * @arg_an_x: Argument passed by remote caller. 1875s # * @arg_an_t: Argument passed by remote caller. 1875s # * @arg_an_d: Argument passed by remote caller. 1875s # * @arg_an_s: Argument passed by remote caller. 1875s # * @arg_an_o: Argument passed by remote caller. 1875s # * @arg_an_g: Argument passed by remote caller. 1875s # * @arg_an_h: Argument passed by remote caller. 1875s # * @arg_an_ay: Argument passed by remote caller. 1875s # * @arg_an_as: Argument passed by remote caller. 1875s # * @arg_an_ao: Argument passed by remote caller. 1875s # * @arg_an_aay: Argument passed by remote caller. 1875s # * @arg_an_asv: Argument passed by remote caller. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-method-with-many-args", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_callable_iface_method_marshal_method_with_many_args, 1875s # G_TYPE_BOOLEAN, 1875s # 19, 1875s # 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); 1875s # 1875s # /** 1875s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1875s # * @object: A #OrgProjectCallableIface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * @arg_an_b: Argument passed by remote caller. 1875s # * @arg_an_y: Argument passed by remote caller. 1875s # * @arg_an_n: Argument passed by remote caller. 1875s # * @arg_an_q: Argument passed by remote caller. 1875s # * @arg_an_i: Argument passed by remote caller. 1875s # * @arg_an_u: Argument passed by remote caller. 1875s # * @arg_an_x: Argument passed by remote caller. 1875s # * @arg_an_t: Argument passed by remote caller. 1875s # * @arg_an_d: Argument passed by remote caller. 1875s # * @arg_an_s: Argument passed by remote caller. 1875s # * @arg_an_o: Argument passed by remote caller. 1875s # * @arg_an_g: Argument passed by remote caller. 1875s # * @arg_an_h: Argument passed by remote caller. 1875s # * @arg_an_ay: Argument passed by remote caller. 1875s # * @arg_an_as: Argument passed by remote caller. 1875s # * @arg_an_ao: Argument passed by remote caller. 1875s # * @arg_an_aay: Argument passed by remote caller. 1875s # * @arg_an_asv: Argument passed by remote caller. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-same-method-with-many-args", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1875s # G_TYPE_BOOLEAN, 1875s # 19, 1875s # 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); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_call_method_with_many_args: 1875s # * @proxy: A #OrgProjectCallableIfaceProxy. 1875s # * @arg_an_b: Argument to pass with the method invocation. 1875s # * @arg_an_y: Argument to pass with the method invocation. 1875s # * @arg_an_n: Argument to pass with the method invocation. 1875s # * @arg_an_q: Argument to pass with the method invocation. 1875s # * @arg_an_i: Argument to pass with the method invocation. 1875s # * @arg_an_u: Argument to pass with the method invocation. 1875s # * @arg_an_x: Argument to pass with the method invocation. 1875s # * @arg_an_t: Argument to pass with the method invocation. 1875s # * @arg_an_d: Argument to pass with the method invocation. 1875s # * @arg_an_s: Argument to pass with the method invocation. 1875s # * @arg_an_o: Argument to pass with the method invocation. 1875s # * @arg_an_g: Argument to pass with the method invocation. 1875s # * @arg_an_h: Argument to pass with the method invocation. 1875s # * @arg_an_ay: Argument to pass with the method invocation. 1875s # * @arg_an_as: Argument to pass with the method invocation. 1875s # * @arg_an_ao: Argument to pass with the method invocation. 1875s # * @arg_an_aay: Argument to pass with the method invocation. 1875s # * @arg_an_asv: Argument to pass with the method invocation. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_callable_iface_call_method_with_many_args ( 1875s # OrgProjectCallableIface *proxy, 1875s # gboolean arg_an_b, 1875s # guchar arg_an_y, 1875s # gint16 arg_an_n, 1875s # guint16 arg_an_q, 1875s # gint arg_an_i, 1875s # guint arg_an_u, 1875s # gint64 arg_an_x, 1875s # guint64 arg_an_t, 1875s # gdouble arg_an_d, 1875s # const gchar *arg_an_s, 1875s # const gchar *arg_an_o, 1875s # const gchar *arg_an_g, 1875s # GVariant *arg_an_h, 1875s # const gchar *arg_an_ay, 1875s # const gchar *const *arg_an_as, 1875s # const gchar *const *arg_an_ao, 1875s # const gchar *const *arg_an_aay, 1875s # GVariant *arg_an_asv, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "MethodWithManyArgs", 1875s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1875s # arg_an_b, 1875s # arg_an_y, 1875s # arg_an_n, 1875s # arg_an_q, 1875s # arg_an_i, 1875s # arg_an_u, 1875s # arg_an_x, 1875s # arg_an_t, 1875s # arg_an_d, 1875s # arg_an_s, 1875s # arg_an_o, 1875s # arg_an_g, 1875s # arg_an_h, 1875s # arg_an_ay, 1875s # arg_an_as, 1875s # arg_an_ao, 1875s # arg_an_aay, 1875s # arg_an_asv), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_call_method_with_many_args_finish: 1875s # * @proxy: A #OrgProjectCallableIfaceProxy. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_callable_iface_call_method_with_many_args_finish ( 1875s # OrgProjectCallableIface *proxy, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "()"); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_call_method_with_many_args_sync: 1875s # * @proxy: A #OrgProjectCallableIfaceProxy. 1875s # * @arg_an_b: Argument to pass with the method invocation. 1875s # * @arg_an_y: Argument to pass with the method invocation. 1875s # * @arg_an_n: Argument to pass with the method invocation. 1875s # * @arg_an_q: Argument to pass with the method invocation. 1875s # * @arg_an_i: Argument to pass with the method invocation. 1875s # * @arg_an_u: Argument to pass with the method invocation. 1875s # * @arg_an_x: Argument to pass with the method invocation. 1875s # * @arg_an_t: Argument to pass with the method invocation. 1875s # * @arg_an_d: Argument to pass with the method invocation. 1875s # * @arg_an_s: Argument to pass with the method invocation. 1875s # * @arg_an_o: Argument to pass with the method invocation. 1875s # * @arg_an_g: Argument to pass with the method invocation. 1875s # * @arg_an_h: Argument to pass with the method invocation. 1875s # * @arg_an_ay: Argument to pass with the method invocation. 1875s # * @arg_an_as: Argument to pass with the method invocation. 1875s # * @arg_an_ao: Argument to pass with the method invocation. 1875s # * @arg_an_aay: Argument to pass with the method invocation. 1875s # * @arg_an_asv: Argument to pass with the method invocation. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_callable_iface_call_method_with_many_args_sync ( 1875s # OrgProjectCallableIface *proxy, 1875s # gboolean arg_an_b, 1875s # guchar arg_an_y, 1875s # gint16 arg_an_n, 1875s # guint16 arg_an_q, 1875s # gint arg_an_i, 1875s # guint arg_an_u, 1875s # gint64 arg_an_x, 1875s # guint64 arg_an_t, 1875s # gdouble arg_an_d, 1875s # const gchar *arg_an_s, 1875s # const gchar *arg_an_o, 1875s # const gchar *arg_an_g, 1875s # GVariant *arg_an_h, 1875s # const gchar *arg_an_ay, 1875s # const gchar *const *arg_an_as, 1875s # const gchar *const *arg_an_ao, 1875s # const gchar *const *arg_an_aay, 1875s # GVariant *arg_an_asv, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "MethodWithManyArgs", 1875s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1875s # arg_an_b, 1875s # arg_an_y, 1875s # arg_an_n, 1875s # arg_an_q, 1875s # arg_an_i, 1875s # arg_an_u, 1875s # arg_an_x, 1875s # arg_an_t, 1875s # arg_an_d, 1875s # arg_an_s, 1875s # arg_an_o, 1875s # arg_an_g, 1875s # arg_an_h, 1875s # arg_an_ay, 1875s # arg_an_as, 1875s # arg_an_ao, 1875s # arg_an_aay, 1875s # arg_an_asv), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "()"); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_call_same_method_with_many_args: 1875s # * @proxy: A #OrgProjectCallableIfaceProxy. 1875s # * @arg_an_b: Argument to pass with the method invocation. 1875s # * @arg_an_y: Argument to pass with the method invocation. 1875s # * @arg_an_n: Argument to pass with the method invocation. 1875s # * @arg_an_q: Argument to pass with the method invocation. 1875s # * @arg_an_i: Argument to pass with the method invocation. 1875s # * @arg_an_u: Argument to pass with the method invocation. 1875s # * @arg_an_x: Argument to pass with the method invocation. 1875s # * @arg_an_t: Argument to pass with the method invocation. 1875s # * @arg_an_d: Argument to pass with the method invocation. 1875s # * @arg_an_s: Argument to pass with the method invocation. 1875s # * @arg_an_o: Argument to pass with the method invocation. 1875s # * @arg_an_g: Argument to pass with the method invocation. 1875s # * @arg_an_h: Argument to pass with the method invocation. 1875s # * @arg_an_ay: Argument to pass with the method invocation. 1875s # * @arg_an_as: Argument to pass with the method invocation. 1875s # * @arg_an_ao: Argument to pass with the method invocation. 1875s # * @arg_an_aay: Argument to pass with the method invocation. 1875s # * @arg_an_asv: Argument to pass with the method invocation. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_callable_iface_call_same_method_with_many_args ( 1875s # OrgProjectCallableIface *proxy, 1875s # gboolean arg_an_b, 1875s # guchar arg_an_y, 1875s # gint16 arg_an_n, 1875s # guint16 arg_an_q, 1875s # gint arg_an_i, 1875s # guint arg_an_u, 1875s # gint64 arg_an_x, 1875s # guint64 arg_an_t, 1875s # gdouble arg_an_d, 1875s # const gchar *arg_an_s, 1875s # const gchar *arg_an_o, 1875s # const gchar *arg_an_g, 1875s # GVariant *arg_an_h, 1875s # const gchar *arg_an_ay, 1875s # const gchar *const *arg_an_as, 1875s # const gchar *const *arg_an_ao, 1875s # const gchar *const *arg_an_aay, 1875s # GVariant *arg_an_asv, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "SameMethodWithManyArgs", 1875s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1875s # arg_an_b, 1875s # arg_an_y, 1875s # arg_an_n, 1875s # arg_an_q, 1875s # arg_an_i, 1875s # arg_an_u, 1875s # arg_an_x, 1875s # arg_an_t, 1875s # arg_an_d, 1875s # arg_an_s, 1875s # arg_an_o, 1875s # arg_an_g, 1875s # arg_an_h, 1875s # arg_an_ay, 1875s # arg_an_as, 1875s # arg_an_ao, 1875s # arg_an_aay, 1875s # arg_an_asv), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1875s # * @proxy: A #OrgProjectCallableIfaceProxy. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1875s # OrgProjectCallableIface *proxy, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "()"); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1875s # * @proxy: A #OrgProjectCallableIfaceProxy. 1875s # * @arg_an_b: Argument to pass with the method invocation. 1875s # * @arg_an_y: Argument to pass with the method invocation. 1875s # * @arg_an_n: Argument to pass with the method invocation. 1875s # * @arg_an_q: Argument to pass with the method invocation. 1875s # * @arg_an_i: Argument to pass with the method invocation. 1875s # * @arg_an_u: Argument to pass with the method invocation. 1875s # * @arg_an_x: Argument to pass with the method invocation. 1875s # * @arg_an_t: Argument to pass with the method invocation. 1875s # * @arg_an_d: Argument to pass with the method invocation. 1875s # * @arg_an_s: Argument to pass with the method invocation. 1875s # * @arg_an_o: Argument to pass with the method invocation. 1875s # * @arg_an_g: Argument to pass with the method invocation. 1875s # * @arg_an_h: Argument to pass with the method invocation. 1875s # * @arg_an_ay: Argument to pass with the method invocation. 1875s # * @arg_an_as: Argument to pass with the method invocation. 1875s # * @arg_an_ao: Argument to pass with the method invocation. 1875s # * @arg_an_aay: Argument to pass with the method invocation. 1875s # * @arg_an_asv: Argument to pass with the method invocation. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1875s # OrgProjectCallableIface *proxy, 1875s # gboolean arg_an_b, 1875s # guchar arg_an_y, 1875s # gint16 arg_an_n, 1875s # guint16 arg_an_q, 1875s # gint arg_an_i, 1875s # guint arg_an_u, 1875s # gint64 arg_an_x, 1875s # guint64 arg_an_t, 1875s # gdouble arg_an_d, 1875s # const gchar *arg_an_s, 1875s # const gchar *arg_an_o, 1875s # const gchar *arg_an_g, 1875s # GVariant *arg_an_h, 1875s # const gchar *arg_an_ay, 1875s # const gchar *const *arg_an_as, 1875s # const gchar *const *arg_an_ao, 1875s # const gchar *const *arg_an_aay, 1875s # GVariant *arg_an_asv, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "SameMethodWithManyArgs", 1875s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1875s # arg_an_b, 1875s # arg_an_y, 1875s # arg_an_n, 1875s # arg_an_q, 1875s # arg_an_i, 1875s # arg_an_u, 1875s # arg_an_x, 1875s # arg_an_t, 1875s # arg_an_d, 1875s # arg_an_s, 1875s # arg_an_o, 1875s # arg_an_g, 1875s # arg_an_h, 1875s # arg_an_ay, 1875s # arg_an_as, 1875s # arg_an_ao, 1875s # arg_an_aay, 1875s # arg_an_asv), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "()"); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_complete_method_with_many_args: 1875s # * @object: A #OrgProjectCallableIface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_callable_iface_complete_method_with_many_args ( 1875s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("()")); 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_complete_same_method_with_many_args: 1875s # * @object: A #OrgProjectCallableIface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_callable_iface_complete_same_method_with_many_args ( 1875s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("()")); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectCallableIfaceProxy: 1875s # * 1875s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectCallableIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectCallableIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectCallableIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_callable_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_callable_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectCallableIface * 1875s # org_project_callable_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectCallableIface * 1875s # org_project_callable_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_callable_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_callable_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectCallableIface * 1875s # org_project_callable_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectCallableIface * 1875s # org_project_callable_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectCallableIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectCallableIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectCallableIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_callable_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_callable_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_callable_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1875s # { 1875s # _org_project_callable_iface_skeleton_handle_method_call, 1875s # _org_project_callable_iface_skeleton_handle_get_property, 1875s # _org_project_callable_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_callable_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_callable_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectCallableIface * 1875s # org_project_callable_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.OtherCallableIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectOtherCallableIface 1875s # * @title: OrgProjectOtherCallableIface 1875s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_b", 1875s # (gchar *) "b", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_y", 1875s # (gchar *) "y", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_n", 1875s # (gchar *) "n", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_q", 1875s # (gchar *) "q", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_i", 1875s # (gchar *) "i", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_u", 1875s # (gchar *) "u", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_x", 1875s # (gchar *) "x", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_t", 1875s # (gchar *) "t", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_d", 1875s # (gchar *) "d", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_s", 1875s # (gchar *) "s", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_o", 1875s # (gchar *) "o", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_g", 1875s # (gchar *) "g", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_h", 1875s # (gchar *) "h", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_ay", 1875s # (gchar *) "ay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_as", 1875s # (gchar *) "as", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_ao", 1875s # (gchar *) "ao", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_aay", 1875s # (gchar *) "aay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_asv", 1875s # (gchar *) "a{sv}", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1875s # { 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "MethodWithManyArgs", 1875s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "handle-method-with-many-args", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1875s # { 1875s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.OtherCallableIface", 1875s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-other-callable-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_other_callable_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_other_callable_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_callable_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _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, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectOtherCallableIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectOtherCallableIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1875s # */ 1875s # 1875s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1875s # * @object: A #OrgProjectOtherCallableIface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * @arg_an_b: Argument passed by remote caller. 1875s # * @arg_an_y: Argument passed by remote caller. 1875s # * @arg_an_n: Argument passed by remote caller. 1875s # * @arg_an_q: Argument passed by remote caller. 1875s # * @arg_an_i: Argument passed by remote caller. 1875s # * @arg_an_u: Argument passed by remote caller. 1875s # * @arg_an_x: Argument passed by remote caller. 1875s # * @arg_an_t: Argument passed by remote caller. 1875s # * @arg_an_d: Argument passed by remote caller. 1875s # * @arg_an_s: Argument passed by remote caller. 1875s # * @arg_an_o: Argument passed by remote caller. 1875s # * @arg_an_g: Argument passed by remote caller. 1875s # * @arg_an_h: Argument passed by remote caller. 1875s # * @arg_an_ay: Argument passed by remote caller. 1875s # * @arg_an_as: Argument passed by remote caller. 1875s # * @arg_an_ao: Argument passed by remote caller. 1875s # * @arg_an_aay: Argument passed by remote caller. 1875s # * @arg_an_asv: Argument passed by remote caller. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-method-with-many-args", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1875s # G_TYPE_BOOLEAN, 1875s # 19, 1875s # 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); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_callable_iface_call_method_with_many_args: 1875s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1875s # * @arg_an_b: Argument to pass with the method invocation. 1875s # * @arg_an_y: Argument to pass with the method invocation. 1875s # * @arg_an_n: Argument to pass with the method invocation. 1875s # * @arg_an_q: Argument to pass with the method invocation. 1875s # * @arg_an_i: Argument to pass with the method invocation. 1875s # * @arg_an_u: Argument to pass with the method invocation. 1875s # * @arg_an_x: Argument to pass with the method invocation. 1875s # * @arg_an_t: Argument to pass with the method invocation. 1875s # * @arg_an_d: Argument to pass with the method invocation. 1875s # * @arg_an_s: Argument to pass with the method invocation. 1875s # * @arg_an_o: Argument to pass with the method invocation. 1875s # * @arg_an_g: Argument to pass with the method invocation. 1875s # * @arg_an_h: Argument to pass with the method invocation. 1875s # * @arg_an_ay: Argument to pass with the method invocation. 1875s # * @arg_an_as: Argument to pass with the method invocation. 1875s # * @arg_an_ao: Argument to pass with the method invocation. 1875s # * @arg_an_aay: Argument to pass with the method invocation. 1875s # * @arg_an_asv: Argument to pass with the method invocation. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_other_callable_iface_call_method_with_many_args ( 1875s # OrgProjectOtherCallableIface *proxy, 1875s # gboolean arg_an_b, 1875s # guchar arg_an_y, 1875s # gint16 arg_an_n, 1875s # guint16 arg_an_q, 1875s # gint arg_an_i, 1875s # guint arg_an_u, 1875s # gint64 arg_an_x, 1875s # guint64 arg_an_t, 1875s # gdouble arg_an_d, 1875s # const gchar *arg_an_s, 1875s # const gchar *arg_an_o, 1875s # const gchar *arg_an_g, 1875s # GVariant *arg_an_h, 1875s # const gchar *arg_an_ay, 1875s # const gchar *const *arg_an_as, 1875s # const gchar *const *arg_an_ao, 1875s # const gchar *const *arg_an_aay, 1875s # GVariant *arg_an_asv, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "MethodWithManyArgs", 1875s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1875s # arg_an_b, 1875s # arg_an_y, 1875s # arg_an_n, 1875s # arg_an_q, 1875s # arg_an_i, 1875s # arg_an_u, 1875s # arg_an_x, 1875s # arg_an_t, 1875s # arg_an_d, 1875s # arg_an_s, 1875s # arg_an_o, 1875s # arg_an_g, 1875s # arg_an_h, 1875s # arg_an_ay, 1875s # arg_an_as, 1875s # arg_an_ao, 1875s # arg_an_aay, 1875s # arg_an_asv), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1875s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1875s # OrgProjectOtherCallableIface *proxy, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "()"); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1875s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1875s # * @arg_an_b: Argument to pass with the method invocation. 1875s # * @arg_an_y: Argument to pass with the method invocation. 1875s # * @arg_an_n: Argument to pass with the method invocation. 1875s # * @arg_an_q: Argument to pass with the method invocation. 1875s # * @arg_an_i: Argument to pass with the method invocation. 1875s # * @arg_an_u: Argument to pass with the method invocation. 1875s # * @arg_an_x: Argument to pass with the method invocation. 1875s # * @arg_an_t: Argument to pass with the method invocation. 1875s # * @arg_an_d: Argument to pass with the method invocation. 1875s # * @arg_an_s: Argument to pass with the method invocation. 1875s # * @arg_an_o: Argument to pass with the method invocation. 1875s # * @arg_an_g: Argument to pass with the method invocation. 1875s # * @arg_an_h: Argument to pass with the method invocation. 1875s # * @arg_an_ay: Argument to pass with the method invocation. 1875s # * @arg_an_as: Argument to pass with the method invocation. 1875s # * @arg_an_ao: Argument to pass with the method invocation. 1875s # * @arg_an_aay: Argument to pass with the method invocation. 1875s # * @arg_an_asv: Argument to pass with the method invocation. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1875s # OrgProjectOtherCallableIface *proxy, 1875s # gboolean arg_an_b, 1875s # guchar arg_an_y, 1875s # gint16 arg_an_n, 1875s # guint16 arg_an_q, 1875s # gint arg_an_i, 1875s # guint arg_an_u, 1875s # gint64 arg_an_x, 1875s # guint64 arg_an_t, 1875s # gdouble arg_an_d, 1875s # const gchar *arg_an_s, 1875s # const gchar *arg_an_o, 1875s # const gchar *arg_an_g, 1875s # GVariant *arg_an_h, 1875s # const gchar *arg_an_ay, 1875s # const gchar *const *arg_an_as, 1875s # const gchar *const *arg_an_ao, 1875s # const gchar *const *arg_an_aay, 1875s # GVariant *arg_an_asv, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "MethodWithManyArgs", 1875s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1875s # arg_an_b, 1875s # arg_an_y, 1875s # arg_an_n, 1875s # arg_an_q, 1875s # arg_an_i, 1875s # arg_an_u, 1875s # arg_an_x, 1875s # arg_an_t, 1875s # arg_an_d, 1875s # arg_an_s, 1875s # arg_an_o, 1875s # arg_an_g, 1875s # arg_an_h, 1875s # arg_an_ay, 1875s # arg_an_as, 1875s # arg_an_ao, 1875s # arg_an_aay, 1875s # arg_an_asv), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "()"); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_callable_iface_complete_method_with_many_args: 1875s # * @object: A #OrgProjectOtherCallableIface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_other_callable_iface_complete_method_with_many_args ( 1875s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("()")); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectOtherCallableIfaceProxy: 1875s # * 1875s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectOtherCallableIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_callable_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_other_callable_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_callable_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectOtherCallableIface * 1875s # org_project_other_callable_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_callable_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectOtherCallableIface * 1875s # org_project_other_callable_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_other_callable_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_other_callable_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectOtherCallableIface * 1875s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectOtherCallableIface * 1875s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectOtherCallableIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectOtherCallableIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1875s # { 1875s # _org_project_other_callable_iface_skeleton_handle_method_call, 1875s # _org_project_other_callable_iface_skeleton_handle_get_property, 1875s # _org_project_other_callable_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_other_callable_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_callable_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectOtherCallableIface * 1875s # org_project_other_callable_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s ok 19 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmp48gthz3b 1875s # /tmp/tmp48gthz3b/tmpggf1gt6o.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp48gthz3b/tmpggf1gt6o.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.CallableIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectCallableIface 1875s # * @title: OrgProjectCallableIface 1875s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for org.project.CallableIface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_b", 1875s # (gchar *) "b", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_y", 1875s # (gchar *) "y", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_n", 1875s # (gchar *) "n", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_q", 1875s # (gchar *) "q", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_i", 1875s # (gchar *) "i", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_u", 1875s # (gchar *) "u", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_x", 1875s # (gchar *) "x", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_t", 1875s # (gchar *) "t", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_d", 1875s # (gchar *) "d", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_s", 1875s # (gchar *) "s", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_o", 1875s # (gchar *) "o", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_g", 1875s # (gchar *) "g", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_h", 1875s # (gchar *) "h", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_ay", 1875s # (gchar *) "ay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_as", 1875s # (gchar *) "as", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_ao", 1875s # (gchar *) "ao", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_aay", 1875s # (gchar *) "aay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_asv", 1875s # (gchar *) "a{sv}", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1875s # { 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1875s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "MethodWithManyArgs", 1875s # NULL, 1875s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-method-with-many-args", 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1875s # { 1875s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.CallableIface", 1875s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-callable-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_callable_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_callable_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_callable_iface_method_marshal_method_with_many_args ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectCallableIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectCallableIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.CallableIface. 1875s # */ 1875s # 1875s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * OrgProjectCallableIface::handle-method-with-many-args: 1875s # * @object: A #OrgProjectCallableIface. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-method-with-many-args", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # org_project_callable_iface_method_marshal_method_with_many_args, 1875s # G_TYPE_BOOLEAN, 1875s # 1, 1875s # G_TYPE_DBUS_METHOD_INVOCATION); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_call_method_with_many_args: 1875s # * @proxy: A #OrgProjectCallableIfaceProxy. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # org_project_callable_iface_call_method_with_many_args ( 1875s # OrgProjectCallableIface *proxy, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1875s # "MethodWithManyArgs", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_call_method_with_many_args_finish: 1875s # * @proxy: A #OrgProjectCallableIfaceProxy. 1875s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_callable_iface_call_method_with_many_args_finish ( 1875s # OrgProjectCallableIface *proxy, 1875s # gboolean* out_an_b, 1875s # guchar* out_an_y, 1875s # gint16* out_an_n, 1875s # guint16* out_an_q, 1875s # gint* out_an_i, 1875s # guint* out_an_u, 1875s # gint64* out_an_x, 1875s # guint64* out_an_t, 1875s # gdouble* out_an_d, 1875s # gchar ** out_an_s, 1875s # gchar ** out_an_o, 1875s # gchar ** out_an_g, 1875s # GVariant ** out_an_h, 1875s # gchar ** out_an_ay, 1875s # gchar *** out_an_as, 1875s # gchar *** out_an_ao, 1875s # gchar *** out_an_aay, 1875s # GVariant ** out_an_asv, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1875s # out_an_b, 1875s # out_an_y, 1875s # out_an_n, 1875s # out_an_q, 1875s # out_an_i, 1875s # out_an_u, 1875s # out_an_x, 1875s # out_an_t, 1875s # out_an_d, 1875s # out_an_s, 1875s # out_an_o, 1875s # out_an_g, 1875s # out_an_h, 1875s # out_an_ay, 1875s # out_an_as, 1875s # out_an_ao, 1875s # out_an_aay, 1875s # out_an_asv); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_call_method_with_many_args_sync: 1875s # * @proxy: A #OrgProjectCallableIfaceProxy. 1875s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1875s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # org_project_callable_iface_call_method_with_many_args_sync ( 1875s # OrgProjectCallableIface *proxy, 1875s # gboolean* out_an_b, 1875s # guchar* out_an_y, 1875s # gint16* out_an_n, 1875s # guint16* out_an_q, 1875s # gint* out_an_i, 1875s # guint* out_an_u, 1875s # gint64* out_an_x, 1875s # guint64* out_an_t, 1875s # gdouble* out_an_d, 1875s # gchar ** out_an_s, 1875s # gchar ** out_an_o, 1875s # gchar ** out_an_g, 1875s # GVariant ** out_an_h, 1875s # gchar ** out_an_ay, 1875s # gchar *** out_an_as, 1875s # gchar *** out_an_ao, 1875s # gchar *** out_an_aay, 1875s # GVariant ** out_an_asv, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1875s # "MethodWithManyArgs", 1875s # g_variant_new ("()"), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1875s # out_an_b, 1875s # out_an_y, 1875s # out_an_n, 1875s # out_an_q, 1875s # out_an_i, 1875s # out_an_u, 1875s # out_an_x, 1875s # out_an_t, 1875s # out_an_d, 1875s # out_an_s, 1875s # out_an_o, 1875s # out_an_g, 1875s # out_an_h, 1875s # out_an_ay, 1875s # out_an_as, 1875s # out_an_ao, 1875s # out_an_aay, 1875s # out_an_asv); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_complete_method_with_many_args: 1875s # * @object: A #OrgProjectCallableIface. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @an_b: Parameter to return. 1875s # * @an_y: Parameter to return. 1875s # * @an_n: Parameter to return. 1875s # * @an_q: Parameter to return. 1875s # * @an_i: Parameter to return. 1875s # * @an_u: Parameter to return. 1875s # * @an_x: Parameter to return. 1875s # * @an_t: Parameter to return. 1875s # * @an_d: Parameter to return. 1875s # * @an_s: Parameter to return. 1875s # * @an_o: Parameter to return. 1875s # * @an_g: Parameter to return. 1875s # * @an_h: Parameter to return. 1875s # * @an_ay: Parameter to return. 1875s # * @an_as: Parameter to return. 1875s # * @an_ao: Parameter to return. 1875s # * @an_aay: Parameter to return. 1875s # * @an_asv: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # org_project_callable_iface_complete_method_with_many_args ( 1875s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # gboolean an_b, 1875s # guchar an_y, 1875s # gint16 an_n, 1875s # guint16 an_q, 1875s # gint an_i, 1875s # guint an_u, 1875s # gint64 an_x, 1875s # guint64 an_t, 1875s # gdouble an_d, 1875s # const gchar *an_s, 1875s # const gchar *an_o, 1875s # const gchar *an_g, 1875s # GVariant *an_h, 1875s # const gchar *an_ay, 1875s # const gchar *const *an_as, 1875s # const gchar *const *an_ao, 1875s # const gchar *const *an_aay, 1875s # GVariant *an_asv) 1875s # { 1875s # g_dbus_method_invocation_return_value (invocation, 1875s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1875s # an_b, 1875s # an_y, 1875s # an_n, 1875s # an_q, 1875s # an_i, 1875s # an_u, 1875s # an_x, 1875s # an_t, 1875s # an_d, 1875s # an_s, 1875s # an_o, 1875s # an_g, 1875s # an_h, 1875s # an_ay, 1875s # an_as, 1875s # an_ao, 1875s # an_aay, 1875s # an_asv)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectCallableIfaceProxy: 1875s # * 1875s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectCallableIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectCallableIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectCallableIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_callable_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_callable_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectCallableIface * 1875s # org_project_callable_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectCallableIface * 1875s # org_project_callable_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_callable_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_callable_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectCallableIface * 1875s # org_project_callable_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectCallableIface * 1875s # org_project_callable_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectCallableIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectCallableIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectCallableIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_callable_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_callable_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_callable_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1875s # { 1875s # _org_project_callable_iface_skeleton_handle_method_call, 1875s # _org_project_callable_iface_skeleton_handle_get_property, 1875s # _org_project_callable_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_callable_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_callable_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_callable_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectCallableIface * 1875s # org_project_callable_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s ok 20 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmp74t8sm4f 1875s # /tmp/tmp74t8sm4f/tmp7rt6e277.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74t8sm4f/tmp7rt6e277.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1875s # (void *data1, 1875s # GDBusMethodInvocation *arg_method_invocation, 1875s # GUnixFDList *arg_fd_list, 1875s # const gchar *arg_greeting, 1875s # void *data2); 1875s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # gboolean v_return; 1875s # 1875s # g_return_if_fail (return_value != NULL); 1875s # g_return_if_fail (n_param_values == 4); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # v_return = 1875s # callback (data1, 1875s # g_marshal_value_peek_object (param_values + 1), 1875s # g_marshal_value_peek_object (param_values + 2), 1875s # g_marshal_value_peek_string (param_values + 3), 1875s # data2); 1875s # 1875s # g_value_set_boolean (return_value, v_return); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface test.FDPassing 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:TestFDPassing 1875s # * @title: TestFDPassing 1875s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1875s # * 1875s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1875s # */ 1875s # 1875s # /* ---- Introspection data for test.FDPassing ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "greeting", 1875s # (gchar *) "s", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1875s # { 1875s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "response", 1875s # (gchar *) "s", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1875s # { 1875s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "HelloFD", 1875s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1875s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "handle-hello-fd", 1875s # TRUE 1875s # }; 1875s # 1875s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1875s # { 1875s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "test.FDPassing", 1875s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1875s # NULL, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "test-fdpassing", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * test_fdpassing_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # test_fdpassing_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * test_fdpassing_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # test_fdpassing_method_marshal_hello_fd ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * TestFDPassing: 1875s # * 1875s # * Abstract interface type for the D-Bus interface test.FDPassing. 1875s # */ 1875s # 1875s # /** 1875s # * TestFDPassingIface: 1875s # * @parent_iface: The parent interface. 1875s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1875s # * 1875s # * Virtual table for the D-Bus interface test.FDPassing. 1875s # */ 1875s # 1875s # typedef TestFDPassingIface TestFDPassingInterface; 1875s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # test_fdpassing_default_init (TestFDPassingIface *iface) 1875s # { 1875s # /* GObject signals for incoming D-Bus method calls: */ 1875s # /** 1875s # * TestFDPassing::handle-hello-fd: 1875s # * @object: A #TestFDPassing. 1875s # * @invocation: A #GDBusMethodInvocation. 1875s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1875s # * @arg_greeting: Argument passed by remote caller. 1875s # * 1875s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1875s # * 1875s # * 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. 1875s # * 1875s # * 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. 1875s # */ 1875s # g_signal_new ("handle-hello-fd", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1875s # g_signal_accumulator_true_handled, 1875s # NULL, 1875s # test_fdpassing_method_marshal_hello_fd, 1875s # G_TYPE_BOOLEAN, 1875s # 3, 1875s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * test_fdpassing_call_hello_fd: 1875s # * @proxy: A #TestFDPassingProxy. 1875s # * @arg_greeting: Argument to pass with the method invocation. 1875s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1875s # * 1875s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1875s # */ 1875s # void 1875s # test_fdpassing_call_hello_fd ( 1875s # TestFDPassing *proxy, 1875s # const gchar *arg_greeting, 1875s # GUnixFDList *fd_list, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1875s # "HelloFD", 1875s # g_variant_new ("(s)", 1875s # arg_greeting), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # fd_list, 1875s # cancellable, 1875s # callback, 1875s # user_data); 1875s # } 1875s # 1875s # /** 1875s # * test_fdpassing_call_hello_fd_finish: 1875s # * @proxy: A #TestFDPassingProxy. 1875s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # test_fdpassing_call_hello_fd_finish ( 1875s # TestFDPassing *proxy, 1875s # gchar ** out_response, 1875s # GUnixFDList **out_fd_list, 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(s)", 1875s # out_response); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * test_fdpassing_call_hello_fd_sync: 1875s # * @proxy: A #TestFDPassingProxy. 1875s # * @arg_greeting: Argument to pass with the method invocation. 1875s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1875s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1875s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL. 1875s # * 1875s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1875s # * 1875s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1875s # * 1875s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1875s # */ 1875s # gboolean 1875s # test_fdpassing_call_hello_fd_sync ( 1875s # TestFDPassing *proxy, 1875s # const gchar *arg_greeting, 1875s # GUnixFDList *fd_list, 1875s # gchar ** out_response, 1875s # GUnixFDList **out_fd_list, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GVariant *_ret; 1875s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1875s # "HelloFD", 1875s # g_variant_new ("(s)", 1875s # arg_greeting), 1875s # G_DBUS_CALL_FLAGS_NONE, 1875s # -1, 1875s # fd_list, 1875s # out_fd_list, 1875s # cancellable, 1875s # error); 1875s # if (_ret == NULL) 1875s # goto _out; 1875s # g_variant_get (_ret, 1875s # "(s)", 1875s # out_response); 1875s # g_variant_unref (_ret); 1875s # _out: 1875s # return _ret != NULL; 1875s # } 1875s # 1875s # /** 1875s # * test_fdpassing_complete_hello_fd: 1875s # * @object: A #TestFDPassing. 1875s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1875s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1875s # * @response: Parameter to return. 1875s # * 1875s # * 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. 1875s # * 1875s # * This method will free @invocation, you cannot use it afterwards. 1875s # */ 1875s # void 1875s # test_fdpassing_complete_hello_fd ( 1875s # TestFDPassing *object G_GNUC_UNUSED, 1875s # GDBusMethodInvocation *invocation, 1875s # GUnixFDList *fd_list, 1875s # const gchar *response) 1875s # { 1875s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1875s # g_variant_new ("(s)", 1875s # response), 1875s # fd_list); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * TestFDPassingProxy: 1875s # * 1875s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * TestFDPassingProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #TestFDPassingProxy. 1875s # */ 1875s # 1875s # struct _TestFDPassingProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (TestFDPassingProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # test_fdpassing_proxy_finalize (GObject *object) 1875s # { 1875s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1875s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1875s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1875s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * test_fdpassing_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # test_fdpassing_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * test_fdpassing_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with test_fdpassing_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # TestFDPassing * 1875s # test_fdpassing_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return TEST_FDPASSING (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * test_fdpassing_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # TestFDPassing * 1875s # test_fdpassing_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return TEST_FDPASSING (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * test_fdpassing_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # test_fdpassing_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * test_fdpassing_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # TestFDPassing * 1875s # test_fdpassing_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return TEST_FDPASSING (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * test_fdpassing_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # TestFDPassing * 1875s # test_fdpassing_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return TEST_FDPASSING (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * TestFDPassingSkeleton: 1875s # * 1875s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * TestFDPassingSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #TestFDPassingSkeleton. 1875s # */ 1875s # 1875s # struct _TestFDPassingSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _test_fdpassing_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _test_fdpassing_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _test_fdpassing_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1875s # { 1875s # _test_fdpassing_skeleton_handle_method_call, 1875s # _test_fdpassing_skeleton_handle_get_property, 1875s # _test_fdpassing_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return test_fdpassing_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # test_fdpassing_skeleton_finalize (GObject *object) 1875s # { 1875s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * test_fdpassing_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1875s # * 1875s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1875s # */ 1875s # TestFDPassing * 1875s # test_fdpassing_skeleton_new (void) 1875s # { 1875s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s ok 21 __main__.TestCodegen.test_generate_rst 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpulxx62u3 1875s # /tmp/tmpulxx62u3/tmpe36_l9cj.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpulxx62u3/tmpe36_l9cj.xml', '--generate-rst', 'test'] 1875s # Return code: 0 1875s # Output: 1875s # 1875s # Error: 1875s ok 22 __main__.TestCodegen.test_generate_rst_method 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpkzu1g65u 1875s # /tmp/tmpkzu1g65u/tmpxfb_u53g.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkzu1g65u/tmpxfb_u53g.xml', '--generate-rst', 'test'] 1875s # Return code: 0 1875s # Output: 1875s # 1875s # Error: 1875s ok 23 __main__.TestCodegen.test_generate_rst_property 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpadl5_58u 1875s # /tmp/tmpadl5_58u/tmpxbctgtvo.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpadl5_58u/tmpxbctgtvo.xml', '--generate-rst', 'test'] 1875s # Return code: 0 1875s # Output: 1875s # 1875s # Error: 1875s ok 24 __main__.TestCodegen.test_generate_rst_signal 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmp0siz0u_a 1875s # /tmp/tmp0siz0u_a/tmpu2y4qcr3.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0siz0u_a/tmpu2y4qcr3.xml', '--generate-rst', 'test'] 1875s # Return code: 0 1875s # Output: 1875s # 1875s # Error: 1875s ok 25 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmp6q2xryrv 1875s # /tmp/tmp6q2xryrv/tmptnjx_zgu.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6q2xryrv/tmptnjx_zgu.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1875s # GClosure *closure, 1875s # GValue *return_value G_GNUC_UNUSED, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1875s # (void *data1, 1875s # gboolean arg_an_b, 1875s # guchar arg_an_y, 1875s # gint16 arg_an_n, 1875s # guint16 arg_an_q, 1875s # gint arg_an_i, 1875s # guint arg_an_u, 1875s # gint64 arg_an_x, 1875s # guint64 arg_an_t, 1875s # gdouble arg_an_d, 1875s # const gchar *arg_an_s, 1875s # const gchar *arg_an_o, 1875s # const gchar *arg_an_g, 1875s # GVariant *arg_an_h, 1875s # const gchar *arg_an_ay, 1875s # const gchar *const *arg_an_as, 1875s # const gchar *const *arg_an_ao, 1875s # const gchar *const *arg_an_aay, 1875s # GVariant *arg_an_asv, 1875s # void *data2); 1875s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # 1875s # g_return_if_fail (n_param_values == 19); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # callback (data1, 1875s # g_marshal_value_peek_boolean (param_values + 1), 1875s # g_marshal_value_peek_uchar (param_values + 2), 1875s # g_marshal_value_peek_int (param_values + 3), 1875s # g_marshal_value_peek_uint (param_values + 4), 1875s # g_marshal_value_peek_int (param_values + 5), 1875s # g_marshal_value_peek_uint (param_values + 6), 1875s # g_marshal_value_peek_int64 (param_values + 7), 1875s # g_marshal_value_peek_uint64 (param_values + 8), 1875s # g_marshal_value_peek_double (param_values + 9), 1875s # g_marshal_value_peek_string (param_values + 10), 1875s # g_marshal_value_peek_string (param_values + 11), 1875s # g_marshal_value_peek_string (param_values + 12), 1875s # g_marshal_value_peek_variant (param_values + 13), 1875s # g_marshal_value_peek_string (param_values + 14), 1875s # g_marshal_value_peek_boxed (param_values + 15), 1875s # g_marshal_value_peek_boxed (param_values + 16), 1875s # g_marshal_value_peek_boxed (param_values + 17), 1875s # g_marshal_value_peek_variant (param_values + 18), 1875s # data2); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_b", 1875s # (gchar *) "b", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_y", 1875s # (gchar *) "y", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_n", 1875s # (gchar *) "n", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_q", 1875s # (gchar *) "q", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_i", 1875s # (gchar *) "i", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_u", 1875s # (gchar *) "u", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_x", 1875s # (gchar *) "x", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_t", 1875s # (gchar *) "t", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_d", 1875s # (gchar *) "d", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_s", 1875s # (gchar *) "s", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_o", 1875s # (gchar *) "o", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_g", 1875s # (gchar *) "g", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_h", 1875s # (gchar *) "h", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_ay", 1875s # (gchar *) "ay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_as", 1875s # (gchar *) "as", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_ao", 1875s # (gchar *) "ao", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_aay", 1875s # (gchar *) "aay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_asv", 1875s # (gchar *) "a{sv}", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SignalWithManyArgs", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "signal-with-many-args" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::signal-with-many-args: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_b: Argument. 1875s # * @arg_an_y: Argument. 1875s # * @arg_an_n: Argument. 1875s # * @arg_an_q: Argument. 1875s # * @arg_an_i: Argument. 1875s # * @arg_an_u: Argument. 1875s # * @arg_an_x: Argument. 1875s # * @arg_an_t: Argument. 1875s # * @arg_an_d: Argument. 1875s # * @arg_an_s: Argument. 1875s # * @arg_an_o: Argument. 1875s # * @arg_an_g: Argument. 1875s # * @arg_an_h: Argument. 1875s # * @arg_an_ay: Argument. 1875s # * @arg_an_as: Argument. 1875s # * @arg_an_ao: Argument. 1875s # * @arg_an_aay: Argument. 1875s # * @arg_an_asv: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1875s # g_signal_new ("signal-with-many-args", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1875s # G_TYPE_NONE, 1875s # 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); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_signal_with_many_args: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_b: Argument to pass with the signal. 1875s # * @arg_an_y: Argument to pass with the signal. 1875s # * @arg_an_n: Argument to pass with the signal. 1875s # * @arg_an_q: Argument to pass with the signal. 1875s # * @arg_an_i: Argument to pass with the signal. 1875s # * @arg_an_u: Argument to pass with the signal. 1875s # * @arg_an_x: Argument to pass with the signal. 1875s # * @arg_an_t: Argument to pass with the signal. 1875s # * @arg_an_d: Argument to pass with the signal. 1875s # * @arg_an_s: Argument to pass with the signal. 1875s # * @arg_an_o: Argument to pass with the signal. 1875s # * @arg_an_g: Argument to pass with the signal. 1875s # * @arg_an_h: Argument to pass with the signal. 1875s # * @arg_an_ay: Argument to pass with the signal. 1875s # * @arg_an_as: Argument to pass with the signal. 1875s # * @arg_an_ao: Argument to pass with the signal. 1875s # * @arg_an_aay: Argument to pass with the signal. 1875s # * @arg_an_asv: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SignalWithManyArgs" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_signal_with_many_args ( 1875s # OrgProjectSignalingIface *object, 1875s # gboolean arg_an_b, 1875s # guchar arg_an_y, 1875s # gint16 arg_an_n, 1875s # guint16 arg_an_q, 1875s # gint arg_an_i, 1875s # guint arg_an_u, 1875s # gint64 arg_an_x, 1875s # guint64 arg_an_t, 1875s # gdouble arg_an_d, 1875s # const gchar *arg_an_s, 1875s # const gchar *arg_an_o, 1875s # const gchar *arg_an_g, 1875s # GVariant *arg_an_h, 1875s # const gchar *arg_an_ay, 1875s # const gchar *const *arg_an_as, 1875s # const gchar *const *arg_an_ao, 1875s # const gchar *const *arg_an_aay, 1875s # GVariant *arg_an_asv) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1875s # OrgProjectSignalingIface *object, 1875s # gboolean arg_an_b, 1875s # guchar arg_an_y, 1875s # gint16 arg_an_n, 1875s # guint16 arg_an_q, 1875s # gint arg_an_i, 1875s # guint arg_an_u, 1875s # gint64 arg_an_x, 1875s # guint64 arg_an_t, 1875s # gdouble arg_an_d, 1875s # const gchar *arg_an_s, 1875s # const gchar *arg_an_o, 1875s # const gchar *arg_an_g, 1875s # GVariant *arg_an_h, 1875s # const gchar *arg_an_ay, 1875s # const gchar *const *arg_an_as, 1875s # const gchar *const *arg_an_ao, 1875s # const gchar *const *arg_an_aay, 1875s # GVariant *arg_an_asv) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1875s # arg_an_b, 1875s # arg_an_y, 1875s # arg_an_n, 1875s # arg_an_q, 1875s # arg_an_i, 1875s # arg_an_u, 1875s # arg_an_x, 1875s # arg_an_t, 1875s # arg_an_d, 1875s # arg_an_s, 1875s # arg_an_o, 1875s # arg_an_g, 1875s # arg_an_h, 1875s # arg_an_ay, 1875s # arg_an_as, 1875s # arg_an_ao, 1875s # arg_an_aay, 1875s # arg_an_asv)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s ok 26 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpk71q_y2t 1875s # /tmp/tmpk71q_y2t/tmp_k4ao9de.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk71q_y2t/tmp_k4ao9de.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_VOID__INT64 ( 1875s # GClosure *closure, 1875s # GValue *return_value G_GNUC_UNUSED, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1875s # (void *data1, 1875s # gint64 arg_an_x, 1875s # void *data2); 1875s # _GDbusCodegenMarshalVoid_Int64Func callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # callback (data1, 1875s # g_marshal_value_peek_int64 (param_values + 1), 1875s # data2); 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1875s # GClosure *closure, 1875s # GValue *return_value G_GNUC_UNUSED, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1875s # (void *data1, 1875s # guint64 arg_an_t, 1875s # void *data2); 1875s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # callback (data1, 1875s # g_marshal_value_peek_uint64 (param_values + 1), 1875s # data2); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "NoArgSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "no-arg-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_b", 1875s # (gchar *) "b", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalB", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-b" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_y", 1875s # (gchar *) "y", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalY", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-y" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_n", 1875s # (gchar *) "n", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalN", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-n" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_q", 1875s # (gchar *) "q", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalQ", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-q" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_i", 1875s # (gchar *) "i", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalI", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-i" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_u", 1875s # (gchar *) "u", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalU", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-u" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_x", 1875s # (gchar *) "x", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalX", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-x" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_t", 1875s # (gchar *) "t", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalT", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-t" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_d", 1875s # (gchar *) "d", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalD", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-d" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_s", 1875s # (gchar *) "s", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalS", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-s" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_o", 1875s # (gchar *) "o", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalO", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-o" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_g", 1875s # (gchar *) "g", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalG", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-g" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_h", 1875s # (gchar *) "h", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalH", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-h" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_ay", 1875s # (gchar *) "ay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalAY", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-ay" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_as", 1875s # (gchar *) "as", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalAS", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-as" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_ao", 1875s # (gchar *) "ao", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalAO", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-ao" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_aay", 1875s # (gchar *) "aay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalAAY", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-aay" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_asv", 1875s # (gchar *) "a{sv}", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalASV", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-asv" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__UCHAR (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__INT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__UINT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__INT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__UINT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__DOUBLE (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__STRING (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__STRING (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__STRING (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VARIANT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__STRING (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__BOXED (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__BOXED (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__BOXED (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VARIANT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1875s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1875s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1875s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1875s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1875s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1875s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1875s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1875s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1875s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1875s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1875s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1875s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1875s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1875s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1875s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1875s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1875s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1875s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::no-arg-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1875s # g_signal_new ("no-arg-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-b: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_b: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1875s # g_signal_new ("single-arg-signal-b", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_BOOLEAN); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-y: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_y: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1875s # g_signal_new ("single-arg-signal-y", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_UCHAR); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-n: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_n: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1875s # g_signal_new ("single-arg-signal-n", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_INT); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-q: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_q: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1875s # g_signal_new ("single-arg-signal-q", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_UINT); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-i: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_i: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1875s # g_signal_new ("single-arg-signal-i", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_INT); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-u: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_u: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1875s # g_signal_new ("single-arg-signal-u", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_UINT); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-x: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_x: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1875s # g_signal_new ("single-arg-signal-x", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_INT64); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-t: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_t: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1875s # g_signal_new ("single-arg-signal-t", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_UINT64); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-d: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_d: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1875s # g_signal_new ("single-arg-signal-d", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_DOUBLE); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-s: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_s: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1875s # g_signal_new ("single-arg-signal-s", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_STRING); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-o: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_o: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1875s # g_signal_new ("single-arg-signal-o", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_STRING); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-g: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_g: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1875s # g_signal_new ("single-arg-signal-g", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_STRING); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-h: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_h: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1875s # g_signal_new ("single-arg-signal-h", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_VARIANT); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-ay: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_ay: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1875s # g_signal_new ("single-arg-signal-ay", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_STRING); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-as: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_as: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1875s # g_signal_new ("single-arg-signal-as", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_STRV); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-ao: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_ao: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1875s # g_signal_new ("single-arg-signal-ao", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_STRV); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-aay: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_aay: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1875s # g_signal_new ("single-arg-signal-aay", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_STRV); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-asv: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_asv: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1875s # g_signal_new ("single-arg-signal-asv", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_VARIANT); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_no_arg_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "NoArgSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_no_arg_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_b: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_b: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalB" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_b ( 1875s # OrgProjectSignalingIface *object, 1875s # gboolean arg_an_b) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_y: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_y: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalY" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_y ( 1875s # OrgProjectSignalingIface *object, 1875s # guchar arg_an_y) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_n: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_n: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalN" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_n ( 1875s # OrgProjectSignalingIface *object, 1875s # gint16 arg_an_n) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_q: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_q: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalQ" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_q ( 1875s # OrgProjectSignalingIface *object, 1875s # guint16 arg_an_q) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_i: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_i: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalI" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_i ( 1875s # OrgProjectSignalingIface *object, 1875s # gint arg_an_i) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_u: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_u: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalU" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_u ( 1875s # OrgProjectSignalingIface *object, 1875s # guint arg_an_u) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_x: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_x: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalX" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_x ( 1875s # OrgProjectSignalingIface *object, 1875s # gint64 arg_an_x) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_t: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_t: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalT" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_t ( 1875s # OrgProjectSignalingIface *object, 1875s # guint64 arg_an_t) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_d: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_d: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalD" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_d ( 1875s # OrgProjectSignalingIface *object, 1875s # gdouble arg_an_d) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_s: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_s: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalS" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_s ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_an_s) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_o: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_o: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalO" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_o ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_an_o) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_g: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_g: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalG" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_g ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_an_g) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_h: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_h: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalH" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_h ( 1875s # OrgProjectSignalingIface *object, 1875s # GVariant *arg_an_h) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_ay: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalAY" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_an_ay) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_as: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_as: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalAS" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_as ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *const *arg_an_as) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_ao: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalAO" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *const *arg_an_ao) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_aay: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *const *arg_an_aay) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_asv: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalASV" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1875s # OrgProjectSignalingIface *object, 1875s # GVariant *arg_an_asv) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1875s # OrgProjectSignalingIface *object, 1875s # gboolean arg_an_b) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1875s # arg_an_b)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1875s # OrgProjectSignalingIface *object, 1875s # guchar arg_an_y) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1875s # arg_an_y)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1875s # OrgProjectSignalingIface *object, 1875s # gint16 arg_an_n) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1875s # arg_an_n)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1875s # OrgProjectSignalingIface *object, 1875s # guint16 arg_an_q) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1875s # arg_an_q)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1875s # OrgProjectSignalingIface *object, 1875s # gint arg_an_i) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1875s # arg_an_i)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1875s # OrgProjectSignalingIface *object, 1875s # guint arg_an_u) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1875s # arg_an_u)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1875s # OrgProjectSignalingIface *object, 1875s # gint64 arg_an_x) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1875s # arg_an_x)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1875s # OrgProjectSignalingIface *object, 1875s # guint64 arg_an_t) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1875s # arg_an_t)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1875s # OrgProjectSignalingIface *object, 1875s # gdouble arg_an_d) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1875s # arg_an_d)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_an_s) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1875s # arg_an_s)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_an_o) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1875s # arg_an_o)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_an_g) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1875s # arg_an_g)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1875s # OrgProjectSignalingIface *object, 1875s # GVariant *arg_an_h) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1875s # arg_an_h)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_an_ay) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1875s # arg_an_ay)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *const *arg_an_as) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1875s # arg_an_as)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *const *arg_an_ao) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1875s # arg_an_ao)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *const *arg_an_aay) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1875s # arg_an_aay)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1875s # OrgProjectSignalingIface *object, 1875s # GVariant *arg_an_asv) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1875s # arg_an_asv)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1875s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1875s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1875s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1875s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1875s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1875s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1875s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1875s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1875s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1875s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1875s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1875s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1875s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1875s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1875s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1875s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1875s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1875s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s ok 27 __main__.TestCodegen.test_generate_signal_id_simple_signal 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmptpcuymty 1875s # /tmp/tmptpcuymty/tmp2notl4w8.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptpcuymty/tmp2notl4w8.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.UsefulInterface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectUsefulInterface 1875s # * @title: OrgProjectUsefulInterface 1875s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.UsefulInterface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-useful-interface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_useful_interface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_useful_interface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1875s # */ 1875s # 1875s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectUsefulInterface::simple-signal: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_useful_interface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_emit_simple_signal: 1875s # * @object: A #OrgProjectUsefulInterface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_useful_interface_emit_simple_signal ( 1875s # OrgProjectUsefulInterface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxy: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1875s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1875s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_useful_interface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # g_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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeleton: 1875s # * 1875s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectUsefulInterfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_useful_interface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_useful_interface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_useful_interface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1875s # { 1875s # _org_project_useful_interface_skeleton_handle_method_call, 1875s # _org_project_useful_interface_skeleton_handle_get_property, 1875s # _org_project_useful_interface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_useful_interface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_useful_interface_on_signal_simple_signal ( 1875s # OrgProjectUsefulInterface *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_useful_interface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1875s # } 1875s # 1875s # /** 1875s # * org_project_useful_interface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectUsefulInterface * 1875s # org_project_useful_interface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.OtherIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectOtherIface 1875s # * @title: OrgProjectOtherIface 1875s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.OtherIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.OtherIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-other-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_other_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_other_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_other_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectOtherIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectOtherIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.OtherIface. 1875s # */ 1875s # 1875s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectOtherIface::simple-signal: 1875s # * @object: A #OrgProjectOtherIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_other_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectOtherIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_other_iface_emit_simple_signal ( 1875s # OrgProjectOtherIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectOtherIfaceProxy: 1875s # * 1875s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectOtherIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectOtherIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectOtherIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_other_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_other_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectOtherIface * 1875s # org_project_other_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_OTHER_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectOtherIface * 1875s # org_project_other_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_OTHER_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_other_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_other_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectOtherIface * 1875s # org_project_other_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_OTHER_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectOtherIface * 1875s # org_project_other_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_OTHER_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectOtherIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectOtherIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectOtherIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_other_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_other_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_other_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1875s # { 1875s # _org_project_other_iface_skeleton_handle_method_call, 1875s # _org_project_other_iface_skeleton_handle_get_property, 1875s # _org_project_other_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_other_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_other_iface_on_signal_simple_signal ( 1875s # OrgProjectOtherIface *object) 1875s # { 1875s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_other_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectOtherIface * 1875s # org_project_other_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s ok 28 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpphd073pn 1875s # /tmp/tmpphd073pn/tmplrs6jzoo.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpphd073pn/tmplrs6jzoo.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.OtherSignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectOtherSignalingIface 1875s # * @title: OrgProjectOtherSignalingIface 1875s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.OtherSignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-other-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_other_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_other_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectOtherSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectOtherSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectOtherSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectOtherSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectOtherSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_other_signaling_iface_emit_simple_signal ( 1875s # OrgProjectOtherSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectOtherSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectOtherSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_other_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectOtherSignalingIface * 1875s # org_project_other_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectOtherSignalingIface * 1875s # org_project_other_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_other_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_other_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectOtherSignalingIface * 1875s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectOtherSignalingIface * 1875s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectOtherSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_other_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectOtherSignalingIface *object) 1875s # { 1875s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1875s # } 1875s # 1875s # /** 1875s # * org_project_other_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectOtherSignalingIface * 1875s # org_project_other_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s ok 29 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpbw_2rlbd 1875s # /tmp/tmpbw_2rlbd/tmp3bta8kwk.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmp3bta8kwk.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_b", 1875s # (gchar *) "b", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalB", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-b" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-b: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_b: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1875s # g_signal_new ("single-arg-signal-b", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_BOOLEAN); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_b: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_b: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalB" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_b ( 1875s # OrgProjectSignalingIface *object, 1875s # gboolean arg_arg_b) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1875s # OrgProjectSignalingIface *object, 1875s # gboolean arg_arg_b) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1875s # arg_arg_b)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmpz8vgldt1.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmpz8vgldt1.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_y", 1875s # (gchar *) "y", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalY", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-y" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__UCHAR (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-y: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_y: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1875s # g_signal_new ("single-arg-signal-y", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_UCHAR); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_y: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_y: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalY" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_y ( 1875s # OrgProjectSignalingIface *object, 1875s # guchar arg_arg_y) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1875s # OrgProjectSignalingIface *object, 1875s # guchar arg_arg_y) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1875s # arg_arg_y)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmpzr7554n4.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmpzr7554n4.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_n", 1875s # (gchar *) "n", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalN", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-n" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__INT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-n: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_n: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1875s # g_signal_new ("single-arg-signal-n", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_INT); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_n: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_n: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalN" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_n ( 1875s # OrgProjectSignalingIface *object, 1875s # gint16 arg_arg_n) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1875s # OrgProjectSignalingIface *object, 1875s # gint16 arg_arg_n) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1875s # arg_arg_n)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmphvsiumqz.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmphvsiumqz.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_q", 1875s # (gchar *) "q", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalQ", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-q" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__UINT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-q: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_q: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1875s # g_signal_new ("single-arg-signal-q", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_UINT); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_q: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_q: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalQ" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_q ( 1875s # OrgProjectSignalingIface *object, 1875s # guint16 arg_arg_q) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1875s # OrgProjectSignalingIface *object, 1875s # guint16 arg_arg_q) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1875s # arg_arg_q)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmps9nvfrec.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmps9nvfrec.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_i", 1875s # (gchar *) "i", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalI", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-i" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__INT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-i: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_i: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1875s # g_signal_new ("single-arg-signal-i", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_INT); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_i: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_i: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalI" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_i ( 1875s # OrgProjectSignalingIface *object, 1875s # gint arg_arg_i) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1875s # OrgProjectSignalingIface *object, 1875s # gint arg_arg_i) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1875s # arg_arg_i)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmpjl4egpzn.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmpjl4egpzn.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_u", 1875s # (gchar *) "u", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalU", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-u" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__UINT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-u: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_u: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1875s # g_signal_new ("single-arg-signal-u", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_UINT); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_u: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_u: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalU" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_u ( 1875s # OrgProjectSignalingIface *object, 1875s # guint arg_arg_u) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1875s # OrgProjectSignalingIface *object, 1875s # guint arg_arg_u) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1875s # arg_arg_u)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmp07xwgwe7.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmp07xwgwe7.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_VOID__INT64 ( 1875s # GClosure *closure, 1875s # GValue *return_value G_GNUC_UNUSED, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1875s # (void *data1, 1875s # gint64 arg_arg_x, 1875s # void *data2); 1875s # _GDbusCodegenMarshalVoid_Int64Func callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # callback (data1, 1875s # g_marshal_value_peek_int64 (param_values + 1), 1875s # data2); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_x", 1875s # (gchar *) "x", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalX", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-x" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-x: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_x: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1875s # g_signal_new ("single-arg-signal-x", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_INT64); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_x: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_x: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalX" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_x ( 1875s # OrgProjectSignalingIface *object, 1875s # gint64 arg_arg_x) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1875s # OrgProjectSignalingIface *object, 1875s # gint64 arg_arg_x) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1875s # arg_arg_x)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmpgbmtx0zf.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmpgbmtx0zf.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1875s # GClosure *closure, 1875s # GValue *return_value G_GNUC_UNUSED, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1875s # (void *data1, 1875s # guint64 arg_arg_t, 1875s # void *data2); 1875s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # 1875s # g_return_if_fail (n_param_values == 2); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # callback (data1, 1875s # g_marshal_value_peek_uint64 (param_values + 1), 1875s # data2); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_t", 1875s # (gchar *) "t", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalT", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-t" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-t: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_t: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1875s # g_signal_new ("single-arg-signal-t", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_UINT64); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_t: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_t: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalT" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_t ( 1875s # OrgProjectSignalingIface *object, 1875s # guint64 arg_arg_t) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1875s # OrgProjectSignalingIface *object, 1875s # guint64 arg_arg_t) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1875s # arg_arg_t)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmpdtg6w04_.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmpdtg6w04_.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_d", 1875s # (gchar *) "d", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalD", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-d" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__DOUBLE (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-d: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_d: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1875s # g_signal_new ("single-arg-signal-d", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_DOUBLE); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_d: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_d: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalD" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_d ( 1875s # OrgProjectSignalingIface *object, 1875s # gdouble arg_arg_d) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1875s # OrgProjectSignalingIface *object, 1875s # gdouble arg_arg_d) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1875s # arg_arg_d)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmp0sdcv13q.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmp0sdcv13q.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_s", 1875s # (gchar *) "s", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalS", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-s" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__STRING (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-s: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_s: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1875s # g_signal_new ("single-arg-signal-s", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_STRING); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_s: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_s: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalS" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_s ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_arg_s) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_arg_s) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1875s # arg_arg_s)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmpgot75mn_.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmpgot75mn_.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_o", 1875s # (gchar *) "o", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalO", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-o" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__STRING (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-o: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_o: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1875s # g_signal_new ("single-arg-signal-o", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_STRING); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_o: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_o: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalO" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_o ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_arg_o) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_arg_o) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1875s # arg_arg_o)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmp8pdgt7oo.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmp8pdgt7oo.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_g", 1875s # (gchar *) "g", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalG", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-g" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__STRING (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-g: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_g: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1875s # g_signal_new ("single-arg-signal-g", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_STRING); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_g: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_g: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalG" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_g ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_arg_g) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_arg_g) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1875s # arg_arg_g)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmpra533l01.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmpra533l01.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_h", 1875s # (gchar *) "h", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalH", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-h" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VARIANT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-h: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_h: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1875s # g_signal_new ("single-arg-signal-h", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_VARIANT); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_h: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_h: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalH" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_h ( 1875s # OrgProjectSignalingIface *object, 1875s # GVariant *arg_arg_h) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1875s # OrgProjectSignalingIface *object, 1875s # GVariant *arg_arg_h) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1875s # arg_arg_h)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmpffruw_ev.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmpffruw_ev.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_ay", 1875s # (gchar *) "ay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalAy", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-ay" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__STRING (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-ay: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_ay: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1875s # g_signal_new ("single-arg-signal-ay", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_STRING); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_ay: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalAy" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_arg_ay) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *arg_arg_ay) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1875s # arg_arg_ay)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmpqmkbra6h.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmpqmkbra6h.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_as", 1875s # (gchar *) "as", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalAs", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-as" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__BOXED (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-as: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_as: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1875s # g_signal_new ("single-arg-signal-as", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_STRV); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_as: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_as: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalAs" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_as ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *const *arg_arg_as) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *const *arg_arg_as) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1875s # arg_arg_as)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmpeda6dame.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmpeda6dame.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_ao", 1875s # (gchar *) "ao", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalAo", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-ao" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__BOXED (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-ao: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_ao: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1875s # g_signal_new ("single-arg-signal-ao", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_STRV); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_ao: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalAo" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *const *arg_arg_ao) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *const *arg_arg_ao) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1875s # arg_arg_ao)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmpdk5ap3xj.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmpdk5ap3xj.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_aay", 1875s # (gchar *) "aay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalAay", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-aay" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__BOXED (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-aay: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_aay: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1875s # g_signal_new ("single-arg-signal-aay", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_STRV); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_aay: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalAay" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *const *arg_arg_aay) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1875s # OrgProjectSignalingIface *object, 1875s # const gchar *const *arg_arg_aay) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1875s # arg_arg_aay)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s # 1875s # /tmp/tmpbw_2rlbd/tmpikjq1xod.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw_2rlbd/tmpikjq1xod.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "arg_asv", 1875s # (gchar *) "a{sv}", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SingleArgSignalAsv", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "single-arg-signal-asv" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VARIANT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::single-arg-signal-asv: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_asv: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1875s # g_signal_new ("single-arg-signal-asv", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1875s # G_TYPE_NONE, 1875s # 1, G_TYPE_VARIANT); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_arg_asv: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1875s # OrgProjectSignalingIface *object, 1875s # GVariant *arg_arg_asv) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1875s # OrgProjectSignalingIface *object, 1875s # GVariant *arg_arg_asv) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1875s # arg_arg_asv)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s ok 30 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpic2qziiu 1875s # /tmp/tmpic2qziiu/tmpbo8e0n3h.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpic2qziiu/tmpbo8e0n3h.xml', '--output', '-', '--body'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifdef HAVE_CONFIG_H 1875s # # include "config.h" 1875s # #endif 1875s # 1875s # #include 1875s # #ifdef G_OS_UNIX 1875s # # include 1875s # #endif 1875s # 1875s # #ifdef G_ENABLE_DEBUG 1875s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1875s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1875s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1875s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1875s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1875s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1875s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1875s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1875s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1875s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1875s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1875s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1875s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1875s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1875s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1875s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1875s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1875s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1875s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1875s # #else /* !G_ENABLE_DEBUG */ 1875s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1875s # * Do not access GValues directly in your code. Instead, use the 1875s # * g_value_get_*() functions 1875s # */ 1875s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1875s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1875s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1875s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1875s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1875s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1875s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1875s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1875s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1875s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1875s # #endif /* !G_ENABLE_DEBUG */ 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusArgInfo parent_struct; 1875s # gboolean use_gvariant; 1875s # } _ExtendedGDBusArgInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusMethodInfo parent_struct; 1875s # const gchar *signal_name; 1875s # gboolean pass_fdlist; 1875s # } _ExtendedGDBusMethodInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusSignalInfo parent_struct; 1875s # const gchar *signal_name; 1875s # } _ExtendedGDBusSignalInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusPropertyInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # guint use_gvariant : 1; 1875s # guint emits_changed_signal : 1; 1875s # } _ExtendedGDBusPropertyInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # GDBusInterfaceInfo parent_struct; 1875s # const gchar *hyphen_name; 1875s # } _ExtendedGDBusInterfaceInfo; 1875s # 1875s # typedef struct 1875s # { 1875s # const _ExtendedGDBusPropertyInfo *info; 1875s # guint prop_id; 1875s # GValue orig_value; /* the value before the change */ 1875s # } ChangedProperty; 1875s # 1875s # static void 1875s # _changed_property_free (ChangedProperty *data) 1875s # { 1875s # g_value_unset (&data->orig_value); 1875s # g_free (data); 1875s # } 1875s # 1875s # static gboolean 1875s # _g_strv_equal0 (gchar **a, gchar **b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # guint n; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # if (g_strv_length (a) != g_strv_length (b)) 1875s # goto out; 1875s # for (n = 0; a[n] != NULL; n++) 1875s # if (g_strcmp0 (a[n], b[n]) != 0) 1875s # goto out; 1875s # ret = TRUE; 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _g_variant_equal0 (GVariant *a, GVariant *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # if (a == NULL && b == NULL) 1875s # { 1875s # ret = TRUE; 1875s # goto out; 1875s # } 1875s # if (a == NULL || b == NULL) 1875s # goto out; 1875s # ret = g_variant_equal (a, b); 1875s # out: 1875s # return ret; 1875s # } 1875s # 1875s # G_GNUC_UNUSED static gboolean 1875s # _g_value_equal (const GValue *a, const GValue *b) 1875s # { 1875s # gboolean ret = FALSE; 1875s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1875s # switch (G_VALUE_TYPE (a)) 1875s # { 1875s # case G_TYPE_BOOLEAN: 1875s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1875s # break; 1875s # case G_TYPE_UCHAR: 1875s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1875s # break; 1875s # case G_TYPE_INT: 1875s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1875s # break; 1875s # case G_TYPE_UINT: 1875s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1875s # break; 1875s # case G_TYPE_INT64: 1875s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1875s # break; 1875s # case G_TYPE_UINT64: 1875s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1875s # break; 1875s # case G_TYPE_DOUBLE: 1875s # { 1875s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1875s # gdouble da = g_value_get_double (a); 1875s # gdouble db = g_value_get_double (b); 1875s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1875s # } 1875s # break; 1875s # case G_TYPE_STRING: 1875s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1875s # break; 1875s # case G_TYPE_VARIANT: 1875s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1875s # break; 1875s # default: 1875s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1875s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1875s # else 1875s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1875s # break; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static void 1875s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1875s # GClosure *closure, 1875s # GValue *return_value G_GNUC_UNUSED, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint G_GNUC_UNUSED, 1875s # void *marshal_data) 1875s # { 1875s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1875s # (void *data1, 1875s # gboolean arg_an_b, 1875s # guchar arg_an_y, 1875s # gint16 arg_an_n, 1875s # guint16 arg_an_q, 1875s # gint arg_an_i, 1875s # guint arg_an_u, 1875s # gint64 arg_an_x, 1875s # guint64 arg_an_t, 1875s # gdouble arg_an_d, 1875s # const gchar *arg_an_s, 1875s # const gchar *arg_an_o, 1875s # const gchar *arg_an_g, 1875s # GVariant *arg_an_h, 1875s # const gchar *arg_an_ay, 1875s # const gchar *const *arg_an_as, 1875s # const gchar *const *arg_an_ao, 1875s # const gchar *const *arg_an_aay, 1875s # GVariant *arg_an_asv, 1875s # void *data2); 1875s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1875s # GCClosure *cc = (GCClosure*) closure; 1875s # void *data1, *data2; 1875s # 1875s # g_return_if_fail (n_param_values == 19); 1875s # 1875s # if (G_CCLOSURE_SWAP_DATA (closure)) 1875s # { 1875s # data1 = closure->data; 1875s # data2 = g_value_peek_pointer (param_values + 0); 1875s # } 1875s # else 1875s # { 1875s # data1 = g_value_peek_pointer (param_values + 0); 1875s # data2 = closure->data; 1875s # } 1875s # 1875s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1875s # (marshal_data ? marshal_data : cc->callback); 1875s # 1875s # callback (data1, 1875s # g_marshal_value_peek_boolean (param_values + 1), 1875s # g_marshal_value_peek_uchar (param_values + 2), 1875s # g_marshal_value_peek_int (param_values + 3), 1875s # g_marshal_value_peek_uint (param_values + 4), 1875s # g_marshal_value_peek_int (param_values + 5), 1875s # g_marshal_value_peek_uint (param_values + 6), 1875s # g_marshal_value_peek_int64 (param_values + 7), 1875s # g_marshal_value_peek_uint64 (param_values + 8), 1875s # g_marshal_value_peek_double (param_values + 9), 1875s # g_marshal_value_peek_string (param_values + 10), 1875s # g_marshal_value_peek_string (param_values + 11), 1875s # g_marshal_value_peek_string (param_values + 12), 1875s # g_marshal_value_peek_variant (param_values + 13), 1875s # g_marshal_value_peek_string (param_values + 14), 1875s # g_marshal_value_peek_boxed (param_values + 15), 1875s # g_marshal_value_peek_boxed (param_values + 16), 1875s # g_marshal_value_peek_boxed (param_values + 17), 1875s # g_marshal_value_peek_variant (param_values + 18), 1875s # data2); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ 1875s # * Code for interface org.project.SignalingIface 1875s # * ------------------------------------------------------------------------ 1875s # */ 1875s # 1875s # /** 1875s # * SECTION:OrgProjectSignalingIface 1875s # * @title: OrgProjectSignalingIface 1875s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1875s # * 1875s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1875s # */ 1875s # 1875s # enum 1875s # { 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1875s # }; 1875s # 1875s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1875s # 1875s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SimpleSignal", 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "simple-signal" 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_b", 1875s # (gchar *) "b", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_y", 1875s # (gchar *) "y", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_n", 1875s # (gchar *) "n", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_q", 1875s # (gchar *) "q", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_i", 1875s # (gchar *) "i", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_u", 1875s # (gchar *) "u", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_x", 1875s # (gchar *) "x", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_t", 1875s # (gchar *) "t", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_d", 1875s # (gchar *) "d", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_s", 1875s # (gchar *) "s", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_o", 1875s # (gchar *) "o", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_g", 1875s # (gchar *) "g", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_h", 1875s # (gchar *) "h", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_ay", 1875s # (gchar *) "ay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_as", 1875s # (gchar *) "as", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_ao", 1875s # (gchar *) "ao", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_aay", 1875s # (gchar *) "aay", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "an_asv", 1875s # (gchar *) "a{sv}", 1875s # NULL 1875s # }, 1875s # FALSE 1875s # }; 1875s # 1875s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "SignalWithManyArgs", 1875s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1875s # NULL 1875s # }, 1875s # "signal-with-many-args" 1875s # }; 1875s # 1875s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1875s # { 1875s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1875s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1875s # NULL 1875s # }; 1875s # 1875s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1875s # { 1875s # { 1875s # -1, 1875s # (gchar *) "org.project.SignalingIface", 1875s # NULL, 1875s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1875s # NULL, 1875s # NULL 1875s # }, 1875s # "org-project-signaling-iface", 1875s # }; 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_interface_info: 1875s # * 1875s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1875s # * 1875s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1875s # */ 1875s # GDBusInterfaceInfo * 1875s # org_project_signaling_iface_interface_info (void) 1875s # { 1875s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_override_properties: 1875s # * @klass: The class structure for a #GObject derived class. 1875s # * @property_id_begin: The property id to assign to the first overridden property. 1875s # * 1875s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1875s # * The properties are overridden in the order they are defined. 1875s # * 1875s # * Returns: The last property id. 1875s # */ 1875s # guint 1875s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1875s # { 1875s # return property_id_begin - 1; 1875s # } 1875s # 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_simple_signal ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # g_cclosure_marshal_VOID__VOID (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # inline static void 1875s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1875s # GClosure *closure, 1875s # GValue *return_value, 1875s # unsigned int n_param_values, 1875s # const GValue *param_values, 1875s # void *invocation_hint, 1875s # void *marshal_data) 1875s # { 1875s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1875s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1875s # } 1875s # 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface: 1875s # * 1875s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceIface: 1875s # * @parent_iface: The parent interface. 1875s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1875s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1875s # * 1875s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1875s # */ 1875s # 1875s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1875s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1875s # 1875s # static void 1875s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # /* GObject signals for received D-Bus signals: */ 1875s # /** 1875s # * OrgProjectSignalingIface::simple-signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1875s # g_signal_new ("simple-signal", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_simple_signal, 1875s # G_TYPE_NONE, 1875s # 0); 1875s # 1875s # /** 1875s # * OrgProjectSignalingIface::signal-with-many-args: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_b: Argument. 1875s # * @arg_an_y: Argument. 1875s # * @arg_an_n: Argument. 1875s # * @arg_an_q: Argument. 1875s # * @arg_an_i: Argument. 1875s # * @arg_an_u: Argument. 1875s # * @arg_an_x: Argument. 1875s # * @arg_an_t: Argument. 1875s # * @arg_an_d: Argument. 1875s # * @arg_an_s: Argument. 1875s # * @arg_an_o: Argument. 1875s # * @arg_an_g: Argument. 1875s # * @arg_an_h: Argument. 1875s # * @arg_an_ay: Argument. 1875s # * @arg_an_as: Argument. 1875s # * @arg_an_ao: Argument. 1875s # * @arg_an_aay: Argument. 1875s # * @arg_an_asv: Argument. 1875s # * 1875s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1875s # * 1875s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1875s # */ 1875s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1875s # g_signal_new ("signal-with-many-args", 1875s # G_TYPE_FROM_INTERFACE (iface), 1875s # G_SIGNAL_RUN_LAST, 1875s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1875s # NULL, 1875s # NULL, 1875s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1875s # G_TYPE_NONE, 1875s # 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); 1875s # 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_simple_signal: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * 1875s # * Emits the "SimpleSignal" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_emit_signal_with_many_args: 1875s # * @object: A #OrgProjectSignalingIface. 1875s # * @arg_an_b: Argument to pass with the signal. 1875s # * @arg_an_y: Argument to pass with the signal. 1875s # * @arg_an_n: Argument to pass with the signal. 1875s # * @arg_an_q: Argument to pass with the signal. 1875s # * @arg_an_i: Argument to pass with the signal. 1875s # * @arg_an_u: Argument to pass with the signal. 1875s # * @arg_an_x: Argument to pass with the signal. 1875s # * @arg_an_t: Argument to pass with the signal. 1875s # * @arg_an_d: Argument to pass with the signal. 1875s # * @arg_an_s: Argument to pass with the signal. 1875s # * @arg_an_o: Argument to pass with the signal. 1875s # * @arg_an_g: Argument to pass with the signal. 1875s # * @arg_an_h: Argument to pass with the signal. 1875s # * @arg_an_ay: Argument to pass with the signal. 1875s # * @arg_an_as: Argument to pass with the signal. 1875s # * @arg_an_ao: Argument to pass with the signal. 1875s # * @arg_an_aay: Argument to pass with the signal. 1875s # * @arg_an_asv: Argument to pass with the signal. 1875s # * 1875s # * Emits the "SignalWithManyArgs" D-Bus signal. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_emit_signal_with_many_args ( 1875s # OrgProjectSignalingIface *object, 1875s # gboolean arg_an_b, 1875s # guchar arg_an_y, 1875s # gint16 arg_an_n, 1875s # guint16 arg_an_q, 1875s # gint arg_an_i, 1875s # guint arg_an_u, 1875s # gint64 arg_an_x, 1875s # guint64 arg_an_t, 1875s # gdouble arg_an_d, 1875s # const gchar *arg_an_s, 1875s # const gchar *arg_an_o, 1875s # const gchar *arg_an_g, 1875s # GVariant *arg_an_h, 1875s # const gchar *arg_an_ay, 1875s # const gchar *const *arg_an_as, 1875s # const gchar *const *arg_an_ao, 1875s # const gchar *const *arg_an_aay, 1875s # GVariant *arg_an_asv) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxy: 1875s # * 1875s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceProxyClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceProxy. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceProxyPrivate 1875s # { 1875s # GData *qdata; 1875s # }; 1875s # 1875s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_proxy_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1875s # g_datalist_clear (&proxy->priv->qdata); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1875s # guint prop_id G_GNUC_UNUSED, 1875s # const GValue *value G_GNUC_UNUSED, 1875s # GParamSpec *pspec G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1875s # const gchar *sender_name G_GNUC_UNUSED, 1875s # const gchar *signal_name, 1875s # GVariant *parameters) 1875s # { 1875s # _ExtendedGDBusSignalInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # gsize n; 1875s # guint signal_id; 1875s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1875s # if (info == NULL) 1875s # return; 1875s # num_params = g_variant_n_children (parameters); 1875s # paramv = g_new0 (GValue, num_params + 1); 1875s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[0], proxy); 1875s # g_variant_iter_init (&iter, parameters); 1875s # n = 1; 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_signal_emitv (paramv, signal_id, 0, NULL); 1875s # for (n = 0; n < num_params + 1; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1875s # GVariant *changed_properties, 1875s # const gchar *const *invalidated_properties) 1875s # { 1875s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1875s # guint n; 1875s # const gchar *key; 1875s # GVariantIter *iter; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # g_variant_get (changed_properties, "a{sv}", &iter); 1875s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1875s # g_datalist_remove_data (&proxy->priv->qdata, key); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # g_variant_iter_free (iter); 1875s # for (n = 0; invalidated_properties[n] != NULL; n++) 1875s # { 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1875s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1875s # if (info != NULL) 1875s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1875s # } 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1875s # #else 1875s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1875s # #endif 1875s # 1875s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusProxyClass *proxy_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1875s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1875s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1875s # 1875s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1875s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1875s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_sync: 1875s # * @connection: A #GDBusConnection. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_sync ( 1875s # GDBusConnection *connection, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1875s # * @user_data: User data to pass to @callback. 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1875s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1875s # */ 1875s # void 1875s # org_project_signaling_iface_proxy_new_for_bus ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GAsyncReadyCallback callback, 1875s # gpointer user_data) 1875s # { 1875s # 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); 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1875s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1875s # GAsyncResult *res, 1875s # GError **error) 1875s # { 1875s # GObject *ret; 1875s # GObject *source_object; 1875s # source_object = g_async_result_get_source_object (res); 1875s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1875s # g_object_unref (source_object); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1875s # * @bus_type: A #GBusType. 1875s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1875s # * @name: A bus name (well-known or unique). 1875s # * @object_path: An object path. 1875s # * @cancellable: (nullable): A #GCancellable or %NULL. 1875s # * @error: Return location for error or %NULL 1875s # * 1875s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1875s # * 1875s # * The calling thread is blocked until a reply is received. 1875s # * 1875s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1875s # GBusType bus_type, 1875s # GDBusProxyFlags flags, 1875s # const gchar *name, 1875s # const gchar *object_path, 1875s # GCancellable *cancellable, 1875s # GError **error) 1875s # { 1875s # GInitable *ret; 1875s # 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); 1875s # if (ret != NULL) 1875s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1875s # else 1875s # return NULL; 1875s # } 1875s # 1875s # 1875s # /* ------------------------------------------------------------------------ */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeleton: 1875s # * 1875s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1875s # */ 1875s # 1875s # /** 1875s # * OrgProjectSignalingIfaceSkeletonClass: 1875s # * @parent_class: The parent class. 1875s # * 1875s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1875s # */ 1875s # 1875s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1875s # { 1875s # GValue *properties; 1875s # GList *changed_properties; 1875s # GSource *changed_properties_idle_source; 1875s # GMainContext *context; 1875s # GMutex lock; 1875s # }; 1875s # 1875s # static void 1875s # _org_project_signaling_iface_skeleton_handle_method_call ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name, 1875s # const gchar *method_name, 1875s # GVariant *parameters, 1875s # GDBusMethodInvocation *invocation, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # _ExtendedGDBusMethodInfo *info; 1875s # GVariantIter iter; 1875s # GVariant *child; 1875s # GValue *paramv; 1875s # gsize num_params; 1875s # guint num_extra; 1875s # gsize n; 1875s # guint signal_id; 1875s # GValue return_value = G_VALUE_INIT; 1875s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1875s # g_assert (info != NULL); 1875s # num_params = g_variant_n_children (parameters); 1875s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1875s # n = 0; 1875s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_set_object (¶mv[n++], skeleton); 1875s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1875s # g_value_set_object (¶mv[n++], invocation); 1875s # if (info->pass_fdlist) 1875s # { 1875s # #ifdef G_OS_UNIX 1875s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1875s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1875s # #else 1875s # g_assert_not_reached (); 1875s # #endif 1875s # } 1875s # g_variant_iter_init (&iter, parameters); 1875s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1875s # { 1875s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1875s # if (arg_info->use_gvariant) 1875s # { 1875s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1875s # g_value_set_variant (¶mv[n], child); 1875s # n++; 1875s # } 1875s # else 1875s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1875s # g_variant_unref (child); 1875s # } 1875s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1875s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1875s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1875s # if (!g_value_get_boolean (&return_value)) 1875s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1875s # g_value_unset (&return_value); 1875s # for (n = 0; n < num_params + num_extra; n++) 1875s # g_value_unset (¶mv[n]); 1875s # g_free (paramv); 1875s # } 1875s # 1875s # static GVariant * 1875s # _org_project_signaling_iface_skeleton_handle_get_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # GVariant *ret; 1875s # ret = NULL; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # g_value_init (&value, pspec->value_type); 1875s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1875s # g_value_unset (&value); 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static gboolean 1875s # _org_project_signaling_iface_skeleton_handle_set_property ( 1875s # GDBusConnection *connection G_GNUC_UNUSED, 1875s # const gchar *sender G_GNUC_UNUSED, 1875s # const gchar *object_path G_GNUC_UNUSED, 1875s # const gchar *interface_name G_GNUC_UNUSED, 1875s # const gchar *property_name, 1875s # GVariant *variant, 1875s # GError **error, 1875s # gpointer user_data) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1875s # GValue value = G_VALUE_INIT; 1875s # GParamSpec *pspec; 1875s # _ExtendedGDBusPropertyInfo *info; 1875s # gboolean ret; 1875s # ret = FALSE; 1875s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1875s # g_assert (info != NULL); 1875s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1875s # if (pspec == NULL) 1875s # { 1875s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1875s # } 1875s # else 1875s # { 1875s # if (info->use_gvariant) 1875s # g_value_set_variant (&value, variant); 1875s # else 1875s # g_dbus_gvariant_to_gvalue (variant, &value); 1875s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1875s # g_value_unset (&value); 1875s # ret = TRUE; 1875s # } 1875s # return ret; 1875s # } 1875s # 1875s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1875s # { 1875s # _org_project_signaling_iface_skeleton_handle_method_call, 1875s # _org_project_signaling_iface_skeleton_handle_get_property, 1875s # _org_project_signaling_iface_skeleton_handle_set_property, 1875s # {NULL} 1875s # }; 1875s # 1875s # static GDBusInterfaceInfo * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return org_project_signaling_iface_interface_info (); 1875s # } 1875s # 1875s # static GDBusInterfaceVTable * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1875s # { 1875s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1875s # } 1875s # 1875s # static GVariant * 1875s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1875s # 1875s # GVariantBuilder builder; 1875s # guint n; 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1875s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #else 1875s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1875s # #endif 1875s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1875s # goto out; 1875s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1875s # { 1875s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1875s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1875s # { 1875s # GVariant *value; 1875s # 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); 1875s # if (value != NULL) 1875s # { 1875s # g_variant_take_ref (value); 1875s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1875s # g_variant_unref (value); 1875s # } 1875s # } 1875s # } 1875s # out: 1875s # return g_variant_builder_end (&builder); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1875s # { 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_simple_signal ( 1875s # OrgProjectSignalingIface *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void 1875s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1875s # OrgProjectSignalingIface *object, 1875s # gboolean arg_an_b, 1875s # guchar arg_an_y, 1875s # gint16 arg_an_n, 1875s # guint16 arg_an_q, 1875s # gint arg_an_i, 1875s # guint arg_an_u, 1875s # gint64 arg_an_x, 1875s # guint64 arg_an_t, 1875s # gdouble arg_an_d, 1875s # const gchar *arg_an_s, 1875s # const gchar *arg_an_o, 1875s # const gchar *arg_an_g, 1875s # GVariant *arg_an_h, 1875s # const gchar *arg_an_ay, 1875s # const gchar *const *arg_an_as, 1875s # const gchar *const *arg_an_ao, 1875s # const gchar *const *arg_an_aay, 1875s # GVariant *arg_an_asv) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # 1875s # GList *connections, *l; 1875s # GVariant *signal_variant; 1875s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1875s # 1875s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1875s # arg_an_b, 1875s # arg_an_y, 1875s # arg_an_n, 1875s # arg_an_q, 1875s # arg_an_i, 1875s # arg_an_u, 1875s # arg_an_x, 1875s # arg_an_t, 1875s # arg_an_d, 1875s # arg_an_s, 1875s # arg_an_o, 1875s # arg_an_g, 1875s # arg_an_h, 1875s # arg_an_ay, 1875s # arg_an_as, 1875s # arg_an_ao, 1875s # arg_an_aay, 1875s # arg_an_asv)); 1875s # for (l = connections; l != NULL; l = l->next) 1875s # { 1875s # GDBusConnection *connection = l->data; 1875s # g_dbus_connection_emit_signal (connection, 1875s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1875s # signal_variant, NULL); 1875s # } 1875s # g_variant_unref (signal_variant); 1875s # g_list_free_full (connections, g_object_unref); 1875s # } 1875s # 1875s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #else 1875s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1875s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1875s # 1875s # #endif 1875s # static void 1875s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1875s # { 1875s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1875s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # /* coverity[missing_lock : SUPPRESS] */ 1875s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1875s # #else 1875s # if (skeleton->priv->changed_properties_idle_source != NULL) 1875s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1875s # skeleton->priv->changed_properties_idle_source = NULL; 1875s # #endif 1875s # g_main_context_unref (skeleton->priv->context); 1875s # g_mutex_clear (&skeleton->priv->lock); 1875s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1875s # { 1875s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1875s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1875s # #else 1875s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1875s # #endif 1875s # 1875s # g_mutex_init (&skeleton->priv->lock); 1875s # skeleton->priv->context = g_main_context_ref_thread_default (); 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1875s # { 1875s # GObjectClass *gobject_class; 1875s # GDBusInterfaceSkeletonClass *skeleton_class; 1875s # 1875s # gobject_class = G_OBJECT_CLASS (klass); 1875s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1875s # 1875s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1875s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1875s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1875s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1875s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1875s # 1875s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1875s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1875s # #endif 1875s # } 1875s # 1875s # static void 1875s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1875s # { 1875s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1875s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1875s # } 1875s # 1875s # /** 1875s # * org_project_signaling_iface_skeleton_new: 1875s # * 1875s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1875s # * 1875s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1875s # */ 1875s # OrgProjectSignalingIface * 1875s # org_project_signaling_iface_skeleton_new (void) 1875s # { 1875s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1875s # } 1875s # Error: 1875s ok 31 __main__.TestCodegen.test_generate_valid_docbook 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpcm5n_j1p 1875s # /tmp/tmpcm5n_j1p/tmptr26ma6b.xml: 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcm5n_j1p/tmptr26ma6b.xml', '--generate-docbook', 'test'] 1875s # Return code: 0 1875s # Output: 1875s # 1875s # Error: 1875s ok 32 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpxbsjzhwz 1875s # /tmp/tmpxbsjzhwz/tmph43zmekp.xml: 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxbsjzhwz/tmph43zmekp.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1875s # Return code: 1 1875s # Output: 1875s # 1875s # Error: 1875s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 1875s ok 33 __main__.TestCodegen.test_glib_max_allowed_major_only 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpj4q50b_j 1875s # /tmp/tmpj4q50b_j/tmpz05zn_7d.xml: 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj4q50b_j/tmpz05zn_7d.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifndef __STDOUT__ 1875s # #define __STDOUT__ 1875s # 1875s # #include 1875s # 1875s # G_BEGIN_DECLS 1875s # 1875s # 1875s # G_END_DECLS 1875s # 1875s # #endif /* __STDOUT__ */ 1875s # Error: 1875s ok 34 __main__.TestCodegen.test_glib_max_allowed_too_low 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpm_cdvh93 1875s # /tmp/tmpm_cdvh93/tmp2gfs7xrh.xml: 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm_cdvh93/tmp2gfs7xrh.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1875s # Return code: 1 1875s # Output: 1875s # 1875s # Error: 1875s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 1875s ok 35 __main__.TestCodegen.test_glib_max_allowed_unstable 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpx1brep69 1875s # /tmp/tmpx1brep69/tmpkmof2tzk.xml: 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx1brep69/tmpkmof2tzk.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifndef __STDOUT__ 1875s # #define __STDOUT__ 1875s # 1875s # #include 1875s # 1875s # G_BEGIN_DECLS 1875s # 1875s # 1875s # G_END_DECLS 1875s # 1875s # #endif /* __STDOUT__ */ 1875s # Error: 1875s ok 36 __main__.TestCodegen.test_glib_max_allowed_with_micro 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpq4l8zdw0 1875s # /tmp/tmpq4l8zdw0/tmpm1cyqsts.xml: 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq4l8zdw0/tmpm1cyqsts.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifndef __STDOUT__ 1875s # #define __STDOUT__ 1875s # 1875s # #include 1875s # 1875s # G_BEGIN_DECLS 1875s # 1875s # 1875s # G_END_DECLS 1875s # 1875s # #endif /* __STDOUT__ */ 1875s # Error: 1875s ok 37 __main__.TestCodegen.test_glib_min_required_invalid 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmptk38odsf 1875s # /tmp/tmptk38odsf/tmpwv3rpdff.xml: 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptk38odsf/tmpwv3rpdff.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1875s # Return code: 1 1875s # Output: 1875s # 1875s # Error: 1875s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 1875s ok 38 __main__.TestCodegen.test_glib_min_required_major_only 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmp9g0d4jkx 1875s # /tmp/tmp9g0d4jkx/tmp_xn_9ny_.xml: 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9g0d4jkx/tmp_xn_9ny_.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifndef __STDOUT__ 1875s # #define __STDOUT__ 1875s # 1875s # #include 1875s # 1875s # G_BEGIN_DECLS 1875s # 1875s # 1875s # G_END_DECLS 1875s # 1875s # #endif /* __STDOUT__ */ 1875s # Error: 1875s ok 39 __main__.TestCodegen.test_glib_min_required_too_low 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpq5x0jzou 1875s # /tmp/tmpq5x0jzou/tmpje02fjz0.xml: 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq5x0jzou/tmpje02fjz0.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1875s # Return code: 1 1875s # Output: 1875s # 1875s # Error: 1875s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 1875s ok 40 __main__.TestCodegen.test_glib_min_required_with_micro 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpni7a69iw 1875s # /tmp/tmpni7a69iw/tmp_0otmzyw.xml: 1875s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpni7a69iw/tmp_0otmzyw.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1875s # Return code: 0 1875s # Output: 1875s # /* 1875s # * This file is generated by gdbus-codegen, do not modify it. 1875s # * 1875s # * The license of this code is the same as for the D-Bus interface description 1875s # * it was derived from. Note that it links to GLib, so must comply with the 1875s # * LGPL linking clauses. 1875s # */ 1875s # 1875s # #ifndef __STDOUT__ 1875s # #define __STDOUT__ 1875s # 1875s # #include 1875s # 1875s # G_BEGIN_DECLS 1875s # 1875s # 1875s # G_END_DECLS 1875s # 1875s # #endif /* __STDOUT__ */ 1875s # Error: 1875s ok 41 __main__.TestCodegen.test_help 1875s # gdbus-codegen: /usr/bin/gdbus-codegen 1875s # tmpdir: /tmp/tmpcphmk8ls 1875s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1875s # Return code: 0 1875s # Output: 1875s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1875s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1875s # [--c-generate-autocleanup {none,objects,all}] 1875s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1875s # [--generate-rst OUTFILES] [--pragma-once] 1875s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1875s # [--glib-min-required VERSION] 1875s # [--glib-max-allowed VERSION] 1875s # [--symbol-decorator SYMBOL_DECORATOR] 1875s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1875s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1875s # [--extension-path EXTENSION_PATH] 1875s # [--generate-c-code OUTFILES | --header | --body | 1875s # --interface-info-header | --interface-info-body] 1875s # [--output FILE | --output-directory OUTDIR] 1875s # FILE [FILE ...] 1875s # 1875s # D-Bus code and documentation generator 1875s # 1875s # positional arguments: 1875s # FILE D-Bus introspection XML file 1875s # 1875s # options: 1875s # -h, --help show this help message and exit 1875s # --interface-prefix PREFIX 1875s # String to strip from D-Bus interface names for code 1875s # and docs 1875s # --c-namespace NAMESPACE 1875s # The namespace to use for generated C code 1875s # --c-generate-object-manager 1875s # Generate a GDBusObjectManagerClient subclass when 1875s # generating C code 1875s # --c-generate-autocleanup {none,objects,all} 1875s # Generate autocleanup support 1875s # --generate-docbook OUTFILES 1875s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1875s # --generate-md OUTFILES 1875s # Generate Markdown in OUTFILES-org.Project.IFace.md 1875s # --generate-rst OUTFILES 1875s # Generate reStructuredText in OUTFILES- 1875s # org.Project.IFace.rst 1875s # --pragma-once Use "pragma once" as the inclusion guard 1875s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1875s # Add annotation (may be used several times) 1875s # --glib-min-required VERSION 1875s # Minimum version of GLib to be supported by the 1875s # outputted code (default: 2.30) 1875s # --glib-max-allowed VERSION 1875s # Maximum version of GLib to be used by the outputted 1875s # code (default: current GLib version) 1875s # --symbol-decorator SYMBOL_DECORATOR 1875s # Macro used to decorate a symbol in the outputted 1875s # header, possibly to export symbols 1875s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1875s # Additional header required for decorator specified by 1875s # --symbol-decorator 1875s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1875s # Additional define required for decorator specified by 1875s # --symbol-decorator 1875s # --extension-path EXTENSION_PATH 1875s # Path to a gdbus-codegen Python extension file 1875s # (unstable API) 1875s # --generate-c-code OUTFILES 1875s # Generate C code in OUTFILES.[ch] 1875s # --header Generate C headers 1875s # --body Generate C code 1875s # --interface-info-header 1875s # Generate GDBusInterfaceInfo C header 1875s # --interface-info-body 1875s # Generate GDBusInterfaceInfo C code 1875s # --output FILE Write output into the specified file 1875s # --output-directory OUTDIR 1875s # Location to output generated files 1875s # Error: 1876s ok 42 __main__.TestCodegen.test_indentation_preservation_in_comments 1876s # gdbus-codegen: /usr/bin/gdbus-codegen 1876s # tmpdir: /tmp/tmpd7h_nxqb 1876s # /tmp/tmpd7h_nxqb/tmpujplc2pz.xml: 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd7h_nxqb/tmpujplc2pz.xml', '--generate-rst', 'test'] 1876s # Return code: 0 1876s # Output: 1876s # 1876s # Error: 1876s # 1876s # /tmp/tmpd7h_nxqb/tmpysljufhr.xml: 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd7h_nxqb/tmpysljufhr.xml', '--generate-md', 'test'] 1876s # Return code: 0 1876s # Output: 1876s # 1876s # Error: 1876s # 1876s # /tmp/tmpd7h_nxqb/tmp90vko6nd.xml: 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd7h_nxqb/tmp90vko6nd.xml', '--generate-docbook', 'test'] 1876s # Return code: 0 1876s # Output: 1876s # 1876s # Error: 1876s ok 43 __main__.TestCodegen.test_no_args 1876s # gdbus-codegen: /usr/bin/gdbus-codegen 1876s # tmpdir: /tmp/tmpp8omggtq 1876s # Running: ['/usr/bin/gdbus-codegen'] 1876s # Return code: 2 1876s # Output: 1876s # 1876s # Error: 1876s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1876s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1876s # [--c-generate-autocleanup {none,objects,all}] 1876s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1876s # [--generate-rst OUTFILES] [--pragma-once] 1876s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1876s # [--glib-min-required VERSION] 1876s # [--glib-max-allowed VERSION] 1876s # [--symbol-decorator SYMBOL_DECORATOR] 1876s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1876s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1876s # [--extension-path EXTENSION_PATH] 1876s # [--generate-c-code OUTFILES | --header | --body | 1876s # --interface-info-header | --interface-info-body] 1876s # [--output FILE | --output-directory OUTDIR] 1876s # FILE [FILE ...] 1876s # gdbus-codegen: error: the following arguments are required: FILE 1876s ok 44 __main__.TestCodegen.test_reproducible 1876s # gdbus-codegen: /usr/bin/gdbus-codegen 1876s # tmpdir: /tmp/tmpqi5v36dn 1876s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqi5v36dn/tmpijkpmuo31.xml', '/tmp/tmpqi5v36dn/tmptzdqi_9k2.xml', '--output', '-', '--header'] 1876s # Return code: 0 1876s # Output: 1876s # /* 1876s # * This file is generated by gdbus-codegen, do not modify it. 1876s # * 1876s # * The license of this code is the same as for the D-Bus interface description 1876s # * it was derived from. Note that it links to GLib, so must comply with the 1876s # * LGPL linking clauses. 1876s # */ 1876s # 1876s # #ifndef __STDOUT__ 1876s # #define __STDOUT__ 1876s # 1876s # #include 1876s # 1876s # G_BEGIN_DECLS 1876s # 1876s # 1876s # /* ------------------------------------------------------------------------ */ 1876s # /* Declarations for com.acme.Coyote */ 1876s # 1876s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1876s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1876s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1876s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1876s # 1876s # struct _ComAcmeCoyote; 1876s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1876s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1876s # 1876s # struct _ComAcmeCoyoteIface 1876s # { 1876s # GTypeInterface parent_iface; 1876s # 1876s # 1876s # 1876s # gboolean (*handle_attack) ( 1876s # ComAcmeCoyote *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # gboolean (*handle_run) ( 1876s # ComAcmeCoyote *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # gboolean (*handle_sleep) ( 1876s # ComAcmeCoyote *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1876s # 1876s # void (*surprised) ( 1876s # ComAcmeCoyote *object); 1876s # 1876s # }; 1876s # 1876s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1876s # 1876s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1876s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1876s # 1876s # 1876s # /* D-Bus method call completion functions: */ 1876s # void com_acme_coyote_complete_run ( 1876s # ComAcmeCoyote *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # void com_acme_coyote_complete_sleep ( 1876s # ComAcmeCoyote *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # void com_acme_coyote_complete_attack ( 1876s # ComAcmeCoyote *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # 1876s # 1876s # /* D-Bus signal emissions functions: */ 1876s # void com_acme_coyote_emit_surprised ( 1876s # ComAcmeCoyote *object); 1876s # 1876s # 1876s # 1876s # /* D-Bus method calls: */ 1876s # void com_acme_coyote_call_run ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean com_acme_coyote_call_run_finish ( 1876s # ComAcmeCoyote *proxy, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean com_acme_coyote_call_run_sync ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void com_acme_coyote_call_sleep ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean com_acme_coyote_call_sleep_finish ( 1876s # ComAcmeCoyote *proxy, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean com_acme_coyote_call_sleep_sync ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void com_acme_coyote_call_attack ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean com_acme_coyote_call_attack_finish ( 1876s # ComAcmeCoyote *proxy, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean com_acme_coyote_call_attack_sync ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # 1876s # 1876s # /* D-Bus property accessors: */ 1876s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1876s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1876s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1876s # 1876s # 1876s # /* ---- */ 1876s # 1876s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1876s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1876s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1876s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1876s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1876s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1876s # 1876s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1876s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1876s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1876s # 1876s # struct _ComAcmeCoyoteProxy 1876s # { 1876s # /*< private >*/ 1876s # GDBusProxy parent_instance; 1876s # ComAcmeCoyoteProxyPrivate *priv; 1876s # }; 1876s # 1876s # struct _ComAcmeCoyoteProxyClass 1876s # { 1876s # GDBusProxyClass parent_class; 1876s # }; 1876s # 1876s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1876s # 1876s # #if GLIB_CHECK_VERSION(2, 44, 0) 1876s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1876s # #endif 1876s # 1876s # void com_acme_coyote_proxy_new ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void com_acme_coyote_proxy_new_for_bus ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # 1876s # /* ---- */ 1876s # 1876s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1876s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1876s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1876s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1876s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1876s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1876s # 1876s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1876s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1876s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1876s # 1876s # struct _ComAcmeCoyoteSkeleton 1876s # { 1876s # /*< private >*/ 1876s # GDBusInterfaceSkeleton parent_instance; 1876s # ComAcmeCoyoteSkeletonPrivate *priv; 1876s # }; 1876s # 1876s # struct _ComAcmeCoyoteSkeletonClass 1876s # { 1876s # GDBusInterfaceSkeletonClass parent_class; 1876s # }; 1876s # 1876s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1876s # 1876s # #if GLIB_CHECK_VERSION(2, 44, 0) 1876s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1876s # #endif 1876s # 1876s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1876s # 1876s # 1876s # /* ------------------------------------------------------------------------ */ 1876s # /* Declarations for org.project.Bar.Frobnicator */ 1876s # 1876s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1876s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1876s # 1876s # struct _OrgProjectBarFrobnicator; 1876s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1876s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1876s # 1876s # struct _OrgProjectBarFrobnicatorIface 1876s # { 1876s # GTypeInterface parent_iface; 1876s # 1876s # gboolean (*handle_random_method) ( 1876s # OrgProjectBarFrobnicator *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # }; 1876s # 1876s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1876s # 1876s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1876s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1876s # 1876s # 1876s # /* D-Bus method call completion functions: */ 1876s # void org_project_bar_frobnicator_complete_random_method ( 1876s # OrgProjectBarFrobnicator *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # 1876s # 1876s # /* D-Bus method calls: */ 1876s # void org_project_bar_frobnicator_call_random_method ( 1876s # OrgProjectBarFrobnicator *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1876s # OrgProjectBarFrobnicator *proxy, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1876s # OrgProjectBarFrobnicator *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # 1876s # 1876s # /* ---- */ 1876s # 1876s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1876s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1876s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1876s # 1876s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1876s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1876s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1876s # 1876s # struct _OrgProjectBarFrobnicatorProxy 1876s # { 1876s # /*< private >*/ 1876s # GDBusProxy parent_instance; 1876s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1876s # }; 1876s # 1876s # struct _OrgProjectBarFrobnicatorProxyClass 1876s # { 1876s # GDBusProxyClass parent_class; 1876s # }; 1876s # 1876s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1876s # 1876s # #if GLIB_CHECK_VERSION(2, 44, 0) 1876s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1876s # #endif 1876s # 1876s # void org_project_bar_frobnicator_proxy_new ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # 1876s # /* ---- */ 1876s # 1876s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1876s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1876s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1876s # 1876s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1876s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1876s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1876s # 1876s # struct _OrgProjectBarFrobnicatorSkeleton 1876s # { 1876s # /*< private >*/ 1876s # GDBusInterfaceSkeleton parent_instance; 1876s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1876s # }; 1876s # 1876s # struct _OrgProjectBarFrobnicatorSkeletonClass 1876s # { 1876s # GDBusInterfaceSkeletonClass parent_class; 1876s # }; 1876s # 1876s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1876s # 1876s # #if GLIB_CHECK_VERSION(2, 44, 0) 1876s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1876s # #endif 1876s # 1876s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1876s # 1876s # 1876s # G_END_DECLS 1876s # 1876s # #endif /* __STDOUT__ */ 1876s # Error: 1876s # 1876s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqi5v36dn/tmptzdqi_9k2.xml', '/tmp/tmpqi5v36dn/tmpijkpmuo31.xml', '--output', '-', '--header'] 1876s # Return code: 0 1876s # Output: 1876s # /* 1876s # * This file is generated by gdbus-codegen, do not modify it. 1876s # * 1876s # * The license of this code is the same as for the D-Bus interface description 1876s # * it was derived from. Note that it links to GLib, so must comply with the 1876s # * LGPL linking clauses. 1876s # */ 1876s # 1876s # #ifndef __STDOUT__ 1876s # #define __STDOUT__ 1876s # 1876s # #include 1876s # 1876s # G_BEGIN_DECLS 1876s # 1876s # 1876s # /* ------------------------------------------------------------------------ */ 1876s # /* Declarations for com.acme.Coyote */ 1876s # 1876s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1876s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1876s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1876s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1876s # 1876s # struct _ComAcmeCoyote; 1876s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1876s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1876s # 1876s # struct _ComAcmeCoyoteIface 1876s # { 1876s # GTypeInterface parent_iface; 1876s # 1876s # 1876s # 1876s # gboolean (*handle_attack) ( 1876s # ComAcmeCoyote *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # gboolean (*handle_run) ( 1876s # ComAcmeCoyote *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # gboolean (*handle_sleep) ( 1876s # ComAcmeCoyote *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1876s # 1876s # void (*surprised) ( 1876s # ComAcmeCoyote *object); 1876s # 1876s # }; 1876s # 1876s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1876s # 1876s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1876s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1876s # 1876s # 1876s # /* D-Bus method call completion functions: */ 1876s # void com_acme_coyote_complete_run ( 1876s # ComAcmeCoyote *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # void com_acme_coyote_complete_sleep ( 1876s # ComAcmeCoyote *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # void com_acme_coyote_complete_attack ( 1876s # ComAcmeCoyote *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # 1876s # 1876s # /* D-Bus signal emissions functions: */ 1876s # void com_acme_coyote_emit_surprised ( 1876s # ComAcmeCoyote *object); 1876s # 1876s # 1876s # 1876s # /* D-Bus method calls: */ 1876s # void com_acme_coyote_call_run ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean com_acme_coyote_call_run_finish ( 1876s # ComAcmeCoyote *proxy, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean com_acme_coyote_call_run_sync ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void com_acme_coyote_call_sleep ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean com_acme_coyote_call_sleep_finish ( 1876s # ComAcmeCoyote *proxy, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean com_acme_coyote_call_sleep_sync ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void com_acme_coyote_call_attack ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean com_acme_coyote_call_attack_finish ( 1876s # ComAcmeCoyote *proxy, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean com_acme_coyote_call_attack_sync ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # 1876s # 1876s # /* D-Bus property accessors: */ 1876s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1876s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1876s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1876s # 1876s # 1876s # /* ---- */ 1876s # 1876s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1876s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1876s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1876s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1876s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1876s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1876s # 1876s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1876s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1876s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1876s # 1876s # struct _ComAcmeCoyoteProxy 1876s # { 1876s # /*< private >*/ 1876s # GDBusProxy parent_instance; 1876s # ComAcmeCoyoteProxyPrivate *priv; 1876s # }; 1876s # 1876s # struct _ComAcmeCoyoteProxyClass 1876s # { 1876s # GDBusProxyClass parent_class; 1876s # }; 1876s # 1876s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1876s # 1876s # #if GLIB_CHECK_VERSION(2, 44, 0) 1876s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1876s # #endif 1876s # 1876s # void com_acme_coyote_proxy_new ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void com_acme_coyote_proxy_new_for_bus ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # 1876s # /* ---- */ 1876s # 1876s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1876s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1876s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1876s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1876s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1876s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1876s # 1876s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1876s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1876s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1876s # 1876s # struct _ComAcmeCoyoteSkeleton 1876s # { 1876s # /*< private >*/ 1876s # GDBusInterfaceSkeleton parent_instance; 1876s # ComAcmeCoyoteSkeletonPrivate *priv; 1876s # }; 1876s # 1876s # struct _ComAcmeCoyoteSkeletonClass 1876s # { 1876s # GDBusInterfaceSkeletonClass parent_class; 1876s # }; 1876s # 1876s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1876s # 1876s # #if GLIB_CHECK_VERSION(2, 44, 0) 1876s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1876s # #endif 1876s # 1876s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1876s # 1876s # 1876s # /* ------------------------------------------------------------------------ */ 1876s # /* Declarations for org.project.Bar.Frobnicator */ 1876s # 1876s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1876s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1876s # 1876s # struct _OrgProjectBarFrobnicator; 1876s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1876s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1876s # 1876s # struct _OrgProjectBarFrobnicatorIface 1876s # { 1876s # GTypeInterface parent_iface; 1876s # 1876s # gboolean (*handle_random_method) ( 1876s # OrgProjectBarFrobnicator *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # }; 1876s # 1876s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1876s # 1876s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1876s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1876s # 1876s # 1876s # /* D-Bus method call completion functions: */ 1876s # void org_project_bar_frobnicator_complete_random_method ( 1876s # OrgProjectBarFrobnicator *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # 1876s # 1876s # /* D-Bus method calls: */ 1876s # void org_project_bar_frobnicator_call_random_method ( 1876s # OrgProjectBarFrobnicator *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1876s # OrgProjectBarFrobnicator *proxy, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1876s # OrgProjectBarFrobnicator *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # 1876s # 1876s # /* ---- */ 1876s # 1876s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1876s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1876s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1876s # 1876s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1876s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1876s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1876s # 1876s # struct _OrgProjectBarFrobnicatorProxy 1876s # { 1876s # /*< private >*/ 1876s # GDBusProxy parent_instance; 1876s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1876s # }; 1876s # 1876s # struct _OrgProjectBarFrobnicatorProxyClass 1876s # { 1876s # GDBusProxyClass parent_class; 1876s # }; 1876s # 1876s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1876s # 1876s # #if GLIB_CHECK_VERSION(2, 44, 0) 1876s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1876s # #endif 1876s # 1876s # void org_project_bar_frobnicator_proxy_new ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # 1876s # /* ---- */ 1876s # 1876s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1876s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1876s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1876s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1876s # 1876s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1876s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1876s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1876s # 1876s # struct _OrgProjectBarFrobnicatorSkeleton 1876s # { 1876s # /*< private >*/ 1876s # GDBusInterfaceSkeleton parent_instance; 1876s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1876s # }; 1876s # 1876s # struct _OrgProjectBarFrobnicatorSkeletonClass 1876s # { 1876s # GDBusInterfaceSkeletonClass parent_class; 1876s # }; 1876s # 1876s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1876s # 1876s # #if GLIB_CHECK_VERSION(2, 44, 0) 1876s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1876s # #endif 1876s # 1876s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1876s # 1876s # 1876s # G_END_DECLS 1876s # 1876s # #endif /* __STDOUT__ */ 1876s # Error: 1876s # 1876s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqi5v36dn/tmpijkpmuo31.xml', '/tmp/tmpqi5v36dn/tmptzdqi_9k2.xml', '--output', '-', '--body'] 1876s # Return code: 0 1876s # Output: 1876s # /* 1876s # * This file is generated by gdbus-codegen, do not modify it. 1876s # * 1876s # * The license of this code is the same as for the D-Bus interface description 1876s # * it was derived from. Note that it links to GLib, so must comply with the 1876s # * LGPL linking clauses. 1876s # */ 1876s # 1876s # #ifdef HAVE_CONFIG_H 1876s # # include "config.h" 1876s # #endif 1876s # 1876s # #include 1876s # #ifdef G_OS_UNIX 1876s # # include 1876s # #endif 1876s # 1876s # #ifdef G_ENABLE_DEBUG 1876s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1876s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1876s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1876s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1876s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1876s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1876s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1876s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1876s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1876s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1876s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1876s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1876s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1876s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1876s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1876s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1876s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1876s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1876s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1876s # #else /* !G_ENABLE_DEBUG */ 1876s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1876s # * Do not access GValues directly in your code. Instead, use the 1876s # * g_value_get_*() functions 1876s # */ 1876s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1876s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1876s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1876s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1876s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1876s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1876s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1876s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1876s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1876s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1876s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1876s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1876s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1876s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1876s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1876s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1876s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1876s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1876s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1876s # #endif /* !G_ENABLE_DEBUG */ 1876s # 1876s # typedef struct 1876s # { 1876s # GDBusArgInfo parent_struct; 1876s # gboolean use_gvariant; 1876s # } _ExtendedGDBusArgInfo; 1876s # 1876s # typedef struct 1876s # { 1876s # GDBusMethodInfo parent_struct; 1876s # const gchar *signal_name; 1876s # gboolean pass_fdlist; 1876s # } _ExtendedGDBusMethodInfo; 1876s # 1876s # typedef struct 1876s # { 1876s # GDBusSignalInfo parent_struct; 1876s # const gchar *signal_name; 1876s # } _ExtendedGDBusSignalInfo; 1876s # 1876s # typedef struct 1876s # { 1876s # GDBusPropertyInfo parent_struct; 1876s # const gchar *hyphen_name; 1876s # guint use_gvariant : 1; 1876s # guint emits_changed_signal : 1; 1876s # } _ExtendedGDBusPropertyInfo; 1876s # 1876s # typedef struct 1876s # { 1876s # GDBusInterfaceInfo parent_struct; 1876s # const gchar *hyphen_name; 1876s # } _ExtendedGDBusInterfaceInfo; 1876s # 1876s # typedef struct 1876s # { 1876s # const _ExtendedGDBusPropertyInfo *info; 1876s # guint prop_id; 1876s # GValue orig_value; /* the value before the change */ 1876s # } ChangedProperty; 1876s # 1876s # static void 1876s # _changed_property_free (ChangedProperty *data) 1876s # { 1876s # g_value_unset (&data->orig_value); 1876s # g_free (data); 1876s # } 1876s # 1876s # static gboolean 1876s # _g_strv_equal0 (gchar **a, gchar **b) 1876s # { 1876s # gboolean ret = FALSE; 1876s # guint n; 1876s # if (a == NULL && b == NULL) 1876s # { 1876s # ret = TRUE; 1876s # goto out; 1876s # } 1876s # if (a == NULL || b == NULL) 1876s # goto out; 1876s # if (g_strv_length (a) != g_strv_length (b)) 1876s # goto out; 1876s # for (n = 0; a[n] != NULL; n++) 1876s # if (g_strcmp0 (a[n], b[n]) != 0) 1876s # goto out; 1876s # ret = TRUE; 1876s # out: 1876s # return ret; 1876s # } 1876s # 1876s # static gboolean 1876s # _g_variant_equal0 (GVariant *a, GVariant *b) 1876s # { 1876s # gboolean ret = FALSE; 1876s # if (a == NULL && b == NULL) 1876s # { 1876s # ret = TRUE; 1876s # goto out; 1876s # } 1876s # if (a == NULL || b == NULL) 1876s # goto out; 1876s # ret = g_variant_equal (a, b); 1876s # out: 1876s # return ret; 1876s # } 1876s # 1876s # G_GNUC_UNUSED static gboolean 1876s # _g_value_equal (const GValue *a, const GValue *b) 1876s # { 1876s # gboolean ret = FALSE; 1876s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1876s # switch (G_VALUE_TYPE (a)) 1876s # { 1876s # case G_TYPE_BOOLEAN: 1876s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1876s # break; 1876s # case G_TYPE_UCHAR: 1876s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1876s # break; 1876s # case G_TYPE_INT: 1876s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1876s # break; 1876s # case G_TYPE_UINT: 1876s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1876s # break; 1876s # case G_TYPE_INT64: 1876s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1876s # break; 1876s # case G_TYPE_UINT64: 1876s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1876s # break; 1876s # case G_TYPE_DOUBLE: 1876s # { 1876s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1876s # gdouble da = g_value_get_double (a); 1876s # gdouble db = g_value_get_double (b); 1876s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1876s # } 1876s # break; 1876s # case G_TYPE_STRING: 1876s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1876s # break; 1876s # case G_TYPE_VARIANT: 1876s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1876s # break; 1876s # default: 1876s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1876s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1876s # else 1876s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1876s # break; 1876s # } 1876s # return ret; 1876s # } 1876s # 1876s # static void 1876s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1876s # GClosure *closure, 1876s # GValue *return_value, 1876s # unsigned int n_param_values, 1876s # const GValue *param_values, 1876s # void *invocation_hint G_GNUC_UNUSED, 1876s # void *marshal_data) 1876s # { 1876s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1876s # (void *data1, 1876s # GDBusMethodInvocation *arg_method_invocation, 1876s # void *data2); 1876s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1876s # GCClosure *cc = (GCClosure*) closure; 1876s # void *data1, *data2; 1876s # gboolean v_return; 1876s # 1876s # g_return_if_fail (return_value != NULL); 1876s # g_return_if_fail (n_param_values == 2); 1876s # 1876s # if (G_CCLOSURE_SWAP_DATA (closure)) 1876s # { 1876s # data1 = closure->data; 1876s # data2 = g_value_peek_pointer (param_values + 0); 1876s # } 1876s # else 1876s # { 1876s # data1 = g_value_peek_pointer (param_values + 0); 1876s # data2 = closure->data; 1876s # } 1876s # 1876s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1876s # (marshal_data ? marshal_data : cc->callback); 1876s # 1876s # v_return = 1876s # callback (data1, 1876s # g_marshal_value_peek_object (param_values + 1), 1876s # data2); 1876s # 1876s # g_value_set_boolean (return_value, v_return); 1876s # } 1876s # 1876s # /* ------------------------------------------------------------------------ 1876s # * Code for interface com.acme.Coyote 1876s # * ------------------------------------------------------------------------ 1876s # */ 1876s # 1876s # /** 1876s # * SECTION:ComAcmeCoyote 1876s # * @title: ComAcmeCoyote 1876s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1876s # * 1876s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1876s # */ 1876s # 1876s # enum 1876s # { 1876s # _COM_ACME_COYOTE_SURPRISED, 1876s # }; 1876s # 1876s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1876s # 1876s # /* ---- Introspection data for com.acme.Coyote ---- */ 1876s # 1876s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "Run", 1876s # NULL, 1876s # NULL, 1876s # NULL 1876s # }, 1876s # "handle-run", 1876s # FALSE 1876s # }; 1876s # 1876s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "Sleep", 1876s # NULL, 1876s # NULL, 1876s # NULL 1876s # }, 1876s # "handle-sleep", 1876s # FALSE 1876s # }; 1876s # 1876s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "Attack", 1876s # NULL, 1876s # NULL, 1876s # NULL 1876s # }, 1876s # "handle-attack", 1876s # FALSE 1876s # }; 1876s # 1876s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1876s # { 1876s # &_com_acme_coyote_method_info_run.parent_struct, 1876s # &_com_acme_coyote_method_info_sleep.parent_struct, 1876s # &_com_acme_coyote_method_info_attack.parent_struct, 1876s # NULL 1876s # }; 1876s # 1876s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "Surprised", 1876s # NULL, 1876s # NULL 1876s # }, 1876s # "surprised" 1876s # }; 1876s # 1876s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1876s # { 1876s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1876s # NULL 1876s # }; 1876s # 1876s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "Mood", 1876s # (gchar *) "s", 1876s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1876s # NULL 1876s # }, 1876s # "mood", 1876s # FALSE, 1876s # TRUE 1876s # }; 1876s # 1876s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1876s # { 1876s # &_com_acme_coyote_property_info_mood.parent_struct, 1876s # NULL 1876s # }; 1876s # 1876s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "com.acme.Coyote", 1876s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1876s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1876s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1876s # NULL 1876s # }, 1876s # "com-acme-coyote", 1876s # }; 1876s # 1876s # 1876s # /** 1876s # * com_acme_coyote_interface_info: 1876s # * 1876s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1876s # * 1876s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1876s # */ 1876s # GDBusInterfaceInfo * 1876s # com_acme_coyote_interface_info (void) 1876s # { 1876s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_override_properties: 1876s # * @klass: The class structure for a #GObject derived class. 1876s # * @property_id_begin: The property id to assign to the first overridden property. 1876s # * 1876s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1876s # * The properties are overridden in the order they are defined. 1876s # * 1876s # * Returns: The last property id. 1876s # */ 1876s # guint 1876s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1876s # { 1876s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1876s # return property_id_begin - 1; 1876s # } 1876s # 1876s # 1876s # inline static void 1876s # com_acme_coyote_signal_marshal_surprised ( 1876s # GClosure *closure, 1876s # GValue *return_value, 1876s # unsigned int n_param_values, 1876s # const GValue *param_values, 1876s # void *invocation_hint, 1876s # void *marshal_data) 1876s # { 1876s # g_cclosure_marshal_VOID__VOID (closure, 1876s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1876s # } 1876s # 1876s # inline static void 1876s # com_acme_coyote_method_marshal_run ( 1876s # GClosure *closure, 1876s # GValue *return_value, 1876s # unsigned int n_param_values, 1876s # const GValue *param_values, 1876s # void *invocation_hint, 1876s # void *marshal_data) 1876s # { 1876s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1876s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1876s # } 1876s # 1876s # inline static void 1876s # com_acme_coyote_method_marshal_sleep ( 1876s # GClosure *closure, 1876s # GValue *return_value, 1876s # unsigned int n_param_values, 1876s # const GValue *param_values, 1876s # void *invocation_hint, 1876s # void *marshal_data) 1876s # { 1876s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1876s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1876s # } 1876s # 1876s # inline static void 1876s # com_acme_coyote_method_marshal_attack ( 1876s # GClosure *closure, 1876s # GValue *return_value, 1876s # unsigned int n_param_values, 1876s # const GValue *param_values, 1876s # void *invocation_hint, 1876s # void *marshal_data) 1876s # { 1876s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1876s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1876s # } 1876s # 1876s # 1876s # /** 1876s # * ComAcmeCoyote: 1876s # * 1876s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1876s # */ 1876s # 1876s # /** 1876s # * ComAcmeCoyoteIface: 1876s # * @parent_iface: The parent interface. 1876s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1876s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1876s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1876s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1876s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1876s # * 1876s # * Virtual table for the D-Bus interface com.acme.Coyote. 1876s # */ 1876s # 1876s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1876s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1876s # 1876s # static void 1876s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1876s # { 1876s # /* GObject signals for incoming D-Bus method calls: */ 1876s # /** 1876s # * ComAcmeCoyote::handle-run: 1876s # * @object: A #ComAcmeCoyote. 1876s # * @invocation: A #GDBusMethodInvocation. 1876s # * 1876s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1876s # * 1876s # * 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. 1876s # * 1876s # * 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. 1876s # */ 1876s # g_signal_new ("handle-run", 1876s # G_TYPE_FROM_INTERFACE (iface), 1876s # G_SIGNAL_RUN_LAST, 1876s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1876s # g_signal_accumulator_true_handled, 1876s # NULL, 1876s # com_acme_coyote_method_marshal_run, 1876s # G_TYPE_BOOLEAN, 1876s # 1, 1876s # G_TYPE_DBUS_METHOD_INVOCATION); 1876s # 1876s # /** 1876s # * ComAcmeCoyote::handle-sleep: 1876s # * @object: A #ComAcmeCoyote. 1876s # * @invocation: A #GDBusMethodInvocation. 1876s # * 1876s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1876s # * 1876s # * 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. 1876s # * 1876s # * 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. 1876s # */ 1876s # g_signal_new ("handle-sleep", 1876s # G_TYPE_FROM_INTERFACE (iface), 1876s # G_SIGNAL_RUN_LAST, 1876s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1876s # g_signal_accumulator_true_handled, 1876s # NULL, 1876s # com_acme_coyote_method_marshal_sleep, 1876s # G_TYPE_BOOLEAN, 1876s # 1, 1876s # G_TYPE_DBUS_METHOD_INVOCATION); 1876s # 1876s # /** 1876s # * ComAcmeCoyote::handle-attack: 1876s # * @object: A #ComAcmeCoyote. 1876s # * @invocation: A #GDBusMethodInvocation. 1876s # * 1876s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1876s # * 1876s # * 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. 1876s # * 1876s # * 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. 1876s # */ 1876s # g_signal_new ("handle-attack", 1876s # G_TYPE_FROM_INTERFACE (iface), 1876s # G_SIGNAL_RUN_LAST, 1876s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1876s # g_signal_accumulator_true_handled, 1876s # NULL, 1876s # com_acme_coyote_method_marshal_attack, 1876s # G_TYPE_BOOLEAN, 1876s # 1, 1876s # G_TYPE_DBUS_METHOD_INVOCATION); 1876s # 1876s # /* GObject signals for received D-Bus signals: */ 1876s # /** 1876s # * ComAcmeCoyote::surprised: 1876s # * @object: A #ComAcmeCoyote. 1876s # * 1876s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1876s # * 1876s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1876s # */ 1876s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1876s # g_signal_new ("surprised", 1876s # G_TYPE_FROM_INTERFACE (iface), 1876s # G_SIGNAL_RUN_LAST, 1876s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1876s # NULL, 1876s # NULL, 1876s # com_acme_coyote_signal_marshal_surprised, 1876s # G_TYPE_NONE, 1876s # 0); 1876s # 1876s # /* GObject properties for D-Bus properties: */ 1876s # /** 1876s # * ComAcmeCoyote:mood: 1876s # * 1876s # * Represents the D-Bus property "Mood". 1876s # * 1876s # * 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. 1876s # */ 1876s # g_object_interface_install_property (iface, 1876s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_get_mood: (skip) 1876s # * @object: A #ComAcmeCoyote. 1876s # * 1876s # * Gets the value of the "Mood" D-Bus property. 1876s # * 1876s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1876s # * 1876s # * 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. 1876s # * 1876s # * 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. 1876s # */ 1876s # const gchar * 1876s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1876s # { 1876s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1876s # 1876s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_dup_mood: (skip) 1876s # * @object: A #ComAcmeCoyote. 1876s # * 1876s # * Gets a copy of the "Mood" D-Bus property. 1876s # * 1876s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1876s # * 1876s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1876s # */ 1876s # gchar * 1876s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1876s # { 1876s # gchar *value; 1876s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1876s # return value; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_set_mood: (skip) 1876s # * @object: A #ComAcmeCoyote. 1876s # * @value: The value to set. 1876s # * 1876s # * Sets the "Mood" D-Bus property to @value. 1876s # * 1876s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1876s # */ 1876s # void 1876s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1876s # { 1876s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_emit_surprised: 1876s # * @object: A #ComAcmeCoyote. 1876s # * 1876s # * Emits the "Surprised" D-Bus signal. 1876s # */ 1876s # void 1876s # com_acme_coyote_emit_surprised ( 1876s # ComAcmeCoyote *object) 1876s # { 1876s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_run: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1876s # * 1876s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1876s # */ 1876s # void 1876s # com_acme_coyote_call_run ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1876s # "Run", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # callback, 1876s # user_data); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_run_finish: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Finishes an operation started with com_acme_coyote_call_run(). 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # com_acme_coyote_call_run_finish ( 1876s # ComAcmeCoyote *proxy, 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_run_sync: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1876s # * 1876s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # com_acme_coyote_call_run_sync ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1876s # "Run", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_sleep: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1876s # * 1876s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1876s # */ 1876s # void 1876s # com_acme_coyote_call_sleep ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1876s # "Sleep", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # callback, 1876s # user_data); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_sleep_finish: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # com_acme_coyote_call_sleep_finish ( 1876s # ComAcmeCoyote *proxy, 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_sleep_sync: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1876s # * 1876s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # com_acme_coyote_call_sleep_sync ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1876s # "Sleep", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_attack: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1876s # * 1876s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1876s # */ 1876s # void 1876s # com_acme_coyote_call_attack ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1876s # "Attack", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # callback, 1876s # user_data); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_attack_finish: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Finishes an operation started with com_acme_coyote_call_attack(). 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # com_acme_coyote_call_attack_finish ( 1876s # ComAcmeCoyote *proxy, 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_attack_sync: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1876s # * 1876s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # com_acme_coyote_call_attack_sync ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1876s # "Attack", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_complete_run: 1876s # * @object: A #ComAcmeCoyote. 1876s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1876s # * 1876s # * 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. 1876s # * 1876s # * This method will free @invocation, you cannot use it afterwards. 1876s # */ 1876s # void 1876s # com_acme_coyote_complete_run ( 1876s # ComAcmeCoyote *object G_GNUC_UNUSED, 1876s # GDBusMethodInvocation *invocation) 1876s # { 1876s # g_dbus_method_invocation_return_value (invocation, 1876s # g_variant_new ("()")); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_complete_sleep: 1876s # * @object: A #ComAcmeCoyote. 1876s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1876s # * 1876s # * 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. 1876s # * 1876s # * This method will free @invocation, you cannot use it afterwards. 1876s # */ 1876s # void 1876s # com_acme_coyote_complete_sleep ( 1876s # ComAcmeCoyote *object G_GNUC_UNUSED, 1876s # GDBusMethodInvocation *invocation) 1876s # { 1876s # g_dbus_method_invocation_return_value (invocation, 1876s # g_variant_new ("()")); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_complete_attack: 1876s # * @object: A #ComAcmeCoyote. 1876s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1876s # * 1876s # * 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. 1876s # * 1876s # * This method will free @invocation, you cannot use it afterwards. 1876s # */ 1876s # void 1876s # com_acme_coyote_complete_attack ( 1876s # ComAcmeCoyote *object G_GNUC_UNUSED, 1876s # GDBusMethodInvocation *invocation) 1876s # { 1876s # g_dbus_method_invocation_return_value (invocation, 1876s # g_variant_new ("()")); 1876s # } 1876s # 1876s # /* ------------------------------------------------------------------------ */ 1876s # 1876s # /** 1876s # * ComAcmeCoyoteProxy: 1876s # * 1876s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1876s # */ 1876s # 1876s # /** 1876s # * ComAcmeCoyoteProxyClass: 1876s # * @parent_class: The parent class. 1876s # * 1876s # * Class structure for #ComAcmeCoyoteProxy. 1876s # */ 1876s # 1876s # struct _ComAcmeCoyoteProxyPrivate 1876s # { 1876s # GData *qdata; 1876s # }; 1876s # 1876s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1876s # 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1876s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1876s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1876s # 1876s # #else 1876s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1876s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1876s # 1876s # #endif 1876s # static void 1876s # com_acme_coyote_proxy_finalize (GObject *object) 1876s # { 1876s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1876s # g_datalist_clear (&proxy->priv->qdata); 1876s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_get_property (GObject *object, 1876s # guint prop_id, 1876s # GValue *value, 1876s # GParamSpec *pspec G_GNUC_UNUSED) 1876s # { 1876s # const _ExtendedGDBusPropertyInfo *info; 1876s # GVariant *variant; 1876s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1876s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1876s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1876s # if (info->use_gvariant) 1876s # { 1876s # g_value_set_variant (value, variant); 1876s # } 1876s # else 1876s # { 1876s # if (variant != NULL) 1876s # g_dbus_gvariant_to_gvalue (variant, value); 1876s # } 1876s # if (variant != NULL) 1876s # g_variant_unref (variant); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1876s # GAsyncResult *res, 1876s # gpointer user_data) 1876s # { 1876s # const _ExtendedGDBusPropertyInfo *info = user_data; 1876s # GError *error; 1876s # GVariant *_ret; 1876s # error = NULL; 1876s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1876s # if (!_ret) 1876s # { 1876s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1876s # info->parent_struct.name, 1876s # error->message, g_quark_to_string (error->domain), error->code); 1876s # g_error_free (error); 1876s # } 1876s # else 1876s # { 1876s # g_variant_unref (_ret); 1876s # } 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_set_property (GObject *object, 1876s # guint prop_id, 1876s # const GValue *value, 1876s # GParamSpec *pspec G_GNUC_UNUSED) 1876s # { 1876s # const _ExtendedGDBusPropertyInfo *info; 1876s # GVariant *variant; 1876s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1876s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1876s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1876s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1876s # "org.freedesktop.DBus.Properties.Set", 1876s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1876s # g_variant_unref (variant); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1876s # const gchar *sender_name G_GNUC_UNUSED, 1876s # const gchar *signal_name, 1876s # GVariant *parameters) 1876s # { 1876s # _ExtendedGDBusSignalInfo *info; 1876s # GVariantIter iter; 1876s # GVariant *child; 1876s # GValue *paramv; 1876s # gsize num_params; 1876s # gsize n; 1876s # guint signal_id; 1876s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1876s # if (info == NULL) 1876s # return; 1876s # num_params = g_variant_n_children (parameters); 1876s # paramv = g_new0 (GValue, num_params + 1); 1876s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1876s # g_value_set_object (¶mv[0], proxy); 1876s # g_variant_iter_init (&iter, parameters); 1876s # n = 1; 1876s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1876s # { 1876s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1876s # if (arg_info->use_gvariant) 1876s # { 1876s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1876s # g_value_set_variant (¶mv[n], child); 1876s # n++; 1876s # } 1876s # else 1876s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1876s # g_variant_unref (child); 1876s # } 1876s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1876s # g_signal_emitv (paramv, signal_id, 0, NULL); 1876s # for (n = 0; n < num_params + 1; n++) 1876s # g_value_unset (¶mv[n]); 1876s # g_free (paramv); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1876s # GVariant *changed_properties, 1876s # const gchar *const *invalidated_properties) 1876s # { 1876s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1876s # guint n; 1876s # const gchar *key; 1876s # GVariantIter *iter; 1876s # _ExtendedGDBusPropertyInfo *info; 1876s # g_variant_get (changed_properties, "a{sv}", &iter); 1876s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1876s # { 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1876s # g_datalist_remove_data (&proxy->priv->qdata, key); 1876s # if (info != NULL) 1876s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1876s # } 1876s # g_variant_iter_free (iter); 1876s # for (n = 0; invalidated_properties[n] != NULL; n++) 1876s # { 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1876s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1876s # if (info != NULL) 1876s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1876s # } 1876s # } 1876s # 1876s # static const gchar * 1876s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1876s # { 1876s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1876s # GVariant *variant; 1876s # const gchar *value = NULL; 1876s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1876s # if (variant != NULL) 1876s # { 1876s # value = g_variant_get_string (variant, NULL); 1876s # g_variant_unref (variant); 1876s # } 1876s # return value; 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1876s # { 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1876s # #else 1876s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1876s # #endif 1876s # 1876s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1876s # { 1876s # GObjectClass *gobject_class; 1876s # GDBusProxyClass *proxy_class; 1876s # 1876s # gobject_class = G_OBJECT_CLASS (klass); 1876s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1876s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1876s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1876s # 1876s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1876s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1876s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1876s # 1876s # com_acme_coyote_override_properties (gobject_class, 1); 1876s # 1876s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1876s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1876s # #endif 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1876s # { 1876s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_proxy_new: 1876s # * @connection: A #GDBusConnection. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1876s # * 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1876s # * 1876s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1876s # */ 1876s # void 1876s # com_acme_coyote_proxy_new ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # 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); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_proxy_new_finish: 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1876s # * 1876s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # ComAcmeCoyote * 1876s # com_acme_coyote_proxy_new_finish ( 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GObject *ret; 1876s # GObject *source_object; 1876s # source_object = g_async_result_get_source_object (res); 1876s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1876s # g_object_unref (source_object); 1876s # if (ret != NULL) 1876s # return COM_ACME_COYOTE (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_proxy_new_sync: 1876s # * @connection: A #GDBusConnection. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1876s # * 1876s # * The calling thread is blocked until a reply is received. 1876s # * 1876s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1876s # * 1876s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # ComAcmeCoyote * 1876s # com_acme_coyote_proxy_new_sync ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GInitable *ret; 1876s # 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); 1876s # if (ret != NULL) 1876s # return COM_ACME_COYOTE (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # 1876s # /** 1876s # * com_acme_coyote_proxy_new_for_bus: 1876s # * @bus_type: A #GBusType. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: A bus name (well-known or unique). 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1876s # * 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1876s # * 1876s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1876s # */ 1876s # void 1876s # com_acme_coyote_proxy_new_for_bus ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # 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); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_proxy_new_for_bus_finish: 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1876s # * 1876s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # ComAcmeCoyote * 1876s # com_acme_coyote_proxy_new_for_bus_finish ( 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GObject *ret; 1876s # GObject *source_object; 1876s # source_object = g_async_result_get_source_object (res); 1876s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1876s # g_object_unref (source_object); 1876s # if (ret != NULL) 1876s # return COM_ACME_COYOTE (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_proxy_new_for_bus_sync: 1876s # * @bus_type: A #GBusType. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: A bus name (well-known or unique). 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1876s # * 1876s # * The calling thread is blocked until a reply is received. 1876s # * 1876s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1876s # * 1876s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # ComAcmeCoyote * 1876s # com_acme_coyote_proxy_new_for_bus_sync ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GInitable *ret; 1876s # 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); 1876s # if (ret != NULL) 1876s # return COM_ACME_COYOTE (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # 1876s # /* ------------------------------------------------------------------------ */ 1876s # 1876s # /** 1876s # * ComAcmeCoyoteSkeleton: 1876s # * 1876s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1876s # */ 1876s # 1876s # /** 1876s # * ComAcmeCoyoteSkeletonClass: 1876s # * @parent_class: The parent class. 1876s # * 1876s # * Class structure for #ComAcmeCoyoteSkeleton. 1876s # */ 1876s # 1876s # struct _ComAcmeCoyoteSkeletonPrivate 1876s # { 1876s # GValue *properties; 1876s # GList *changed_properties; 1876s # GSource *changed_properties_idle_source; 1876s # GMainContext *context; 1876s # GMutex lock; 1876s # }; 1876s # 1876s # static void 1876s # _com_acme_coyote_skeleton_handle_method_call ( 1876s # GDBusConnection *connection G_GNUC_UNUSED, 1876s # const gchar *sender G_GNUC_UNUSED, 1876s # const gchar *object_path G_GNUC_UNUSED, 1876s # const gchar *interface_name, 1876s # const gchar *method_name, 1876s # GVariant *parameters, 1876s # GDBusMethodInvocation *invocation, 1876s # gpointer user_data) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1876s # _ExtendedGDBusMethodInfo *info; 1876s # GVariantIter iter; 1876s # GVariant *child; 1876s # GValue *paramv; 1876s # gsize num_params; 1876s # guint num_extra; 1876s # gsize n; 1876s # guint signal_id; 1876s # GValue return_value = G_VALUE_INIT; 1876s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1876s # g_assert (info != NULL); 1876s # num_params = g_variant_n_children (parameters); 1876s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1876s # n = 0; 1876s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1876s # g_value_set_object (¶mv[n++], skeleton); 1876s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1876s # g_value_set_object (¶mv[n++], invocation); 1876s # if (info->pass_fdlist) 1876s # { 1876s # #ifdef G_OS_UNIX 1876s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1876s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1876s # #else 1876s # g_assert_not_reached (); 1876s # #endif 1876s # } 1876s # g_variant_iter_init (&iter, parameters); 1876s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1876s # { 1876s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1876s # if (arg_info->use_gvariant) 1876s # { 1876s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1876s # g_value_set_variant (¶mv[n], child); 1876s # n++; 1876s # } 1876s # else 1876s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1876s # g_variant_unref (child); 1876s # } 1876s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1876s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1876s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1876s # if (!g_value_get_boolean (&return_value)) 1876s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1876s # g_value_unset (&return_value); 1876s # for (n = 0; n < num_params + num_extra; n++) 1876s # g_value_unset (¶mv[n]); 1876s # g_free (paramv); 1876s # } 1876s # 1876s # static GVariant * 1876s # _com_acme_coyote_skeleton_handle_get_property ( 1876s # GDBusConnection *connection G_GNUC_UNUSED, 1876s # const gchar *sender G_GNUC_UNUSED, 1876s # const gchar *object_path G_GNUC_UNUSED, 1876s # const gchar *interface_name G_GNUC_UNUSED, 1876s # const gchar *property_name, 1876s # GError **error, 1876s # gpointer user_data) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1876s # GValue value = G_VALUE_INIT; 1876s # GParamSpec *pspec; 1876s # _ExtendedGDBusPropertyInfo *info; 1876s # GVariant *ret; 1876s # ret = NULL; 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1876s # g_assert (info != NULL); 1876s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1876s # if (pspec == NULL) 1876s # { 1876s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1876s # } 1876s # else 1876s # { 1876s # g_value_init (&value, pspec->value_type); 1876s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1876s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1876s # g_value_unset (&value); 1876s # } 1876s # return ret; 1876s # } 1876s # 1876s # static gboolean 1876s # _com_acme_coyote_skeleton_handle_set_property ( 1876s # GDBusConnection *connection G_GNUC_UNUSED, 1876s # const gchar *sender G_GNUC_UNUSED, 1876s # const gchar *object_path G_GNUC_UNUSED, 1876s # const gchar *interface_name G_GNUC_UNUSED, 1876s # const gchar *property_name, 1876s # GVariant *variant, 1876s # GError **error, 1876s # gpointer user_data) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1876s # GValue value = G_VALUE_INIT; 1876s # GParamSpec *pspec; 1876s # _ExtendedGDBusPropertyInfo *info; 1876s # gboolean ret; 1876s # ret = FALSE; 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1876s # g_assert (info != NULL); 1876s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1876s # if (pspec == NULL) 1876s # { 1876s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1876s # } 1876s # else 1876s # { 1876s # if (info->use_gvariant) 1876s # g_value_set_variant (&value, variant); 1876s # else 1876s # g_dbus_gvariant_to_gvalue (variant, &value); 1876s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1876s # g_value_unset (&value); 1876s # ret = TRUE; 1876s # } 1876s # return ret; 1876s # } 1876s # 1876s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1876s # { 1876s # _com_acme_coyote_skeleton_handle_method_call, 1876s # _com_acme_coyote_skeleton_handle_get_property, 1876s # _com_acme_coyote_skeleton_handle_set_property, 1876s # {NULL} 1876s # }; 1876s # 1876s # static GDBusInterfaceInfo * 1876s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1876s # { 1876s # return com_acme_coyote_interface_info (); 1876s # } 1876s # 1876s # static GDBusInterfaceVTable * 1876s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1876s # { 1876s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1876s # } 1876s # 1876s # static GVariant * 1876s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1876s # 1876s # GVariantBuilder builder; 1876s # guint n; 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1876s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1876s # #else 1876s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1876s # #endif 1876s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1876s # goto out; 1876s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1876s # { 1876s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1876s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1876s # { 1876s # GVariant *value; 1876s # 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); 1876s # if (value != NULL) 1876s # { 1876s # g_variant_take_ref (value); 1876s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1876s # g_variant_unref (value); 1876s # } 1876s # } 1876s # } 1876s # out: 1876s # return g_variant_builder_end (&builder); 1876s # } 1876s # 1876s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1876s # 1876s # static void 1876s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1876s # gboolean emit_changed = FALSE; 1876s # 1876s # g_mutex_lock (&skeleton->priv->lock); 1876s # if (skeleton->priv->changed_properties_idle_source != NULL) 1876s # { 1876s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1876s # skeleton->priv->changed_properties_idle_source = NULL; 1876s # emit_changed = TRUE; 1876s # } 1876s # g_mutex_unlock (&skeleton->priv->lock); 1876s # 1876s # if (emit_changed) 1876s # _com_acme_coyote_emit_changed (skeleton); 1876s # } 1876s # 1876s # static void 1876s # _com_acme_coyote_on_signal_surprised ( 1876s # ComAcmeCoyote *object) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1876s # 1876s # GList *connections, *l; 1876s # GVariant *signal_variant; 1876s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1876s # 1876s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1876s # for (l = connections; l != NULL; l = l->next) 1876s # { 1876s # GDBusConnection *connection = l->data; 1876s # g_dbus_connection_emit_signal (connection, 1876s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1876s # signal_variant, NULL); 1876s # } 1876s # g_variant_unref (signal_variant); 1876s # g_list_free_full (connections, g_object_unref); 1876s # } 1876s # 1876s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1876s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1876s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1876s # 1876s # #else 1876s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1876s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1876s # 1876s # #endif 1876s # static void 1876s # com_acme_coyote_skeleton_finalize (GObject *object) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1876s # guint n; 1876s # for (n = 0; n < 1; n++) 1876s # g_value_unset (&skeleton->priv->properties[n]); 1876s # g_free (skeleton->priv->properties); 1876s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # /* coverity[missing_lock : SUPPRESS] */ 1876s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1876s # #else 1876s # if (skeleton->priv->changed_properties_idle_source != NULL) 1876s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1876s # skeleton->priv->changed_properties_idle_source = NULL; 1876s # #endif 1876s # g_main_context_unref (skeleton->priv->context); 1876s # g_mutex_clear (&skeleton->priv->lock); 1876s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_skeleton_get_property (GObject *object, 1876s # guint prop_id, 1876s # GValue *value, 1876s # GParamSpec *pspec G_GNUC_UNUSED) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1876s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1876s # g_mutex_lock (&skeleton->priv->lock); 1876s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1876s # g_mutex_unlock (&skeleton->priv->lock); 1876s # } 1876s # 1876s # static gboolean 1876s # _com_acme_coyote_emit_changed (gpointer user_data) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1876s # GList *l; 1876s # GVariantBuilder builder; 1876s # GVariantBuilder invalidated_builder; 1876s # guint num_changes; 1876s # 1876s # g_mutex_lock (&skeleton->priv->lock); 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1876s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1876s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1876s # #else 1876s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1876s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1876s # #endif 1876s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1876s # { 1876s # ChangedProperty *cp = l->data; 1876s # GVariant *variant; 1876s # const GValue *cur_value; 1876s # 1876s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1876s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1876s # { 1876s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1876s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1876s # g_variant_unref (variant); 1876s # num_changes++; 1876s # } 1876s # } 1876s # if (num_changes > 0) 1876s # { 1876s # GList *connections, *ll; 1876s # GVariant *signal_variant; 1876s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1876s # &builder, &invalidated_builder)); 1876s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1876s # for (ll = connections; ll != NULL; ll = ll->next) 1876s # { 1876s # GDBusConnection *connection = ll->data; 1876s # 1876s # g_dbus_connection_emit_signal (connection, 1876s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1876s # "org.freedesktop.DBus.Properties", 1876s # "PropertiesChanged", 1876s # signal_variant, 1876s # NULL); 1876s # } 1876s # g_variant_unref (signal_variant); 1876s # g_list_free_full (connections, g_object_unref); 1876s # } 1876s # else 1876s # { 1876s # g_variant_builder_clear (&builder); 1876s # g_variant_builder_clear (&invalidated_builder); 1876s # } 1876s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1876s # skeleton->priv->changed_properties = NULL; 1876s # skeleton->priv->changed_properties_idle_source = NULL; 1876s # g_mutex_unlock (&skeleton->priv->lock); 1876s # return FALSE; 1876s # } 1876s # 1876s # static void 1876s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1876s # { 1876s # ChangedProperty *cp; 1876s # GList *l; 1876s # cp = NULL; 1876s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1876s # { 1876s # ChangedProperty *i_cp = l->data; 1876s # if (i_cp->info == info) 1876s # { 1876s # cp = i_cp; 1876s # break; 1876s # } 1876s # } 1876s # if (cp == NULL) 1876s # { 1876s # cp = g_new0 (ChangedProperty, 1); 1876s # cp->prop_id = prop_id; 1876s # cp->info = info; 1876s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1876s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1876s # g_value_copy (orig_value, &cp->orig_value); 1876s # } 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_skeleton_notify (GObject *object, 1876s # GParamSpec *pspec G_GNUC_UNUSED) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1876s # g_mutex_lock (&skeleton->priv->lock); 1876s # if (skeleton->priv->changed_properties != NULL && 1876s # skeleton->priv->changed_properties_idle_source == NULL) 1876s # { 1876s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1876s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1876s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1876s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1876s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1876s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1876s # } 1876s # g_mutex_unlock (&skeleton->priv->lock); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_skeleton_set_property (GObject *object, 1876s # guint prop_id, 1876s # const GValue *value, 1876s # GParamSpec *pspec) 1876s # { 1876s # const _ExtendedGDBusPropertyInfo *info; 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1876s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1876s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1876s # g_mutex_lock (&skeleton->priv->lock); 1876s # g_object_freeze_notify (object); 1876s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1876s # { 1876s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1876s # info->emits_changed_signal) 1876s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1876s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1876s # g_object_notify_by_pspec (object, pspec); 1876s # } 1876s # g_mutex_unlock (&skeleton->priv->lock); 1876s # g_object_thaw_notify (object); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1876s # { 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1876s # #else 1876s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1876s # #endif 1876s # 1876s # g_mutex_init (&skeleton->priv->lock); 1876s # skeleton->priv->context = g_main_context_ref_thread_default (); 1876s # skeleton->priv->properties = g_new0 (GValue, 1); 1876s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1876s # } 1876s # 1876s # static const gchar * 1876s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1876s # const gchar *value; 1876s # g_mutex_lock (&skeleton->priv->lock); 1876s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1876s # g_mutex_unlock (&skeleton->priv->lock); 1876s # return value; 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1876s # { 1876s # GObjectClass *gobject_class; 1876s # GDBusInterfaceSkeletonClass *skeleton_class; 1876s # 1876s # gobject_class = G_OBJECT_CLASS (klass); 1876s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1876s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1876s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1876s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1876s # 1876s # 1876s # com_acme_coyote_override_properties (gobject_class, 1); 1876s # 1876s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1876s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1876s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1876s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1876s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1876s # 1876s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1876s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1876s # #endif 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1876s # { 1876s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1876s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_skeleton_new: 1876s # * 1876s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1876s # * 1876s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1876s # */ 1876s # ComAcmeCoyote * 1876s # com_acme_coyote_skeleton_new (void) 1876s # { 1876s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1876s # } 1876s # 1876s # /* ------------------------------------------------------------------------ 1876s # * Code for interface org.project.Bar.Frobnicator 1876s # * ------------------------------------------------------------------------ 1876s # */ 1876s # 1876s # /** 1876s # * SECTION:OrgProjectBarFrobnicator 1876s # * @title: OrgProjectBarFrobnicator 1876s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1876s # * 1876s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1876s # */ 1876s # 1876s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1876s # 1876s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "RandomMethod", 1876s # NULL, 1876s # NULL, 1876s # NULL 1876s # }, 1876s # "handle-random-method", 1876s # FALSE 1876s # }; 1876s # 1876s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1876s # { 1876s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1876s # NULL 1876s # }; 1876s # 1876s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "org.project.Bar.Frobnicator", 1876s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1876s # NULL, 1876s # NULL, 1876s # NULL 1876s # }, 1876s # "org-project-bar-frobnicator", 1876s # }; 1876s # 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_interface_info: 1876s # * 1876s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1876s # * 1876s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1876s # */ 1876s # GDBusInterfaceInfo * 1876s # org_project_bar_frobnicator_interface_info (void) 1876s # { 1876s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_override_properties: 1876s # * @klass: The class structure for a #GObject derived class. 1876s # * @property_id_begin: The property id to assign to the first overridden property. 1876s # * 1876s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1876s # * The properties are overridden in the order they are defined. 1876s # * 1876s # * Returns: The last property id. 1876s # */ 1876s # guint 1876s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1876s # { 1876s # return property_id_begin - 1; 1876s # } 1876s # 1876s # 1876s # inline static void 1876s # org_project_bar_frobnicator_method_marshal_random_method ( 1876s # GClosure *closure, 1876s # GValue *return_value, 1876s # unsigned int n_param_values, 1876s # const GValue *param_values, 1876s # void *invocation_hint, 1876s # void *marshal_data) 1876s # { 1876s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1876s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1876s # } 1876s # 1876s # 1876s # /** 1876s # * OrgProjectBarFrobnicator: 1876s # * 1876s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1876s # */ 1876s # 1876s # /** 1876s # * OrgProjectBarFrobnicatorIface: 1876s # * @parent_iface: The parent interface. 1876s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1876s # * 1876s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1876s # */ 1876s # 1876s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1876s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1876s # { 1876s # /* GObject signals for incoming D-Bus method calls: */ 1876s # /** 1876s # * OrgProjectBarFrobnicator::handle-random-method: 1876s # * @object: A #OrgProjectBarFrobnicator. 1876s # * @invocation: A #GDBusMethodInvocation. 1876s # * 1876s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1876s # * 1876s # * 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. 1876s # * 1876s # * 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. 1876s # */ 1876s # g_signal_new ("handle-random-method", 1876s # G_TYPE_FROM_INTERFACE (iface), 1876s # G_SIGNAL_RUN_LAST, 1876s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1876s # g_signal_accumulator_true_handled, 1876s # NULL, 1876s # org_project_bar_frobnicator_method_marshal_random_method, 1876s # G_TYPE_BOOLEAN, 1876s # 1, 1876s # G_TYPE_DBUS_METHOD_INVOCATION); 1876s # 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_call_random_method: 1876s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1876s # * 1876s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1876s # */ 1876s # void 1876s # org_project_bar_frobnicator_call_random_method ( 1876s # OrgProjectBarFrobnicator *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1876s # "RandomMethod", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # callback, 1876s # user_data); 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_call_random_method_finish: 1876s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # org_project_bar_frobnicator_call_random_method_finish ( 1876s # OrgProjectBarFrobnicator *proxy, 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_call_random_method_sync: 1876s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1876s # * 1876s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # org_project_bar_frobnicator_call_random_method_sync ( 1876s # OrgProjectBarFrobnicator *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1876s # "RandomMethod", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_complete_random_method: 1876s # * @object: A #OrgProjectBarFrobnicator. 1876s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1876s # * 1876s # * 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. 1876s # * 1876s # * This method will free @invocation, you cannot use it afterwards. 1876s # */ 1876s # void 1876s # org_project_bar_frobnicator_complete_random_method ( 1876s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1876s # GDBusMethodInvocation *invocation) 1876s # { 1876s # g_dbus_method_invocation_return_value (invocation, 1876s # g_variant_new ("()")); 1876s # } 1876s # 1876s # /* ------------------------------------------------------------------------ */ 1876s # 1876s # /** 1876s # * OrgProjectBarFrobnicatorProxy: 1876s # * 1876s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1876s # */ 1876s # 1876s # /** 1876s # * OrgProjectBarFrobnicatorProxyClass: 1876s # * @parent_class: The parent class. 1876s # * 1876s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1876s # */ 1876s # 1876s # struct _OrgProjectBarFrobnicatorProxyPrivate 1876s # { 1876s # GData *qdata; 1876s # }; 1876s # 1876s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1876s # 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1876s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1876s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1876s # 1876s # #else 1876s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1876s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1876s # 1876s # #endif 1876s # static void 1876s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1876s # { 1876s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1876s # g_datalist_clear (&proxy->priv->qdata); 1876s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1876s # guint prop_id G_GNUC_UNUSED, 1876s # GValue *value G_GNUC_UNUSED, 1876s # GParamSpec *pspec G_GNUC_UNUSED) 1876s # { 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1876s # guint prop_id G_GNUC_UNUSED, 1876s # const GValue *value G_GNUC_UNUSED, 1876s # GParamSpec *pspec G_GNUC_UNUSED) 1876s # { 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1876s # const gchar *sender_name G_GNUC_UNUSED, 1876s # const gchar *signal_name, 1876s # GVariant *parameters) 1876s # { 1876s # _ExtendedGDBusSignalInfo *info; 1876s # GVariantIter iter; 1876s # GVariant *child; 1876s # GValue *paramv; 1876s # gsize num_params; 1876s # gsize n; 1876s # guint signal_id; 1876s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1876s # if (info == NULL) 1876s # return; 1876s # num_params = g_variant_n_children (parameters); 1876s # paramv = g_new0 (GValue, num_params + 1); 1876s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1876s # g_value_set_object (¶mv[0], proxy); 1876s # g_variant_iter_init (&iter, parameters); 1876s # n = 1; 1876s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1876s # { 1876s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1876s # if (arg_info->use_gvariant) 1876s # { 1876s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1876s # g_value_set_variant (¶mv[n], child); 1876s # n++; 1876s # } 1876s # else 1876s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1876s # g_variant_unref (child); 1876s # } 1876s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1876s # g_signal_emitv (paramv, signal_id, 0, NULL); 1876s # for (n = 0; n < num_params + 1; n++) 1876s # g_value_unset (¶mv[n]); 1876s # g_free (paramv); 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1876s # GVariant *changed_properties, 1876s # const gchar *const *invalidated_properties) 1876s # { 1876s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1876s # guint n; 1876s # const gchar *key; 1876s # GVariantIter *iter; 1876s # _ExtendedGDBusPropertyInfo *info; 1876s # g_variant_get (changed_properties, "a{sv}", &iter); 1876s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1876s # { 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1876s # g_datalist_remove_data (&proxy->priv->qdata, key); 1876s # if (info != NULL) 1876s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1876s # } 1876s # g_variant_iter_free (iter); 1876s # for (n = 0; invalidated_properties[n] != NULL; n++) 1876s # { 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1876s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1876s # if (info != NULL) 1876s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1876s # } 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1876s # { 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1876s # #else 1876s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1876s # #endif 1876s # 1876s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1876s # { 1876s # GObjectClass *gobject_class; 1876s # GDBusProxyClass *proxy_class; 1876s # 1876s # gobject_class = G_OBJECT_CLASS (klass); 1876s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1876s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1876s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1876s # 1876s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1876s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1876s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1876s # 1876s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1876s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1876s # #endif 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1876s # { 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_proxy_new: 1876s # * @connection: A #GDBusConnection. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1876s # * 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1876s # * 1876s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1876s # */ 1876s # void 1876s # org_project_bar_frobnicator_proxy_new ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # 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); 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_proxy_new_finish: 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1876s # * 1876s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # OrgProjectBarFrobnicator * 1876s # org_project_bar_frobnicator_proxy_new_finish ( 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GObject *ret; 1876s # GObject *source_object; 1876s # source_object = g_async_result_get_source_object (res); 1876s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1876s # g_object_unref (source_object); 1876s # if (ret != NULL) 1876s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_proxy_new_sync: 1876s # * @connection: A #GDBusConnection. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1876s # * 1876s # * The calling thread is blocked until a reply is received. 1876s # * 1876s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1876s # * 1876s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # OrgProjectBarFrobnicator * 1876s # org_project_bar_frobnicator_proxy_new_sync ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GInitable *ret; 1876s # 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); 1876s # if (ret != NULL) 1876s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_proxy_new_for_bus: 1876s # * @bus_type: A #GBusType. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: A bus name (well-known or unique). 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1876s # * 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1876s # * 1876s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1876s # */ 1876s # void 1876s # org_project_bar_frobnicator_proxy_new_for_bus ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # 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); 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1876s # * 1876s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # OrgProjectBarFrobnicator * 1876s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GObject *ret; 1876s # GObject *source_object; 1876s # source_object = g_async_result_get_source_object (res); 1876s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1876s # g_object_unref (source_object); 1876s # if (ret != NULL) 1876s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1876s # * @bus_type: A #GBusType. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: A bus name (well-known or unique). 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1876s # * 1876s # * The calling thread is blocked until a reply is received. 1876s # * 1876s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1876s # * 1876s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # OrgProjectBarFrobnicator * 1876s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GInitable *ret; 1876s # 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); 1876s # if (ret != NULL) 1876s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # 1876s # /* ------------------------------------------------------------------------ */ 1876s # 1876s # /** 1876s # * OrgProjectBarFrobnicatorSkeleton: 1876s # * 1876s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1876s # */ 1876s # 1876s # /** 1876s # * OrgProjectBarFrobnicatorSkeletonClass: 1876s # * @parent_class: The parent class. 1876s # * 1876s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1876s # */ 1876s # 1876s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1876s # { 1876s # GValue *properties; 1876s # GList *changed_properties; 1876s # GSource *changed_properties_idle_source; 1876s # GMainContext *context; 1876s # GMutex lock; 1876s # }; 1876s # 1876s # static void 1876s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1876s # GDBusConnection *connection G_GNUC_UNUSED, 1876s # const gchar *sender G_GNUC_UNUSED, 1876s # const gchar *object_path G_GNUC_UNUSED, 1876s # const gchar *interface_name, 1876s # const gchar *method_name, 1876s # GVariant *parameters, 1876s # GDBusMethodInvocation *invocation, 1876s # gpointer user_data) 1876s # { 1876s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1876s # _ExtendedGDBusMethodInfo *info; 1876s # GVariantIter iter; 1876s # GVariant *child; 1876s # GValue *paramv; 1876s # gsize num_params; 1876s # guint num_extra; 1876s # gsize n; 1876s # guint signal_id; 1876s # GValue return_value = G_VALUE_INIT; 1876s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1876s # g_assert (info != NULL); 1876s # num_params = g_variant_n_children (parameters); 1876s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1876s # n = 0; 1876s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1876s # g_value_set_object (¶mv[n++], skeleton); 1876s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1876s # g_value_set_object (¶mv[n++], invocation); 1876s # if (info->pass_fdlist) 1876s # { 1876s # #ifdef G_OS_UNIX 1876s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1876s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1876s # #else 1876s # g_assert_not_reached (); 1876s # #endif 1876s # } 1876s # g_variant_iter_init (&iter, parameters); 1876s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1876s # { 1876s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1876s # if (arg_info->use_gvariant) 1876s # { 1876s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1876s # g_value_set_variant (¶mv[n], child); 1876s # n++; 1876s # } 1876s # else 1876s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1876s # g_variant_unref (child); 1876s # } 1876s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1876s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1876s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1876s # if (!g_value_get_boolean (&return_value)) 1876s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1876s # g_value_unset (&return_value); 1876s # for (n = 0; n < num_params + num_extra; n++) 1876s # g_value_unset (¶mv[n]); 1876s # g_free (paramv); 1876s # } 1876s # 1876s # static GVariant * 1876s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1876s # GDBusConnection *connection G_GNUC_UNUSED, 1876s # const gchar *sender G_GNUC_UNUSED, 1876s # const gchar *object_path G_GNUC_UNUSED, 1876s # const gchar *interface_name G_GNUC_UNUSED, 1876s # const gchar *property_name, 1876s # GError **error, 1876s # gpointer user_data) 1876s # { 1876s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1876s # GValue value = G_VALUE_INIT; 1876s # GParamSpec *pspec; 1876s # _ExtendedGDBusPropertyInfo *info; 1876s # GVariant *ret; 1876s # ret = NULL; 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1876s # g_assert (info != NULL); 1876s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1876s # if (pspec == NULL) 1876s # { 1876s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1876s # } 1876s # else 1876s # { 1876s # g_value_init (&value, pspec->value_type); 1876s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1876s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1876s # g_value_unset (&value); 1876s # } 1876s # return ret; 1876s # } 1876s # 1876s # static gboolean 1876s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1876s # GDBusConnection *connection G_GNUC_UNUSED, 1876s # const gchar *sender G_GNUC_UNUSED, 1876s # const gchar *object_path G_GNUC_UNUSED, 1876s # const gchar *interface_name G_GNUC_UNUSED, 1876s # const gchar *property_name, 1876s # GVariant *variant, 1876s # GError **error, 1876s # gpointer user_data) 1876s # { 1876s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1876s # GValue value = G_VALUE_INIT; 1876s # GParamSpec *pspec; 1876s # _ExtendedGDBusPropertyInfo *info; 1876s # gboolean ret; 1876s # ret = FALSE; 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1876s # g_assert (info != NULL); 1876s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1876s # if (pspec == NULL) 1876s # { 1876s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1876s # } 1876s # else 1876s # { 1876s # if (info->use_gvariant) 1876s # g_value_set_variant (&value, variant); 1876s # else 1876s # g_dbus_gvariant_to_gvalue (variant, &value); 1876s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1876s # g_value_unset (&value); 1876s # ret = TRUE; 1876s # } 1876s # return ret; 1876s # } 1876s # 1876s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1876s # { 1876s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1876s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1876s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1876s # {NULL} 1876s # }; 1876s # 1876s # static GDBusInterfaceInfo * 1876s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1876s # { 1876s # return org_project_bar_frobnicator_interface_info (); 1876s # } 1876s # 1876s # static GDBusInterfaceVTable * 1876s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1876s # { 1876s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1876s # } 1876s # 1876s # static GVariant * 1876s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1876s # { 1876s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1876s # 1876s # GVariantBuilder builder; 1876s # guint n; 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1876s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1876s # #else 1876s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1876s # #endif 1876s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1876s # goto out; 1876s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1876s # { 1876s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1876s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1876s # { 1876s # GVariant *value; 1876s # 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); 1876s # if (value != NULL) 1876s # { 1876s # g_variant_take_ref (value); 1876s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1876s # g_variant_unref (value); 1876s # } 1876s # } 1876s # } 1876s # out: 1876s # return g_variant_builder_end (&builder); 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1876s # { 1876s # } 1876s # 1876s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1876s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1876s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1876s # 1876s # #else 1876s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1876s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1876s # 1876s # #endif 1876s # static void 1876s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1876s # { 1876s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1876s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # /* coverity[missing_lock : SUPPRESS] */ 1876s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1876s # #else 1876s # if (skeleton->priv->changed_properties_idle_source != NULL) 1876s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1876s # skeleton->priv->changed_properties_idle_source = NULL; 1876s # #endif 1876s # g_main_context_unref (skeleton->priv->context); 1876s # g_mutex_clear (&skeleton->priv->lock); 1876s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1876s # { 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1876s # #else 1876s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1876s # #endif 1876s # 1876s # g_mutex_init (&skeleton->priv->lock); 1876s # skeleton->priv->context = g_main_context_ref_thread_default (); 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1876s # { 1876s # GObjectClass *gobject_class; 1876s # GDBusInterfaceSkeletonClass *skeleton_class; 1876s # 1876s # gobject_class = G_OBJECT_CLASS (klass); 1876s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1876s # 1876s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1876s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1876s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1876s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1876s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1876s # 1876s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1876s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1876s # #endif 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1876s # { 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_skeleton_new: 1876s # * 1876s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1876s # * 1876s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1876s # */ 1876s # OrgProjectBarFrobnicator * 1876s # org_project_bar_frobnicator_skeleton_new (void) 1876s # { 1876s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1876s # } 1876s # Error: 1876s # 1876s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqi5v36dn/tmptzdqi_9k2.xml', '/tmp/tmpqi5v36dn/tmpijkpmuo31.xml', '--output', '-', '--body'] 1876s # Return code: 0 1876s # Output: 1876s # /* 1876s # * This file is generated by gdbus-codegen, do not modify it. 1876s # * 1876s # * The license of this code is the same as for the D-Bus interface description 1876s # * it was derived from. Note that it links to GLib, so must comply with the 1876s # * LGPL linking clauses. 1876s # */ 1876s # 1876s # #ifdef HAVE_CONFIG_H 1876s # # include "config.h" 1876s # #endif 1876s # 1876s # #include 1876s # #ifdef G_OS_UNIX 1876s # # include 1876s # #endif 1876s # 1876s # #ifdef G_ENABLE_DEBUG 1876s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1876s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1876s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1876s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1876s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1876s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1876s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1876s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1876s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1876s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1876s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1876s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1876s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1876s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1876s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1876s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1876s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1876s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1876s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1876s # #else /* !G_ENABLE_DEBUG */ 1876s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1876s # * Do not access GValues directly in your code. Instead, use the 1876s # * g_value_get_*() functions 1876s # */ 1876s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1876s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1876s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1876s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1876s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1876s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1876s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1876s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1876s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1876s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1876s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1876s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1876s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1876s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1876s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1876s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1876s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1876s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1876s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1876s # #endif /* !G_ENABLE_DEBUG */ 1876s # 1876s # typedef struct 1876s # { 1876s # GDBusArgInfo parent_struct; 1876s # gboolean use_gvariant; 1876s # } _ExtendedGDBusArgInfo; 1876s # 1876s # typedef struct 1876s # { 1876s # GDBusMethodInfo parent_struct; 1876s # const gchar *signal_name; 1876s # gboolean pass_fdlist; 1876s # } _ExtendedGDBusMethodInfo; 1876s # 1876s # typedef struct 1876s # { 1876s # GDBusSignalInfo parent_struct; 1876s # const gchar *signal_name; 1876s # } _ExtendedGDBusSignalInfo; 1876s # 1876s # typedef struct 1876s # { 1876s # GDBusPropertyInfo parent_struct; 1876s # const gchar *hyphen_name; 1876s # guint use_gvariant : 1; 1876s # guint emits_changed_signal : 1; 1876s # } _ExtendedGDBusPropertyInfo; 1876s # 1876s # typedef struct 1876s # { 1876s # GDBusInterfaceInfo parent_struct; 1876s # const gchar *hyphen_name; 1876s # } _ExtendedGDBusInterfaceInfo; 1876s # 1876s # typedef struct 1876s # { 1876s # const _ExtendedGDBusPropertyInfo *info; 1876s # guint prop_id; 1876s # GValue orig_value; /* the value before the change */ 1876s # } ChangedProperty; 1876s # 1876s # static void 1876s # _changed_property_free (ChangedProperty *data) 1876s # { 1876s # g_value_unset (&data->orig_value); 1876s # g_free (data); 1876s # } 1876s # 1876s # static gboolean 1876s # _g_strv_equal0 (gchar **a, gchar **b) 1876s # { 1876s # gboolean ret = FALSE; 1876s # guint n; 1876s # if (a == NULL && b == NULL) 1876s # { 1876s # ret = TRUE; 1876s # goto out; 1876s # } 1876s # if (a == NULL || b == NULL) 1876s # goto out; 1876s # if (g_strv_length (a) != g_strv_length (b)) 1876s # goto out; 1876s # for (n = 0; a[n] != NULL; n++) 1876s # if (g_strcmp0 (a[n], b[n]) != 0) 1876s # goto out; 1876s # ret = TRUE; 1876s # out: 1876s # return ret; 1876s # } 1876s # 1876s # static gboolean 1876s # _g_variant_equal0 (GVariant *a, GVariant *b) 1876s # { 1876s # gboolean ret = FALSE; 1876s # if (a == NULL && b == NULL) 1876s # { 1876s # ret = TRUE; 1876s # goto out; 1876s # } 1876s # if (a == NULL || b == NULL) 1876s # goto out; 1876s # ret = g_variant_equal (a, b); 1876s # out: 1876s # return ret; 1876s # } 1876s # 1876s # G_GNUC_UNUSED static gboolean 1876s # _g_value_equal (const GValue *a, const GValue *b) 1876s # { 1876s # gboolean ret = FALSE; 1876s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1876s # switch (G_VALUE_TYPE (a)) 1876s # { 1876s # case G_TYPE_BOOLEAN: 1876s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1876s # break; 1876s # case G_TYPE_UCHAR: 1876s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1876s # break; 1876s # case G_TYPE_INT: 1876s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1876s # break; 1876s # case G_TYPE_UINT: 1876s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1876s # break; 1876s # case G_TYPE_INT64: 1876s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1876s # break; 1876s # case G_TYPE_UINT64: 1876s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1876s # break; 1876s # case G_TYPE_DOUBLE: 1876s # { 1876s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1876s # gdouble da = g_value_get_double (a); 1876s # gdouble db = g_value_get_double (b); 1876s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1876s # } 1876s # break; 1876s # case G_TYPE_STRING: 1876s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1876s # break; 1876s # case G_TYPE_VARIANT: 1876s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1876s # break; 1876s # default: 1876s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1876s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1876s # else 1876s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1876s # break; 1876s # } 1876s # return ret; 1876s # } 1876s # 1876s # static void 1876s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1876s # GClosure *closure, 1876s # GValue *return_value, 1876s # unsigned int n_param_values, 1876s # const GValue *param_values, 1876s # void *invocation_hint G_GNUC_UNUSED, 1876s # void *marshal_data) 1876s # { 1876s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1876s # (void *data1, 1876s # GDBusMethodInvocation *arg_method_invocation, 1876s # void *data2); 1876s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1876s # GCClosure *cc = (GCClosure*) closure; 1876s # void *data1, *data2; 1876s # gboolean v_return; 1876s # 1876s # g_return_if_fail (return_value != NULL); 1876s # g_return_if_fail (n_param_values == 2); 1876s # 1876s # if (G_CCLOSURE_SWAP_DATA (closure)) 1876s # { 1876s # data1 = closure->data; 1876s # data2 = g_value_peek_pointer (param_values + 0); 1876s # } 1876s # else 1876s # { 1876s # data1 = g_value_peek_pointer (param_values + 0); 1876s # data2 = closure->data; 1876s # } 1876s # 1876s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1876s # (marshal_data ? marshal_data : cc->callback); 1876s # 1876s # v_return = 1876s # callback (data1, 1876s # g_marshal_value_peek_object (param_values + 1), 1876s # data2); 1876s # 1876s # g_value_set_boolean (return_value, v_return); 1876s # } 1876s # 1876s # /* ------------------------------------------------------------------------ 1876s # * Code for interface com.acme.Coyote 1876s # * ------------------------------------------------------------------------ 1876s # */ 1876s # 1876s # /** 1876s # * SECTION:ComAcmeCoyote 1876s # * @title: ComAcmeCoyote 1876s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1876s # * 1876s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1876s # */ 1876s # 1876s # enum 1876s # { 1876s # _COM_ACME_COYOTE_SURPRISED, 1876s # }; 1876s # 1876s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1876s # 1876s # /* ---- Introspection data for com.acme.Coyote ---- */ 1876s # 1876s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "Run", 1876s # NULL, 1876s # NULL, 1876s # NULL 1876s # }, 1876s # "handle-run", 1876s # FALSE 1876s # }; 1876s # 1876s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "Sleep", 1876s # NULL, 1876s # NULL, 1876s # NULL 1876s # }, 1876s # "handle-sleep", 1876s # FALSE 1876s # }; 1876s # 1876s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "Attack", 1876s # NULL, 1876s # NULL, 1876s # NULL 1876s # }, 1876s # "handle-attack", 1876s # FALSE 1876s # }; 1876s # 1876s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1876s # { 1876s # &_com_acme_coyote_method_info_run.parent_struct, 1876s # &_com_acme_coyote_method_info_sleep.parent_struct, 1876s # &_com_acme_coyote_method_info_attack.parent_struct, 1876s # NULL 1876s # }; 1876s # 1876s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "Surprised", 1876s # NULL, 1876s # NULL 1876s # }, 1876s # "surprised" 1876s # }; 1876s # 1876s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1876s # { 1876s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1876s # NULL 1876s # }; 1876s # 1876s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "Mood", 1876s # (gchar *) "s", 1876s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1876s # NULL 1876s # }, 1876s # "mood", 1876s # FALSE, 1876s # TRUE 1876s # }; 1876s # 1876s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1876s # { 1876s # &_com_acme_coyote_property_info_mood.parent_struct, 1876s # NULL 1876s # }; 1876s # 1876s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "com.acme.Coyote", 1876s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1876s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1876s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1876s # NULL 1876s # }, 1876s # "com-acme-coyote", 1876s # }; 1876s # 1876s # 1876s # /** 1876s # * com_acme_coyote_interface_info: 1876s # * 1876s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1876s # * 1876s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1876s # */ 1876s # GDBusInterfaceInfo * 1876s # com_acme_coyote_interface_info (void) 1876s # { 1876s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_override_properties: 1876s # * @klass: The class structure for a #GObject derived class. 1876s # * @property_id_begin: The property id to assign to the first overridden property. 1876s # * 1876s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1876s # * The properties are overridden in the order they are defined. 1876s # * 1876s # * Returns: The last property id. 1876s # */ 1876s # guint 1876s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1876s # { 1876s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1876s # return property_id_begin - 1; 1876s # } 1876s # 1876s # 1876s # inline static void 1876s # com_acme_coyote_signal_marshal_surprised ( 1876s # GClosure *closure, 1876s # GValue *return_value, 1876s # unsigned int n_param_values, 1876s # const GValue *param_values, 1876s # void *invocation_hint, 1876s # void *marshal_data) 1876s # { 1876s # g_cclosure_marshal_VOID__VOID (closure, 1876s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1876s # } 1876s # 1876s # inline static void 1876s # com_acme_coyote_method_marshal_run ( 1876s # GClosure *closure, 1876s # GValue *return_value, 1876s # unsigned int n_param_values, 1876s # const GValue *param_values, 1876s # void *invocation_hint, 1876s # void *marshal_data) 1876s # { 1876s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1876s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1876s # } 1876s # 1876s # inline static void 1876s # com_acme_coyote_method_marshal_sleep ( 1876s # GClosure *closure, 1876s # GValue *return_value, 1876s # unsigned int n_param_values, 1876s # const GValue *param_values, 1876s # void *invocation_hint, 1876s # void *marshal_data) 1876s # { 1876s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1876s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1876s # } 1876s # 1876s # inline static void 1876s # com_acme_coyote_method_marshal_attack ( 1876s # GClosure *closure, 1876s # GValue *return_value, 1876s # unsigned int n_param_values, 1876s # const GValue *param_values, 1876s # void *invocation_hint, 1876s # void *marshal_data) 1876s # { 1876s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1876s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1876s # } 1876s # 1876s # 1876s # /** 1876s # * ComAcmeCoyote: 1876s # * 1876s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1876s # */ 1876s # 1876s # /** 1876s # * ComAcmeCoyoteIface: 1876s # * @parent_iface: The parent interface. 1876s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1876s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1876s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1876s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1876s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1876s # * 1876s # * Virtual table for the D-Bus interface com.acme.Coyote. 1876s # */ 1876s # 1876s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1876s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1876s # 1876s # static void 1876s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1876s # { 1876s # /* GObject signals for incoming D-Bus method calls: */ 1876s # /** 1876s # * ComAcmeCoyote::handle-run: 1876s # * @object: A #ComAcmeCoyote. 1876s # * @invocation: A #GDBusMethodInvocation. 1876s # * 1876s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1876s # * 1876s # * 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. 1876s # * 1876s # * 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. 1876s # */ 1876s # g_signal_new ("handle-run", 1876s # G_TYPE_FROM_INTERFACE (iface), 1876s # G_SIGNAL_RUN_LAST, 1876s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1876s # g_signal_accumulator_true_handled, 1876s # NULL, 1876s # com_acme_coyote_method_marshal_run, 1876s # G_TYPE_BOOLEAN, 1876s # 1, 1876s # G_TYPE_DBUS_METHOD_INVOCATION); 1876s # 1876s # /** 1876s # * ComAcmeCoyote::handle-sleep: 1876s # * @object: A #ComAcmeCoyote. 1876s # * @invocation: A #GDBusMethodInvocation. 1876s # * 1876s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1876s # * 1876s # * 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. 1876s # * 1876s # * 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. 1876s # */ 1876s # g_signal_new ("handle-sleep", 1876s # G_TYPE_FROM_INTERFACE (iface), 1876s # G_SIGNAL_RUN_LAST, 1876s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1876s # g_signal_accumulator_true_handled, 1876s # NULL, 1876s # com_acme_coyote_method_marshal_sleep, 1876s # G_TYPE_BOOLEAN, 1876s # 1, 1876s # G_TYPE_DBUS_METHOD_INVOCATION); 1876s # 1876s # /** 1876s # * ComAcmeCoyote::handle-attack: 1876s # * @object: A #ComAcmeCoyote. 1876s # * @invocation: A #GDBusMethodInvocation. 1876s # * 1876s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1876s # * 1876s # * 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. 1876s # * 1876s # * 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. 1876s # */ 1876s # g_signal_new ("handle-attack", 1876s # G_TYPE_FROM_INTERFACE (iface), 1876s # G_SIGNAL_RUN_LAST, 1876s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1876s # g_signal_accumulator_true_handled, 1876s # NULL, 1876s # com_acme_coyote_method_marshal_attack, 1876s # G_TYPE_BOOLEAN, 1876s # 1, 1876s # G_TYPE_DBUS_METHOD_INVOCATION); 1876s # 1876s # /* GObject signals for received D-Bus signals: */ 1876s # /** 1876s # * ComAcmeCoyote::surprised: 1876s # * @object: A #ComAcmeCoyote. 1876s # * 1876s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1876s # * 1876s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1876s # */ 1876s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1876s # g_signal_new ("surprised", 1876s # G_TYPE_FROM_INTERFACE (iface), 1876s # G_SIGNAL_RUN_LAST, 1876s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1876s # NULL, 1876s # NULL, 1876s # com_acme_coyote_signal_marshal_surprised, 1876s # G_TYPE_NONE, 1876s # 0); 1876s # 1876s # /* GObject properties for D-Bus properties: */ 1876s # /** 1876s # * ComAcmeCoyote:mood: 1876s # * 1876s # * Represents the D-Bus property "Mood". 1876s # * 1876s # * 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. 1876s # */ 1876s # g_object_interface_install_property (iface, 1876s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_get_mood: (skip) 1876s # * @object: A #ComAcmeCoyote. 1876s # * 1876s # * Gets the value of the "Mood" D-Bus property. 1876s # * 1876s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1876s # * 1876s # * 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. 1876s # * 1876s # * 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. 1876s # */ 1876s # const gchar * 1876s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1876s # { 1876s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1876s # 1876s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_dup_mood: (skip) 1876s # * @object: A #ComAcmeCoyote. 1876s # * 1876s # * Gets a copy of the "Mood" D-Bus property. 1876s # * 1876s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1876s # * 1876s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1876s # */ 1876s # gchar * 1876s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1876s # { 1876s # gchar *value; 1876s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1876s # return value; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_set_mood: (skip) 1876s # * @object: A #ComAcmeCoyote. 1876s # * @value: The value to set. 1876s # * 1876s # * Sets the "Mood" D-Bus property to @value. 1876s # * 1876s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1876s # */ 1876s # void 1876s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1876s # { 1876s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_emit_surprised: 1876s # * @object: A #ComAcmeCoyote. 1876s # * 1876s # * Emits the "Surprised" D-Bus signal. 1876s # */ 1876s # void 1876s # com_acme_coyote_emit_surprised ( 1876s # ComAcmeCoyote *object) 1876s # { 1876s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_run: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1876s # * 1876s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1876s # */ 1876s # void 1876s # com_acme_coyote_call_run ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1876s # "Run", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # callback, 1876s # user_data); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_run_finish: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Finishes an operation started with com_acme_coyote_call_run(). 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # com_acme_coyote_call_run_finish ( 1876s # ComAcmeCoyote *proxy, 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_run_sync: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1876s # * 1876s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # com_acme_coyote_call_run_sync ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1876s # "Run", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_sleep: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1876s # * 1876s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1876s # */ 1876s # void 1876s # com_acme_coyote_call_sleep ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1876s # "Sleep", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # callback, 1876s # user_data); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_sleep_finish: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # com_acme_coyote_call_sleep_finish ( 1876s # ComAcmeCoyote *proxy, 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_sleep_sync: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1876s # * 1876s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # com_acme_coyote_call_sleep_sync ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1876s # "Sleep", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_attack: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1876s # * 1876s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1876s # */ 1876s # void 1876s # com_acme_coyote_call_attack ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1876s # "Attack", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # callback, 1876s # user_data); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_attack_finish: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Finishes an operation started with com_acme_coyote_call_attack(). 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # com_acme_coyote_call_attack_finish ( 1876s # ComAcmeCoyote *proxy, 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_call_attack_sync: 1876s # * @proxy: A #ComAcmeCoyoteProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1876s # * 1876s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # com_acme_coyote_call_attack_sync ( 1876s # ComAcmeCoyote *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1876s # "Attack", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_complete_run: 1876s # * @object: A #ComAcmeCoyote. 1876s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1876s # * 1876s # * 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. 1876s # * 1876s # * This method will free @invocation, you cannot use it afterwards. 1876s # */ 1876s # void 1876s # com_acme_coyote_complete_run ( 1876s # ComAcmeCoyote *object G_GNUC_UNUSED, 1876s # GDBusMethodInvocation *invocation) 1876s # { 1876s # g_dbus_method_invocation_return_value (invocation, 1876s # g_variant_new ("()")); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_complete_sleep: 1876s # * @object: A #ComAcmeCoyote. 1876s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1876s # * 1876s # * 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. 1876s # * 1876s # * This method will free @invocation, you cannot use it afterwards. 1876s # */ 1876s # void 1876s # com_acme_coyote_complete_sleep ( 1876s # ComAcmeCoyote *object G_GNUC_UNUSED, 1876s # GDBusMethodInvocation *invocation) 1876s # { 1876s # g_dbus_method_invocation_return_value (invocation, 1876s # g_variant_new ("()")); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_complete_attack: 1876s # * @object: A #ComAcmeCoyote. 1876s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1876s # * 1876s # * 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. 1876s # * 1876s # * This method will free @invocation, you cannot use it afterwards. 1876s # */ 1876s # void 1876s # com_acme_coyote_complete_attack ( 1876s # ComAcmeCoyote *object G_GNUC_UNUSED, 1876s # GDBusMethodInvocation *invocation) 1876s # { 1876s # g_dbus_method_invocation_return_value (invocation, 1876s # g_variant_new ("()")); 1876s # } 1876s # 1876s # /* ------------------------------------------------------------------------ */ 1876s # 1876s # /** 1876s # * ComAcmeCoyoteProxy: 1876s # * 1876s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1876s # */ 1876s # 1876s # /** 1876s # * ComAcmeCoyoteProxyClass: 1876s # * @parent_class: The parent class. 1876s # * 1876s # * Class structure for #ComAcmeCoyoteProxy. 1876s # */ 1876s # 1876s # struct _ComAcmeCoyoteProxyPrivate 1876s # { 1876s # GData *qdata; 1876s # }; 1876s # 1876s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1876s # 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1876s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1876s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1876s # 1876s # #else 1876s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1876s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1876s # 1876s # #endif 1876s # static void 1876s # com_acme_coyote_proxy_finalize (GObject *object) 1876s # { 1876s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1876s # g_datalist_clear (&proxy->priv->qdata); 1876s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_get_property (GObject *object, 1876s # guint prop_id, 1876s # GValue *value, 1876s # GParamSpec *pspec G_GNUC_UNUSED) 1876s # { 1876s # const _ExtendedGDBusPropertyInfo *info; 1876s # GVariant *variant; 1876s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1876s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1876s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1876s # if (info->use_gvariant) 1876s # { 1876s # g_value_set_variant (value, variant); 1876s # } 1876s # else 1876s # { 1876s # if (variant != NULL) 1876s # g_dbus_gvariant_to_gvalue (variant, value); 1876s # } 1876s # if (variant != NULL) 1876s # g_variant_unref (variant); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1876s # GAsyncResult *res, 1876s # gpointer user_data) 1876s # { 1876s # const _ExtendedGDBusPropertyInfo *info = user_data; 1876s # GError *error; 1876s # GVariant *_ret; 1876s # error = NULL; 1876s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1876s # if (!_ret) 1876s # { 1876s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1876s # info->parent_struct.name, 1876s # error->message, g_quark_to_string (error->domain), error->code); 1876s # g_error_free (error); 1876s # } 1876s # else 1876s # { 1876s # g_variant_unref (_ret); 1876s # } 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_set_property (GObject *object, 1876s # guint prop_id, 1876s # const GValue *value, 1876s # GParamSpec *pspec G_GNUC_UNUSED) 1876s # { 1876s # const _ExtendedGDBusPropertyInfo *info; 1876s # GVariant *variant; 1876s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1876s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1876s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1876s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1876s # "org.freedesktop.DBus.Properties.Set", 1876s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1876s # g_variant_unref (variant); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1876s # const gchar *sender_name G_GNUC_UNUSED, 1876s # const gchar *signal_name, 1876s # GVariant *parameters) 1876s # { 1876s # _ExtendedGDBusSignalInfo *info; 1876s # GVariantIter iter; 1876s # GVariant *child; 1876s # GValue *paramv; 1876s # gsize num_params; 1876s # gsize n; 1876s # guint signal_id; 1876s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1876s # if (info == NULL) 1876s # return; 1876s # num_params = g_variant_n_children (parameters); 1876s # paramv = g_new0 (GValue, num_params + 1); 1876s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1876s # g_value_set_object (¶mv[0], proxy); 1876s # g_variant_iter_init (&iter, parameters); 1876s # n = 1; 1876s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1876s # { 1876s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1876s # if (arg_info->use_gvariant) 1876s # { 1876s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1876s # g_value_set_variant (¶mv[n], child); 1876s # n++; 1876s # } 1876s # else 1876s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1876s # g_variant_unref (child); 1876s # } 1876s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1876s # g_signal_emitv (paramv, signal_id, 0, NULL); 1876s # for (n = 0; n < num_params + 1; n++) 1876s # g_value_unset (¶mv[n]); 1876s # g_free (paramv); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1876s # GVariant *changed_properties, 1876s # const gchar *const *invalidated_properties) 1876s # { 1876s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1876s # guint n; 1876s # const gchar *key; 1876s # GVariantIter *iter; 1876s # _ExtendedGDBusPropertyInfo *info; 1876s # g_variant_get (changed_properties, "a{sv}", &iter); 1876s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1876s # { 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1876s # g_datalist_remove_data (&proxy->priv->qdata, key); 1876s # if (info != NULL) 1876s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1876s # } 1876s # g_variant_iter_free (iter); 1876s # for (n = 0; invalidated_properties[n] != NULL; n++) 1876s # { 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1876s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1876s # if (info != NULL) 1876s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1876s # } 1876s # } 1876s # 1876s # static const gchar * 1876s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1876s # { 1876s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1876s # GVariant *variant; 1876s # const gchar *value = NULL; 1876s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1876s # if (variant != NULL) 1876s # { 1876s # value = g_variant_get_string (variant, NULL); 1876s # g_variant_unref (variant); 1876s # } 1876s # return value; 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1876s # { 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1876s # #else 1876s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1876s # #endif 1876s # 1876s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1876s # { 1876s # GObjectClass *gobject_class; 1876s # GDBusProxyClass *proxy_class; 1876s # 1876s # gobject_class = G_OBJECT_CLASS (klass); 1876s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1876s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1876s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1876s # 1876s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1876s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1876s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1876s # 1876s # com_acme_coyote_override_properties (gobject_class, 1); 1876s # 1876s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1876s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1876s # #endif 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1876s # { 1876s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_proxy_new: 1876s # * @connection: A #GDBusConnection. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1876s # * 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1876s # * 1876s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1876s # */ 1876s # void 1876s # com_acme_coyote_proxy_new ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # 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); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_proxy_new_finish: 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1876s # * 1876s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # ComAcmeCoyote * 1876s # com_acme_coyote_proxy_new_finish ( 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GObject *ret; 1876s # GObject *source_object; 1876s # source_object = g_async_result_get_source_object (res); 1876s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1876s # g_object_unref (source_object); 1876s # if (ret != NULL) 1876s # return COM_ACME_COYOTE (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_proxy_new_sync: 1876s # * @connection: A #GDBusConnection. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1876s # * 1876s # * The calling thread is blocked until a reply is received. 1876s # * 1876s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1876s # * 1876s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # ComAcmeCoyote * 1876s # com_acme_coyote_proxy_new_sync ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GInitable *ret; 1876s # 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); 1876s # if (ret != NULL) 1876s # return COM_ACME_COYOTE (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # 1876s # /** 1876s # * com_acme_coyote_proxy_new_for_bus: 1876s # * @bus_type: A #GBusType. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: A bus name (well-known or unique). 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1876s # * 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1876s # * 1876s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1876s # */ 1876s # void 1876s # com_acme_coyote_proxy_new_for_bus ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # 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); 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_proxy_new_for_bus_finish: 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1876s # * 1876s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # ComAcmeCoyote * 1876s # com_acme_coyote_proxy_new_for_bus_finish ( 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GObject *ret; 1876s # GObject *source_object; 1876s # source_object = g_async_result_get_source_object (res); 1876s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1876s # g_object_unref (source_object); 1876s # if (ret != NULL) 1876s # return COM_ACME_COYOTE (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_proxy_new_for_bus_sync: 1876s # * @bus_type: A #GBusType. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: A bus name (well-known or unique). 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1876s # * 1876s # * The calling thread is blocked until a reply is received. 1876s # * 1876s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1876s # * 1876s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # ComAcmeCoyote * 1876s # com_acme_coyote_proxy_new_for_bus_sync ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GInitable *ret; 1876s # 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); 1876s # if (ret != NULL) 1876s # return COM_ACME_COYOTE (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # 1876s # /* ------------------------------------------------------------------------ */ 1876s # 1876s # /** 1876s # * ComAcmeCoyoteSkeleton: 1876s # * 1876s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1876s # */ 1876s # 1876s # /** 1876s # * ComAcmeCoyoteSkeletonClass: 1876s # * @parent_class: The parent class. 1876s # * 1876s # * Class structure for #ComAcmeCoyoteSkeleton. 1876s # */ 1876s # 1876s # struct _ComAcmeCoyoteSkeletonPrivate 1876s # { 1876s # GValue *properties; 1876s # GList *changed_properties; 1876s # GSource *changed_properties_idle_source; 1876s # GMainContext *context; 1876s # GMutex lock; 1876s # }; 1876s # 1876s # static void 1876s # _com_acme_coyote_skeleton_handle_method_call ( 1876s # GDBusConnection *connection G_GNUC_UNUSED, 1876s # const gchar *sender G_GNUC_UNUSED, 1876s # const gchar *object_path G_GNUC_UNUSED, 1876s # const gchar *interface_name, 1876s # const gchar *method_name, 1876s # GVariant *parameters, 1876s # GDBusMethodInvocation *invocation, 1876s # gpointer user_data) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1876s # _ExtendedGDBusMethodInfo *info; 1876s # GVariantIter iter; 1876s # GVariant *child; 1876s # GValue *paramv; 1876s # gsize num_params; 1876s # guint num_extra; 1876s # gsize n; 1876s # guint signal_id; 1876s # GValue return_value = G_VALUE_INIT; 1876s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1876s # g_assert (info != NULL); 1876s # num_params = g_variant_n_children (parameters); 1876s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1876s # n = 0; 1876s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1876s # g_value_set_object (¶mv[n++], skeleton); 1876s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1876s # g_value_set_object (¶mv[n++], invocation); 1876s # if (info->pass_fdlist) 1876s # { 1876s # #ifdef G_OS_UNIX 1876s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1876s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1876s # #else 1876s # g_assert_not_reached (); 1876s # #endif 1876s # } 1876s # g_variant_iter_init (&iter, parameters); 1876s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1876s # { 1876s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1876s # if (arg_info->use_gvariant) 1876s # { 1876s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1876s # g_value_set_variant (¶mv[n], child); 1876s # n++; 1876s # } 1876s # else 1876s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1876s # g_variant_unref (child); 1876s # } 1876s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1876s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1876s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1876s # if (!g_value_get_boolean (&return_value)) 1876s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1876s # g_value_unset (&return_value); 1876s # for (n = 0; n < num_params + num_extra; n++) 1876s # g_value_unset (¶mv[n]); 1876s # g_free (paramv); 1876s # } 1876s # 1876s # static GVariant * 1876s # _com_acme_coyote_skeleton_handle_get_property ( 1876s # GDBusConnection *connection G_GNUC_UNUSED, 1876s # const gchar *sender G_GNUC_UNUSED, 1876s # const gchar *object_path G_GNUC_UNUSED, 1876s # const gchar *interface_name G_GNUC_UNUSED, 1876s # const gchar *property_name, 1876s # GError **error, 1876s # gpointer user_data) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1876s # GValue value = G_VALUE_INIT; 1876s # GParamSpec *pspec; 1876s # _ExtendedGDBusPropertyInfo *info; 1876s # GVariant *ret; 1876s # ret = NULL; 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1876s # g_assert (info != NULL); 1876s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1876s # if (pspec == NULL) 1876s # { 1876s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1876s # } 1876s # else 1876s # { 1876s # g_value_init (&value, pspec->value_type); 1876s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1876s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1876s # g_value_unset (&value); 1876s # } 1876s # return ret; 1876s # } 1876s # 1876s # static gboolean 1876s # _com_acme_coyote_skeleton_handle_set_property ( 1876s # GDBusConnection *connection G_GNUC_UNUSED, 1876s # const gchar *sender G_GNUC_UNUSED, 1876s # const gchar *object_path G_GNUC_UNUSED, 1876s # const gchar *interface_name G_GNUC_UNUSED, 1876s # const gchar *property_name, 1876s # GVariant *variant, 1876s # GError **error, 1876s # gpointer user_data) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1876s # GValue value = G_VALUE_INIT; 1876s # GParamSpec *pspec; 1876s # _ExtendedGDBusPropertyInfo *info; 1876s # gboolean ret; 1876s # ret = FALSE; 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1876s # g_assert (info != NULL); 1876s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1876s # if (pspec == NULL) 1876s # { 1876s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1876s # } 1876s # else 1876s # { 1876s # if (info->use_gvariant) 1876s # g_value_set_variant (&value, variant); 1876s # else 1876s # g_dbus_gvariant_to_gvalue (variant, &value); 1876s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1876s # g_value_unset (&value); 1876s # ret = TRUE; 1876s # } 1876s # return ret; 1876s # } 1876s # 1876s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1876s # { 1876s # _com_acme_coyote_skeleton_handle_method_call, 1876s # _com_acme_coyote_skeleton_handle_get_property, 1876s # _com_acme_coyote_skeleton_handle_set_property, 1876s # {NULL} 1876s # }; 1876s # 1876s # static GDBusInterfaceInfo * 1876s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1876s # { 1876s # return com_acme_coyote_interface_info (); 1876s # } 1876s # 1876s # static GDBusInterfaceVTable * 1876s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1876s # { 1876s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1876s # } 1876s # 1876s # static GVariant * 1876s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1876s # 1876s # GVariantBuilder builder; 1876s # guint n; 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1876s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1876s # #else 1876s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1876s # #endif 1876s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1876s # goto out; 1876s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1876s # { 1876s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1876s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1876s # { 1876s # GVariant *value; 1876s # 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); 1876s # if (value != NULL) 1876s # { 1876s # g_variant_take_ref (value); 1876s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1876s # g_variant_unref (value); 1876s # } 1876s # } 1876s # } 1876s # out: 1876s # return g_variant_builder_end (&builder); 1876s # } 1876s # 1876s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1876s # 1876s # static void 1876s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1876s # gboolean emit_changed = FALSE; 1876s # 1876s # g_mutex_lock (&skeleton->priv->lock); 1876s # if (skeleton->priv->changed_properties_idle_source != NULL) 1876s # { 1876s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1876s # skeleton->priv->changed_properties_idle_source = NULL; 1876s # emit_changed = TRUE; 1876s # } 1876s # g_mutex_unlock (&skeleton->priv->lock); 1876s # 1876s # if (emit_changed) 1876s # _com_acme_coyote_emit_changed (skeleton); 1876s # } 1876s # 1876s # static void 1876s # _com_acme_coyote_on_signal_surprised ( 1876s # ComAcmeCoyote *object) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1876s # 1876s # GList *connections, *l; 1876s # GVariant *signal_variant; 1876s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1876s # 1876s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1876s # for (l = connections; l != NULL; l = l->next) 1876s # { 1876s # GDBusConnection *connection = l->data; 1876s # g_dbus_connection_emit_signal (connection, 1876s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1876s # signal_variant, NULL); 1876s # } 1876s # g_variant_unref (signal_variant); 1876s # g_list_free_full (connections, g_object_unref); 1876s # } 1876s # 1876s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1876s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1876s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1876s # 1876s # #else 1876s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1876s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1876s # 1876s # #endif 1876s # static void 1876s # com_acme_coyote_skeleton_finalize (GObject *object) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1876s # guint n; 1876s # for (n = 0; n < 1; n++) 1876s # g_value_unset (&skeleton->priv->properties[n]); 1876s # g_free (skeleton->priv->properties); 1876s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # /* coverity[missing_lock : SUPPRESS] */ 1876s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1876s # #else 1876s # if (skeleton->priv->changed_properties_idle_source != NULL) 1876s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1876s # skeleton->priv->changed_properties_idle_source = NULL; 1876s # #endif 1876s # g_main_context_unref (skeleton->priv->context); 1876s # g_mutex_clear (&skeleton->priv->lock); 1876s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_skeleton_get_property (GObject *object, 1876s # guint prop_id, 1876s # GValue *value, 1876s # GParamSpec *pspec G_GNUC_UNUSED) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1876s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1876s # g_mutex_lock (&skeleton->priv->lock); 1876s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1876s # g_mutex_unlock (&skeleton->priv->lock); 1876s # } 1876s # 1876s # static gboolean 1876s # _com_acme_coyote_emit_changed (gpointer user_data) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1876s # GList *l; 1876s # GVariantBuilder builder; 1876s # GVariantBuilder invalidated_builder; 1876s # guint num_changes; 1876s # 1876s # g_mutex_lock (&skeleton->priv->lock); 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1876s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1876s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1876s # #else 1876s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1876s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1876s # #endif 1876s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1876s # { 1876s # ChangedProperty *cp = l->data; 1876s # GVariant *variant; 1876s # const GValue *cur_value; 1876s # 1876s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1876s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1876s # { 1876s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1876s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1876s # g_variant_unref (variant); 1876s # num_changes++; 1876s # } 1876s # } 1876s # if (num_changes > 0) 1876s # { 1876s # GList *connections, *ll; 1876s # GVariant *signal_variant; 1876s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1876s # &builder, &invalidated_builder)); 1876s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1876s # for (ll = connections; ll != NULL; ll = ll->next) 1876s # { 1876s # GDBusConnection *connection = ll->data; 1876s # 1876s # g_dbus_connection_emit_signal (connection, 1876s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1876s # "org.freedesktop.DBus.Properties", 1876s # "PropertiesChanged", 1876s # signal_variant, 1876s # NULL); 1876s # } 1876s # g_variant_unref (signal_variant); 1876s # g_list_free_full (connections, g_object_unref); 1876s # } 1876s # else 1876s # { 1876s # g_variant_builder_clear (&builder); 1876s # g_variant_builder_clear (&invalidated_builder); 1876s # } 1876s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1876s # skeleton->priv->changed_properties = NULL; 1876s # skeleton->priv->changed_properties_idle_source = NULL; 1876s # g_mutex_unlock (&skeleton->priv->lock); 1876s # return FALSE; 1876s # } 1876s # 1876s # static void 1876s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1876s # { 1876s # ChangedProperty *cp; 1876s # GList *l; 1876s # cp = NULL; 1876s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1876s # { 1876s # ChangedProperty *i_cp = l->data; 1876s # if (i_cp->info == info) 1876s # { 1876s # cp = i_cp; 1876s # break; 1876s # } 1876s # } 1876s # if (cp == NULL) 1876s # { 1876s # cp = g_new0 (ChangedProperty, 1); 1876s # cp->prop_id = prop_id; 1876s # cp->info = info; 1876s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1876s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1876s # g_value_copy (orig_value, &cp->orig_value); 1876s # } 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_skeleton_notify (GObject *object, 1876s # GParamSpec *pspec G_GNUC_UNUSED) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1876s # g_mutex_lock (&skeleton->priv->lock); 1876s # if (skeleton->priv->changed_properties != NULL && 1876s # skeleton->priv->changed_properties_idle_source == NULL) 1876s # { 1876s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1876s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1876s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1876s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1876s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1876s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1876s # } 1876s # g_mutex_unlock (&skeleton->priv->lock); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_skeleton_set_property (GObject *object, 1876s # guint prop_id, 1876s # const GValue *value, 1876s # GParamSpec *pspec) 1876s # { 1876s # const _ExtendedGDBusPropertyInfo *info; 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1876s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1876s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1876s # g_mutex_lock (&skeleton->priv->lock); 1876s # g_object_freeze_notify (object); 1876s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1876s # { 1876s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1876s # info->emits_changed_signal) 1876s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1876s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1876s # g_object_notify_by_pspec (object, pspec); 1876s # } 1876s # g_mutex_unlock (&skeleton->priv->lock); 1876s # g_object_thaw_notify (object); 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1876s # { 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1876s # #else 1876s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1876s # #endif 1876s # 1876s # g_mutex_init (&skeleton->priv->lock); 1876s # skeleton->priv->context = g_main_context_ref_thread_default (); 1876s # skeleton->priv->properties = g_new0 (GValue, 1); 1876s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1876s # } 1876s # 1876s # static const gchar * 1876s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1876s # { 1876s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1876s # const gchar *value; 1876s # g_mutex_lock (&skeleton->priv->lock); 1876s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1876s # g_mutex_unlock (&skeleton->priv->lock); 1876s # return value; 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1876s # { 1876s # GObjectClass *gobject_class; 1876s # GDBusInterfaceSkeletonClass *skeleton_class; 1876s # 1876s # gobject_class = G_OBJECT_CLASS (klass); 1876s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1876s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1876s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1876s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1876s # 1876s # 1876s # com_acme_coyote_override_properties (gobject_class, 1); 1876s # 1876s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1876s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1876s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1876s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1876s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1876s # 1876s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1876s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1876s # #endif 1876s # } 1876s # 1876s # static void 1876s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1876s # { 1876s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1876s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1876s # } 1876s # 1876s # /** 1876s # * com_acme_coyote_skeleton_new: 1876s # * 1876s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1876s # * 1876s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1876s # */ 1876s # ComAcmeCoyote * 1876s # com_acme_coyote_skeleton_new (void) 1876s # { 1876s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1876s # } 1876s # 1876s # /* ------------------------------------------------------------------------ 1876s # * Code for interface org.project.Bar.Frobnicator 1876s # * ------------------------------------------------------------------------ 1876s # */ 1876s # 1876s # /** 1876s # * SECTION:OrgProjectBarFrobnicator 1876s # * @title: OrgProjectBarFrobnicator 1876s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1876s # * 1876s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1876s # */ 1876s # 1876s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1876s # 1876s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "RandomMethod", 1876s # NULL, 1876s # NULL, 1876s # NULL 1876s # }, 1876s # "handle-random-method", 1876s # FALSE 1876s # }; 1876s # 1876s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1876s # { 1876s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1876s # NULL 1876s # }; 1876s # 1876s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1876s # { 1876s # { 1876s # -1, 1876s # (gchar *) "org.project.Bar.Frobnicator", 1876s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1876s # NULL, 1876s # NULL, 1876s # NULL 1876s # }, 1876s # "org-project-bar-frobnicator", 1876s # }; 1876s # 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_interface_info: 1876s # * 1876s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1876s # * 1876s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1876s # */ 1876s # GDBusInterfaceInfo * 1876s # org_project_bar_frobnicator_interface_info (void) 1876s # { 1876s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_override_properties: 1876s # * @klass: The class structure for a #GObject derived class. 1876s # * @property_id_begin: The property id to assign to the first overridden property. 1876s # * 1876s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1876s # * The properties are overridden in the order they are defined. 1876s # * 1876s # * Returns: The last property id. 1876s # */ 1876s # guint 1876s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1876s # { 1876s # return property_id_begin - 1; 1876s # } 1876s # 1876s # 1876s # inline static void 1876s # org_project_bar_frobnicator_method_marshal_random_method ( 1876s # GClosure *closure, 1876s # GValue *return_value, 1876s # unsigned int n_param_values, 1876s # const GValue *param_values, 1876s # void *invocation_hint, 1876s # void *marshal_data) 1876s # { 1876s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1876s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1876s # } 1876s # 1876s # 1876s # /** 1876s # * OrgProjectBarFrobnicator: 1876s # * 1876s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1876s # */ 1876s # 1876s # /** 1876s # * OrgProjectBarFrobnicatorIface: 1876s # * @parent_iface: The parent interface. 1876s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1876s # * 1876s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1876s # */ 1876s # 1876s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1876s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1876s # { 1876s # /* GObject signals for incoming D-Bus method calls: */ 1876s # /** 1876s # * OrgProjectBarFrobnicator::handle-random-method: 1876s # * @object: A #OrgProjectBarFrobnicator. 1876s # * @invocation: A #GDBusMethodInvocation. 1876s # * 1876s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1876s # * 1876s # * 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. 1876s # * 1876s # * 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. 1876s # */ 1876s # g_signal_new ("handle-random-method", 1876s # G_TYPE_FROM_INTERFACE (iface), 1876s # G_SIGNAL_RUN_LAST, 1876s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1876s # g_signal_accumulator_true_handled, 1876s # NULL, 1876s # org_project_bar_frobnicator_method_marshal_random_method, 1876s # G_TYPE_BOOLEAN, 1876s # 1, 1876s # G_TYPE_DBUS_METHOD_INVOCATION); 1876s # 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_call_random_method: 1876s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1876s # * 1876s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1876s # */ 1876s # void 1876s # org_project_bar_frobnicator_call_random_method ( 1876s # OrgProjectBarFrobnicator *proxy, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1876s # "RandomMethod", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # callback, 1876s # user_data); 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_call_random_method_finish: 1876s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # org_project_bar_frobnicator_call_random_method_finish ( 1876s # OrgProjectBarFrobnicator *proxy, 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_call_random_method_sync: 1876s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL. 1876s # * 1876s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1876s # * 1876s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1876s # * 1876s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1876s # */ 1876s # gboolean 1876s # org_project_bar_frobnicator_call_random_method_sync ( 1876s # OrgProjectBarFrobnicator *proxy, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GVariant *_ret; 1876s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1876s # "RandomMethod", 1876s # g_variant_new ("()"), 1876s # G_DBUS_CALL_FLAGS_NONE, 1876s # -1, 1876s # cancellable, 1876s # error); 1876s # if (_ret == NULL) 1876s # goto _out; 1876s # g_variant_get (_ret, 1876s # "()"); 1876s # g_variant_unref (_ret); 1876s # _out: 1876s # return _ret != NULL; 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_complete_random_method: 1876s # * @object: A #OrgProjectBarFrobnicator. 1876s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1876s # * 1876s # * 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. 1876s # * 1876s # * This method will free @invocation, you cannot use it afterwards. 1876s # */ 1876s # void 1876s # org_project_bar_frobnicator_complete_random_method ( 1876s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1876s # GDBusMethodInvocation *invocation) 1876s # { 1876s # g_dbus_method_invocation_return_value (invocation, 1876s # g_variant_new ("()")); 1876s # } 1876s # 1876s # /* ------------------------------------------------------------------------ */ 1876s # 1876s # /** 1876s # * OrgProjectBarFrobnicatorProxy: 1876s # * 1876s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1876s # */ 1876s # 1876s # /** 1876s # * OrgProjectBarFrobnicatorProxyClass: 1876s # * @parent_class: The parent class. 1876s # * 1876s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1876s # */ 1876s # 1876s # struct _OrgProjectBarFrobnicatorProxyPrivate 1876s # { 1876s # GData *qdata; 1876s # }; 1876s # 1876s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1876s # 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1876s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1876s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1876s # 1876s # #else 1876s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1876s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1876s # 1876s # #endif 1876s # static void 1876s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1876s # { 1876s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1876s # g_datalist_clear (&proxy->priv->qdata); 1876s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1876s # guint prop_id G_GNUC_UNUSED, 1876s # GValue *value G_GNUC_UNUSED, 1876s # GParamSpec *pspec G_GNUC_UNUSED) 1876s # { 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1876s # guint prop_id G_GNUC_UNUSED, 1876s # const GValue *value G_GNUC_UNUSED, 1876s # GParamSpec *pspec G_GNUC_UNUSED) 1876s # { 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1876s # const gchar *sender_name G_GNUC_UNUSED, 1876s # const gchar *signal_name, 1876s # GVariant *parameters) 1876s # { 1876s # _ExtendedGDBusSignalInfo *info; 1876s # GVariantIter iter; 1876s # GVariant *child; 1876s # GValue *paramv; 1876s # gsize num_params; 1876s # gsize n; 1876s # guint signal_id; 1876s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1876s # if (info == NULL) 1876s # return; 1876s # num_params = g_variant_n_children (parameters); 1876s # paramv = g_new0 (GValue, num_params + 1); 1876s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1876s # g_value_set_object (¶mv[0], proxy); 1876s # g_variant_iter_init (&iter, parameters); 1876s # n = 1; 1876s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1876s # { 1876s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1876s # if (arg_info->use_gvariant) 1876s # { 1876s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1876s # g_value_set_variant (¶mv[n], child); 1876s # n++; 1876s # } 1876s # else 1876s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1876s # g_variant_unref (child); 1876s # } 1876s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1876s # g_signal_emitv (paramv, signal_id, 0, NULL); 1876s # for (n = 0; n < num_params + 1; n++) 1876s # g_value_unset (¶mv[n]); 1876s # g_free (paramv); 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1876s # GVariant *changed_properties, 1876s # const gchar *const *invalidated_properties) 1876s # { 1876s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1876s # guint n; 1876s # const gchar *key; 1876s # GVariantIter *iter; 1876s # _ExtendedGDBusPropertyInfo *info; 1876s # g_variant_get (changed_properties, "a{sv}", &iter); 1876s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1876s # { 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1876s # g_datalist_remove_data (&proxy->priv->qdata, key); 1876s # if (info != NULL) 1876s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1876s # } 1876s # g_variant_iter_free (iter); 1876s # for (n = 0; invalidated_properties[n] != NULL; n++) 1876s # { 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1876s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1876s # if (info != NULL) 1876s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1876s # } 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1876s # { 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1876s # #else 1876s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1876s # #endif 1876s # 1876s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1876s # { 1876s # GObjectClass *gobject_class; 1876s # GDBusProxyClass *proxy_class; 1876s # 1876s # gobject_class = G_OBJECT_CLASS (klass); 1876s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1876s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1876s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1876s # 1876s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1876s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1876s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1876s # 1876s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1876s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1876s # #endif 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1876s # { 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_proxy_new: 1876s # * @connection: A #GDBusConnection. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1876s # * 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1876s # * 1876s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1876s # */ 1876s # void 1876s # org_project_bar_frobnicator_proxy_new ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # 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); 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_proxy_new_finish: 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1876s # * 1876s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # OrgProjectBarFrobnicator * 1876s # org_project_bar_frobnicator_proxy_new_finish ( 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GObject *ret; 1876s # GObject *source_object; 1876s # source_object = g_async_result_get_source_object (res); 1876s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1876s # g_object_unref (source_object); 1876s # if (ret != NULL) 1876s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_proxy_new_sync: 1876s # * @connection: A #GDBusConnection. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1876s # * 1876s # * The calling thread is blocked until a reply is received. 1876s # * 1876s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1876s # * 1876s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # OrgProjectBarFrobnicator * 1876s # org_project_bar_frobnicator_proxy_new_sync ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GInitable *ret; 1876s # 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); 1876s # if (ret != NULL) 1876s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_proxy_new_for_bus: 1876s # * @bus_type: A #GBusType. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: A bus name (well-known or unique). 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1876s # * @user_data: User data to pass to @callback. 1876s # * 1876s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1876s # * 1876s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1876s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1876s # * 1876s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1876s # */ 1876s # void 1876s # org_project_bar_frobnicator_proxy_new_for_bus ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data) 1876s # { 1876s # 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); 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1876s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1876s # * 1876s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # OrgProjectBarFrobnicator * 1876s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1876s # GAsyncResult *res, 1876s # GError **error) 1876s # { 1876s # GObject *ret; 1876s # GObject *source_object; 1876s # source_object = g_async_result_get_source_object (res); 1876s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1876s # g_object_unref (source_object); 1876s # if (ret != NULL) 1876s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1876s # * @bus_type: A #GBusType. 1876s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1876s # * @name: A bus name (well-known or unique). 1876s # * @object_path: An object path. 1876s # * @cancellable: (nullable): A #GCancellable or %NULL. 1876s # * @error: Return location for error or %NULL 1876s # * 1876s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1876s # * 1876s # * The calling thread is blocked until a reply is received. 1876s # * 1876s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1876s # * 1876s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1876s # */ 1876s # OrgProjectBarFrobnicator * 1876s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error) 1876s # { 1876s # GInitable *ret; 1876s # 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); 1876s # if (ret != NULL) 1876s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1876s # else 1876s # return NULL; 1876s # } 1876s # 1876s # 1876s # /* ------------------------------------------------------------------------ */ 1876s # 1876s # /** 1876s # * OrgProjectBarFrobnicatorSkeleton: 1876s # * 1876s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1876s # */ 1876s # 1876s # /** 1876s # * OrgProjectBarFrobnicatorSkeletonClass: 1876s # * @parent_class: The parent class. 1876s # * 1876s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1876s # */ 1876s # 1876s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1876s # { 1876s # GValue *properties; 1876s # GList *changed_properties; 1876s # GSource *changed_properties_idle_source; 1876s # GMainContext *context; 1876s # GMutex lock; 1876s # }; 1876s # 1876s # static void 1876s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1876s # GDBusConnection *connection G_GNUC_UNUSED, 1876s # const gchar *sender G_GNUC_UNUSED, 1876s # const gchar *object_path G_GNUC_UNUSED, 1876s # const gchar *interface_name, 1876s # const gchar *method_name, 1876s # GVariant *parameters, 1876s # GDBusMethodInvocation *invocation, 1876s # gpointer user_data) 1876s # { 1876s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1876s # _ExtendedGDBusMethodInfo *info; 1876s # GVariantIter iter; 1876s # GVariant *child; 1876s # GValue *paramv; 1876s # gsize num_params; 1876s # guint num_extra; 1876s # gsize n; 1876s # guint signal_id; 1876s # GValue return_value = G_VALUE_INIT; 1876s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1876s # g_assert (info != NULL); 1876s # num_params = g_variant_n_children (parameters); 1876s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1876s # n = 0; 1876s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1876s # g_value_set_object (¶mv[n++], skeleton); 1876s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1876s # g_value_set_object (¶mv[n++], invocation); 1876s # if (info->pass_fdlist) 1876s # { 1876s # #ifdef G_OS_UNIX 1876s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1876s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1876s # #else 1876s # g_assert_not_reached (); 1876s # #endif 1876s # } 1876s # g_variant_iter_init (&iter, parameters); 1876s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1876s # { 1876s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1876s # if (arg_info->use_gvariant) 1876s # { 1876s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1876s # g_value_set_variant (¶mv[n], child); 1876s # n++; 1876s # } 1876s # else 1876s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1876s # g_variant_unref (child); 1876s # } 1876s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1876s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1876s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1876s # if (!g_value_get_boolean (&return_value)) 1876s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1876s # g_value_unset (&return_value); 1876s # for (n = 0; n < num_params + num_extra; n++) 1876s # g_value_unset (¶mv[n]); 1876s # g_free (paramv); 1876s # } 1876s # 1876s # static GVariant * 1876s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1876s # GDBusConnection *connection G_GNUC_UNUSED, 1876s # const gchar *sender G_GNUC_UNUSED, 1876s # const gchar *object_path G_GNUC_UNUSED, 1876s # const gchar *interface_name G_GNUC_UNUSED, 1876s # const gchar *property_name, 1876s # GError **error, 1876s # gpointer user_data) 1876s # { 1876s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1876s # GValue value = G_VALUE_INIT; 1876s # GParamSpec *pspec; 1876s # _ExtendedGDBusPropertyInfo *info; 1876s # GVariant *ret; 1876s # ret = NULL; 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1876s # g_assert (info != NULL); 1876s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1876s # if (pspec == NULL) 1876s # { 1876s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1876s # } 1876s # else 1876s # { 1876s # g_value_init (&value, pspec->value_type); 1876s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1876s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1876s # g_value_unset (&value); 1876s # } 1876s # return ret; 1876s # } 1876s # 1876s # static gboolean 1876s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1876s # GDBusConnection *connection G_GNUC_UNUSED, 1876s # const gchar *sender G_GNUC_UNUSED, 1876s # const gchar *object_path G_GNUC_UNUSED, 1876s # const gchar *interface_name G_GNUC_UNUSED, 1876s # const gchar *property_name, 1876s # GVariant *variant, 1876s # GError **error, 1876s # gpointer user_data) 1876s # { 1876s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1876s # GValue value = G_VALUE_INIT; 1876s # GParamSpec *pspec; 1876s # _ExtendedGDBusPropertyInfo *info; 1876s # gboolean ret; 1876s # ret = FALSE; 1876s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1876s # g_assert (info != NULL); 1876s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1876s # if (pspec == NULL) 1876s # { 1876s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1876s # } 1876s # else 1876s # { 1876s # if (info->use_gvariant) 1876s # g_value_set_variant (&value, variant); 1876s # else 1876s # g_dbus_gvariant_to_gvalue (variant, &value); 1876s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1876s # g_value_unset (&value); 1876s # ret = TRUE; 1876s # } 1876s # return ret; 1876s # } 1876s # 1876s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1876s # { 1876s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1876s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1876s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1876s # {NULL} 1876s # }; 1876s # 1876s # static GDBusInterfaceInfo * 1876s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1876s # { 1876s # return org_project_bar_frobnicator_interface_info (); 1876s # } 1876s # 1876s # static GDBusInterfaceVTable * 1876s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1876s # { 1876s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1876s # } 1876s # 1876s # static GVariant * 1876s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1876s # { 1876s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1876s # 1876s # GVariantBuilder builder; 1876s # guint n; 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1876s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1876s # #else 1876s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1876s # #endif 1876s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1876s # goto out; 1876s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1876s # { 1876s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1876s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1876s # { 1876s # GVariant *value; 1876s # 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); 1876s # if (value != NULL) 1876s # { 1876s # g_variant_take_ref (value); 1876s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1876s # g_variant_unref (value); 1876s # } 1876s # } 1876s # } 1876s # out: 1876s # return g_variant_builder_end (&builder); 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1876s # { 1876s # } 1876s # 1876s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1876s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1876s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1876s # 1876s # #else 1876s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1876s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1876s # 1876s # #endif 1876s # static void 1876s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1876s # { 1876s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1876s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # /* coverity[missing_lock : SUPPRESS] */ 1876s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1876s # #else 1876s # if (skeleton->priv->changed_properties_idle_source != NULL) 1876s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1876s # skeleton->priv->changed_properties_idle_source = NULL; 1876s # #endif 1876s # g_main_context_unref (skeleton->priv->context); 1876s # g_mutex_clear (&skeleton->priv->lock); 1876s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1876s # { 1876s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1876s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1876s # #else 1876s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1876s # #endif 1876s # 1876s # g_mutex_init (&skeleton->priv->lock); 1876s # skeleton->priv->context = g_main_context_ref_thread_default (); 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1876s # { 1876s # GObjectClass *gobject_class; 1876s # GDBusInterfaceSkeletonClass *skeleton_class; 1876s # 1876s # gobject_class = G_OBJECT_CLASS (klass); 1876s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1876s # 1876s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1876s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1876s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1876s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1876s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1876s # 1876s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1876s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1876s # #endif 1876s # } 1876s # 1876s # static void 1876s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1876s # { 1876s # } 1876s # 1876s # /** 1876s # * org_project_bar_frobnicator_skeleton_new: 1876s # * 1876s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1876s # * 1876s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1876s # */ 1876s # OrgProjectBarFrobnicator * 1876s # org_project_bar_frobnicator_skeleton_new (void) 1876s # { 1876s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1876s # } 1876s # Error: 1876s ok 45 __main__.TestCodegen.test_unix_fd_types_and_annotations 1876s # gdbus-codegen: /usr/bin/gdbus-codegen 1876s # tmpdir: /tmp/tmp8y87msuu 1876s # /tmp/tmp8y87msuu/tmpkw4e6xff.xml: 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8y87msuu/tmpkw4e6xff.xml', '--output', '-', '--header'] 1876s # Return code: 0 1876s # Output: 1876s # /* 1876s # * This file is generated by gdbus-codegen, do not modify it. 1876s # * 1876s # * The license of this code is the same as for the D-Bus interface description 1876s # * it was derived from. Note that it links to GLib, so must comply with the 1876s # * LGPL linking clauses. 1876s # */ 1876s # 1876s # #ifndef __STDOUT__ 1876s # #define __STDOUT__ 1876s # 1876s # #include 1876s # 1876s # G_BEGIN_DECLS 1876s # 1876s # 1876s # /* ------------------------------------------------------------------------ */ 1876s # /* Declarations for FDPassing */ 1876s # 1876s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1876s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1876s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1876s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1876s # 1876s # struct _FDPassing; 1876s # typedef struct _FDPassing FDPassing; 1876s # typedef struct _FDPassingIface FDPassingIface; 1876s # 1876s # struct _FDPassingIface 1876s # { 1876s # GTypeInterface parent_iface; 1876s # 1876s # gboolean (*handle_hello_fd) ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GUnixFDList *fd_list, 1876s # const gchar *arg_greeting); 1876s # 1876s # gboolean (*handle_no_annotation) ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GVariant *arg_greeting, 1876s # const gchar *arg_greeting_locale); 1876s # 1876s # gboolean (*handle_no_annotation_nested) ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GVariant *arg_files); 1876s # 1876s # }; 1876s # 1876s # GType fdpassing_get_type (void) G_GNUC_CONST; 1876s # 1876s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1876s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1876s # 1876s # 1876s # /* D-Bus method call completion functions: */ 1876s # void fdpassing_complete_hello_fd ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GUnixFDList *fd_list, 1876s # const gchar *response); 1876s # 1876s # void fdpassing_complete_no_annotation ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GVariant *response, 1876s # const gchar *response_locale); 1876s # 1876s # void fdpassing_complete_no_annotation_nested ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # 1876s # 1876s # /* D-Bus method calls: */ 1876s # void fdpassing_call_hello_fd ( 1876s # FDPassing *proxy, 1876s # const gchar *arg_greeting, 1876s # GUnixFDList *fd_list, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean fdpassing_call_hello_fd_finish ( 1876s # FDPassing *proxy, 1876s # gchar ** out_response, 1876s # GUnixFDList **out_fd_list, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean fdpassing_call_hello_fd_sync ( 1876s # FDPassing *proxy, 1876s # const gchar *arg_greeting, 1876s # GUnixFDList *fd_list, 1876s # gchar ** out_response, 1876s # GUnixFDList **out_fd_list, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void fdpassing_call_no_annotation ( 1876s # FDPassing *proxy, 1876s # GVariant *arg_greeting, 1876s # const gchar *arg_greeting_locale, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean fdpassing_call_no_annotation_finish ( 1876s # FDPassing *proxy, 1876s # GVariant ** out_response, 1876s # gchar ** out_response_locale, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean fdpassing_call_no_annotation_sync ( 1876s # FDPassing *proxy, 1876s # GVariant *arg_greeting, 1876s # const gchar *arg_greeting_locale, 1876s # GVariant ** out_response, 1876s # gchar ** out_response_locale, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void fdpassing_call_no_annotation_nested ( 1876s # FDPassing *proxy, 1876s # GVariant *arg_files, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean fdpassing_call_no_annotation_nested_finish ( 1876s # FDPassing *proxy, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean fdpassing_call_no_annotation_nested_sync ( 1876s # FDPassing *proxy, 1876s # GVariant *arg_files, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # 1876s # 1876s # /* ---- */ 1876s # 1876s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1876s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1876s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1876s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1876s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1876s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1876s # 1876s # typedef struct _FDPassingProxy FDPassingProxy; 1876s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1876s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1876s # 1876s # struct _FDPassingProxy 1876s # { 1876s # /*< private >*/ 1876s # GDBusProxy parent_instance; 1876s # FDPassingProxyPrivate *priv; 1876s # }; 1876s # 1876s # struct _FDPassingProxyClass 1876s # { 1876s # GDBusProxyClass parent_class; 1876s # }; 1876s # 1876s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1876s # 1876s # #if GLIB_CHECK_VERSION(2, 44, 0) 1876s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1876s # #endif 1876s # 1876s # void fdpassing_proxy_new ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # FDPassing *fdpassing_proxy_new_finish ( 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # FDPassing *fdpassing_proxy_new_sync ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void fdpassing_proxy_new_for_bus ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # 1876s # /* ---- */ 1876s # 1876s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1876s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1876s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1876s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1876s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1876s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1876s # 1876s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1876s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1876s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1876s # 1876s # struct _FDPassingSkeleton 1876s # { 1876s # /*< private >*/ 1876s # GDBusInterfaceSkeleton parent_instance; 1876s # FDPassingSkeletonPrivate *priv; 1876s # }; 1876s # 1876s # struct _FDPassingSkeletonClass 1876s # { 1876s # GDBusInterfaceSkeletonClass parent_class; 1876s # }; 1876s # 1876s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1876s # 1876s # #if GLIB_CHECK_VERSION(2, 44, 0) 1876s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1876s # #endif 1876s # 1876s # FDPassing *fdpassing_skeleton_new (void); 1876s # 1876s # 1876s # G_END_DECLS 1876s # 1876s # #endif /* __STDOUT__ */ 1876s # Error: 1876s # 1876s # /tmp/tmp8y87msuu/tmp_hx8q9xl.xml: 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8y87msuu/tmp_hx8q9xl.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1876s # Return code: 0 1876s # Output: 1876s # /* 1876s # * This file is generated by gdbus-codegen, do not modify it. 1876s # * 1876s # * The license of this code is the same as for the D-Bus interface description 1876s # * it was derived from. Note that it links to GLib, so must comply with the 1876s # * LGPL linking clauses. 1876s # */ 1876s # 1876s # #ifndef __STDOUT__ 1876s # #define __STDOUT__ 1876s # 1876s # #include 1876s # 1876s # G_BEGIN_DECLS 1876s # 1876s # 1876s # /* ------------------------------------------------------------------------ */ 1876s # /* Declarations for FDPassing */ 1876s # 1876s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1876s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1876s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1876s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1876s # 1876s # struct _FDPassing; 1876s # typedef struct _FDPassing FDPassing; 1876s # typedef struct _FDPassingIface FDPassingIface; 1876s # 1876s # struct _FDPassingIface 1876s # { 1876s # GTypeInterface parent_iface; 1876s # 1876s # gboolean (*handle_hello_fd) ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GUnixFDList *fd_list, 1876s # const gchar *arg_greeting); 1876s # 1876s # gboolean (*handle_no_annotation) ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GVariant *arg_greeting, 1876s # const gchar *arg_greeting_locale); 1876s # 1876s # gboolean (*handle_no_annotation_nested) ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GVariant *arg_files); 1876s # 1876s # }; 1876s # 1876s # GType fdpassing_get_type (void) G_GNUC_CONST; 1876s # 1876s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1876s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1876s # 1876s # 1876s # /* D-Bus method call completion functions: */ 1876s # void fdpassing_complete_hello_fd ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GUnixFDList *fd_list, 1876s # const gchar *response); 1876s # 1876s # void fdpassing_complete_no_annotation ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GVariant *response, 1876s # const gchar *response_locale); 1876s # 1876s # void fdpassing_complete_no_annotation_nested ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation); 1876s # 1876s # 1876s # 1876s # /* D-Bus method calls: */ 1876s # void fdpassing_call_hello_fd ( 1876s # FDPassing *proxy, 1876s # const gchar *arg_greeting, 1876s # GUnixFDList *fd_list, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean fdpassing_call_hello_fd_finish ( 1876s # FDPassing *proxy, 1876s # gchar ** out_response, 1876s # GUnixFDList **out_fd_list, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean fdpassing_call_hello_fd_sync ( 1876s # FDPassing *proxy, 1876s # const gchar *arg_greeting, 1876s # GUnixFDList *fd_list, 1876s # gchar ** out_response, 1876s # GUnixFDList **out_fd_list, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void fdpassing_call_no_annotation ( 1876s # FDPassing *proxy, 1876s # GVariant *arg_greeting, 1876s # const gchar *arg_greeting_locale, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean fdpassing_call_no_annotation_finish ( 1876s # FDPassing *proxy, 1876s # GVariant ** out_response, 1876s # gchar ** out_response_locale, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean fdpassing_call_no_annotation_sync ( 1876s # FDPassing *proxy, 1876s # GVariant *arg_greeting, 1876s # const gchar *arg_greeting_locale, 1876s # GVariant ** out_response, 1876s # gchar ** out_response_locale, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void fdpassing_call_no_annotation_nested ( 1876s # FDPassing *proxy, 1876s # GVariant *arg_files, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean fdpassing_call_no_annotation_nested_finish ( 1876s # FDPassing *proxy, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean fdpassing_call_no_annotation_nested_sync ( 1876s # FDPassing *proxy, 1876s # GVariant *arg_files, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # 1876s # 1876s # /* ---- */ 1876s # 1876s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1876s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1876s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1876s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1876s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1876s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1876s # 1876s # typedef struct _FDPassingProxy FDPassingProxy; 1876s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1876s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1876s # 1876s # struct _FDPassingProxy 1876s # { 1876s # /*< private >*/ 1876s # GDBusProxy parent_instance; 1876s # FDPassingProxyPrivate *priv; 1876s # }; 1876s # 1876s # struct _FDPassingProxyClass 1876s # { 1876s # GDBusProxyClass parent_class; 1876s # }; 1876s # 1876s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1876s # 1876s # #if GLIB_CHECK_VERSION(2, 44, 0) 1876s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1876s # #endif 1876s # 1876s # void fdpassing_proxy_new ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # FDPassing *fdpassing_proxy_new_finish ( 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # FDPassing *fdpassing_proxy_new_sync ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void fdpassing_proxy_new_for_bus ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # 1876s # /* ---- */ 1876s # 1876s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1876s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1876s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1876s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1876s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1876s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1876s # 1876s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1876s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1876s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1876s # 1876s # struct _FDPassingSkeleton 1876s # { 1876s # /*< private >*/ 1876s # GDBusInterfaceSkeleton parent_instance; 1876s # FDPassingSkeletonPrivate *priv; 1876s # }; 1876s # 1876s # struct _FDPassingSkeletonClass 1876s # { 1876s # GDBusInterfaceSkeletonClass parent_class; 1876s # }; 1876s # 1876s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1876s # 1876s # #if GLIB_CHECK_VERSION(2, 44, 0) 1876s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1876s # #endif 1876s # 1876s # FDPassing *fdpassing_skeleton_new (void); 1876s # 1876s # 1876s # G_END_DECLS 1876s # 1876s # #endif /* __STDOUT__ */ 1876s # Error: 1876s # 1876s # /tmp/tmp8y87msuu/tmprk8dypgf.xml: 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # 1876s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8y87msuu/tmprk8dypgf.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1876s # Return code: 0 1876s # Output: 1876s # /* 1876s # * This file is generated by gdbus-codegen, do not modify it. 1876s # * 1876s # * The license of this code is the same as for the D-Bus interface description 1876s # * it was derived from. Note that it links to GLib, so must comply with the 1876s # * LGPL linking clauses. 1876s # */ 1876s # 1876s # #ifndef __STDOUT__ 1876s # #define __STDOUT__ 1876s # 1876s # #include 1876s # 1876s # G_BEGIN_DECLS 1876s # 1876s # 1876s # /* ------------------------------------------------------------------------ */ 1876s # /* Declarations for FDPassing */ 1876s # 1876s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1876s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1876s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1876s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1876s # 1876s # struct _FDPassing; 1876s # typedef struct _FDPassing FDPassing; 1876s # typedef struct _FDPassingIface FDPassingIface; 1876s # 1876s # struct _FDPassingIface 1876s # { 1876s # GTypeInterface parent_iface; 1876s # 1876s # gboolean (*handle_hello_fd) ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GUnixFDList *fd_list, 1876s # const gchar *arg_greeting); 1876s # 1876s # gboolean (*handle_no_annotation) ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GUnixFDList *fd_list, 1876s # GVariant *arg_greeting, 1876s # const gchar *arg_greeting_locale); 1876s # 1876s # gboolean (*handle_no_annotation_nested) ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GUnixFDList *fd_list, 1876s # GVariant *arg_files); 1876s # 1876s # }; 1876s # 1876s # GType fdpassing_get_type (void) G_GNUC_CONST; 1876s # 1876s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1876s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1876s # 1876s # 1876s # /* D-Bus method call completion functions: */ 1876s # void fdpassing_complete_hello_fd ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GUnixFDList *fd_list, 1876s # const gchar *response); 1876s # 1876s # void fdpassing_complete_no_annotation ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GUnixFDList *fd_list, 1876s # GVariant *response, 1876s # const gchar *response_locale); 1876s # 1876s # void fdpassing_complete_no_annotation_nested ( 1876s # FDPassing *object, 1876s # GDBusMethodInvocation *invocation, 1876s # GUnixFDList *fd_list); 1876s # 1876s # 1876s # 1876s # /* D-Bus method calls: */ 1876s # void fdpassing_call_hello_fd ( 1876s # FDPassing *proxy, 1876s # const gchar *arg_greeting, 1876s # GDBusCallFlags call_flags, 1876s # gint timeout_msec, 1876s # GUnixFDList *fd_list, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean fdpassing_call_hello_fd_finish ( 1876s # FDPassing *proxy, 1876s # gchar ** out_response, 1876s # GUnixFDList **out_fd_list, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean fdpassing_call_hello_fd_sync ( 1876s # FDPassing *proxy, 1876s # const gchar *arg_greeting, 1876s # GDBusCallFlags call_flags, 1876s # gint timeout_msec, 1876s # GUnixFDList *fd_list, 1876s # gchar ** out_response, 1876s # GUnixFDList **out_fd_list, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void fdpassing_call_no_annotation ( 1876s # FDPassing *proxy, 1876s # GVariant *arg_greeting, 1876s # const gchar *arg_greeting_locale, 1876s # GDBusCallFlags call_flags, 1876s # gint timeout_msec, 1876s # GUnixFDList *fd_list, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean fdpassing_call_no_annotation_finish ( 1876s # FDPassing *proxy, 1876s # GVariant ** out_response, 1876s # gchar ** out_response_locale, 1876s # GUnixFDList **out_fd_list, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean fdpassing_call_no_annotation_sync ( 1876s # FDPassing *proxy, 1876s # GVariant *arg_greeting, 1876s # const gchar *arg_greeting_locale, 1876s # GDBusCallFlags call_flags, 1876s # gint timeout_msec, 1876s # GUnixFDList *fd_list, 1876s # GVariant ** out_response, 1876s # gchar ** out_response_locale, 1876s # GUnixFDList **out_fd_list, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void fdpassing_call_no_annotation_nested ( 1876s # FDPassing *proxy, 1876s # GVariant *arg_files, 1876s # GDBusCallFlags call_flags, 1876s # gint timeout_msec, 1876s # GUnixFDList *fd_list, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # 1876s # gboolean fdpassing_call_no_annotation_nested_finish ( 1876s # FDPassing *proxy, 1876s # GUnixFDList **out_fd_list, 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # 1876s # gboolean fdpassing_call_no_annotation_nested_sync ( 1876s # FDPassing *proxy, 1876s # GVariant *arg_files, 1876s # GDBusCallFlags call_flags, 1876s # gint timeout_msec, 1876s # GUnixFDList *fd_list, 1876s # GUnixFDList **out_fd_list, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # 1876s # 1876s # /* ---- */ 1876s # 1876s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1876s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1876s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1876s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1876s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1876s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1876s # 1876s # typedef struct _FDPassingProxy FDPassingProxy; 1876s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1876s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1876s # 1876s # struct _FDPassingProxy 1876s # { 1876s # /*< private >*/ 1876s # GDBusProxy parent_instance; 1876s # FDPassingProxyPrivate *priv; 1876s # }; 1876s # 1876s # struct _FDPassingProxyClass 1876s # { 1876s # GDBusProxyClass parent_class; 1876s # }; 1876s # 1876s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1876s # 1876s # #if GLIB_CHECK_VERSION(2, 44, 0) 1876s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1876s # #endif 1876s # 1876s # void fdpassing_proxy_new ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # FDPassing *fdpassing_proxy_new_finish ( 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # FDPassing *fdpassing_proxy_new_sync ( 1876s # GDBusConnection *connection, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # void fdpassing_proxy_new_for_bus ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GAsyncReadyCallback callback, 1876s # gpointer user_data); 1876s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1876s # GAsyncResult *res, 1876s # GError **error); 1876s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1876s # GBusType bus_type, 1876s # GDBusProxyFlags flags, 1876s # const gchar *name, 1876s # const gchar *object_path, 1876s # GCancellable *cancellable, 1876s # GError **error); 1876s # 1876s # 1876s # /* ---- */ 1876s # 1876s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1876s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1876s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1876s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1876s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1876s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1876s # 1876s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1876s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1876s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1876s # 1876s # struct _FDPassingSkeleton 1876s # { 1876s # /*< private >*/ 1876s # GDBusInterfaceSkeleton parent_instance; 1876s # FDPassingSkeletonPrivate *priv; 1876s # }; 1876s # 1876s # struct _FDPassingSkeletonClass 1876s # { 1876s # GDBusInterfaceSkeletonClass parent_class; 1876s # }; 1876s # 1876s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1876s # 1876s # #if GLIB_CHECK_VERSION(2, 44, 0) 1876s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1876s # #endif 1876s # 1876s # FDPassing *fdpassing_skeleton_new (void); 1876s # 1876s # 1876s # G_END_DECLS 1876s # 1876s # #endif /* __STDOUT__ */ 1876s # Error: 1876s 1..45 1876s ok - glib/codegen.py.test 1876s # Running test: glib/refcount.test 1876s TAP version 14 1876s # random seed: R02S4c3c038a704e88de85cc4d8e860a5f81 1876s 1..4 1876s # Start of refcount tests 1876s ok 1 /refcount/grefcount 1876s ok 2 /refcount/gatomicrefcount 1876s # Start of grefcount tests 1876s ok 3 /refcount/grefcount/saturation 1876s # End of grefcount tests 1876s # Start of gatomicrefcount tests 1876s ok 4 /refcount/gatomicrefcount/saturation 1876s # End of gatomicrefcount tests 1876s # End of refcount tests 1876s ok - glib/refcount.test 1876s # Running test: glib/utils-c-17.test 1876s TAP version 14 1876s # random seed: R02Se306912dad47ce2c0538f1a8af0c4e22 1876s 1..41 1876s # Start of utils tests 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/language-names/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/language-names/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/language-names/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/language-names/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/language-names/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/language-names/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/language-names/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/language-names/.dirs/runtime 1876s ok 1 /utils/language-names 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/locale-variants/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/locale-variants/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/locale-variants/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/locale-variants/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/locale-variants/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/locale-variants/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/locale-variants/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/locale-variants/.dirs/runtime 1876s # Testing locale ‘en’ 1876s # Testing locale ‘sr@latin’ 1876s # Testing locale ‘fr_BE’ 1876s # Testing locale ‘sr_SR@latin’ 1876s # Testing locale ‘sr_SR@latin.UTF-8’ 1876s # Testing locale ‘sr@latin_invalid’ 1876s # Testing locale ‘sr.UTF-8@latin’ 1876s # Testing locale ‘sr.UTF-8_latin’ 1876s # Testing locale ‘sr.UTF-8@latin_invalid’ 1876s ok 2 /utils/locale-variants 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/version/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/version/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/version/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/version/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/version/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/version/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/version/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/version/.dirs/runtime 1876s ok 3 /utils/version 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/appname/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/appname/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/appname/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/appname/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/appname/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/appname/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/appname/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/appname/.dirs/runtime 1876s ok 4 /utils/appname 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/prgname-thread-safety/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/prgname-thread-safety/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/prgname-thread-safety/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/prgname-thread-safety/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/prgname-thread-safety/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/prgname-thread-safety/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/prgname-thread-safety/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/prgname-thread-safety/.dirs/runtime 1876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1876s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1876s ok 5 /utils/prgname-thread-safety 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/tmpdir/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/tmpdir/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/tmpdir/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/tmpdir/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/tmpdir/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/tmpdir/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/tmpdir/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/tmpdir/.dirs/runtime 1876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1876s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1876s Unable to clean up temporary directory /tmp/test_utils-c-17_CPGIK3/utils/tmpdir: No such file or directory 1876s ok 6 /utils/tmpdir 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/basic_bits/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/basic_bits/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/basic_bits/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/basic_bits/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/basic_bits/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/basic_bits/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/basic_bits/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/basic_bits/.dirs/runtime 1876s ok 7 /utils/basic_bits 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/bits/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/bits/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/bits/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/bits/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/bits/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/bits/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/bits/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/bits/.dirs/runtime 1876s ok 8 /utils/bits 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/swap/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/swap/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/swap/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/swap/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/swap/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/swap/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/swap/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/swap/.dirs/runtime 1876s ok 9 /utils/swap 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/find-program/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/find-program/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/find-program/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/find-program/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/find-program/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/find-program/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/find-program/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/find-program/.dirs/runtime 1876s ok 10 /utils/find-program 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/find-program-for-path/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/find-program-for-path/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/find-program-for-path/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/find-program-for-path/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/find-program-for-path/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/find-program-for-path/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/find-program-for-path/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/find-program-for-path/.dirs/runtime 1876s ok 11 /utils/find-program-for-path 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/debug/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/debug/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/debug/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/debug/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/debug/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/debug/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/debug/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/debug/.dirs/runtime 1876s Unable to clean up temporary directory /tmp/test_utils-c-17_CPGIK3/utils/debug: No such file or directory 1876s ok 12 /utils/debug 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/codeset/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/codeset/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/codeset/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/codeset/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/codeset/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/codeset/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/codeset/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/codeset/.dirs/runtime 1876s ok 13 /utils/codeset 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/codeset2/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/codeset2/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/codeset2/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/codeset2/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/codeset2/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/codeset2/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/codeset2/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/codeset2/.dirs/runtime 1876s Unable to clean up temporary directory /tmp/test_utils-c-17_CPGIK3/utils/codeset2: No such file or directory 1876s ok 14 /utils/codeset2 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/console-charset/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/console-charset/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/console-charset/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/console-charset/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/console-charset/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/console-charset/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/console-charset/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/console-charset/.dirs/runtime 1876s ok 15 /utils/console-charset 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/gettext/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/gettext/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/gettext/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/gettext/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/gettext/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/gettext/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/gettext/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/gettext/.dirs/runtime 1876s ok 16 /utils/gettext 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/username/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/username/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/username/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/username/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/username/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/username/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/username/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/username/.dirs/runtime 1876s ok 17 /utils/username 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/realname/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/realname/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/realname/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/realname/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/realname/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/realname/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/realname/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/realname/.dirs/runtime 1876s ok 18 /utils/realname 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/hostname/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/hostname/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/hostname/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/hostname/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/hostname/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/hostname/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/hostname/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/hostname/.dirs/runtime 1876s ok 19 /utils/hostname 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/os-info/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/os-info/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/os-info/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/os-info/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/os-info/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/os-info/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/os-info/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/os-info/.dirs/runtime 1876s # NAME: Ubuntu 1876s ok 20 /utils/os-info 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/.dirs/runtime 1876s ok 21 /utils/clear-pointer 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer-cast/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer-cast/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/clear-pointer-cast/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer-cast/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/clear-pointer-cast/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer-cast/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer-cast/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer-cast/.dirs/runtime 1876s ok 22 /utils/clear-pointer-cast 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/take-pointer/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/take-pointer/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/take-pointer/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/take-pointer/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/take-pointer/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/take-pointer/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/take-pointer/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/take-pointer/.dirs/runtime 1876s ok 23 /utils/take-pointer 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-source/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-source/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/clear-source/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-source/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/clear-source/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-source/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-source/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/clear-source/.dirs/runtime 1876s ok 24 /utils/clear-source 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/misc-mem/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/misc-mem/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/misc-mem/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/misc-mem/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/misc-mem/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/misc-mem/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/misc-mem/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/misc-mem/.dirs/runtime 1876s ok 25 /utils/misc-mem 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/.dirs/runtime 1876s # /utils/aligned-mem summary: Aligned memory allocator 1876s # Alignment must not be zero 1876s # Alignment must be a power of two 1876s # Alignment must be a multiple of sizeof(void*) 1876s ok 26 /utils/aligned-mem 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/free-sized/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/free-sized/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/free-sized/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/free-sized/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/free-sized/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/free-sized/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/free-sized/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/free-sized/.dirs/runtime 1876s # /utils/free-sized summary: Check that g_free_sized() works 1876s ok 27 /utils/free-sized 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/nullify/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/nullify/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/nullify/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/nullify/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/nullify/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/nullify/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/nullify/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/nullify/.dirs/runtime 1876s ok 28 /utils/nullify 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/atexit/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/atexit/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/atexit/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/atexit/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/atexit/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/atexit/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/atexit/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/atexit/.dirs/runtime 1876s Unable to clean up temporary directory /tmp/test_utils-c-17_CPGIK3/utils/atexit: No such file or directory 1876s ok 29 /utils/atexit 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/check-setuid/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/check-setuid/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/check-setuid/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/check-setuid/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/check-setuid/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/check-setuid/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/check-setuid/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/check-setuid/.dirs/runtime 1876s ok 30 /utils/check-setuid 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/int-limits/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/int-limits/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/int-limits/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/int-limits/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/int-limits/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/int-limits/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/int-limits/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/int-limits/.dirs/runtime 1876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1876s ok 31 /utils/int-limits 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-list/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-list/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/clear-list/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-list/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/clear-list/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-list/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-list/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/clear-list/.dirs/runtime 1876s ok 32 /utils/clear-list 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-slist/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-slist/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/clear-slist/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-slist/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/clear-slist/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-slist/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-slist/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/clear-slist/.dirs/runtime 1876s ok 33 /utils/clear-slist 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/steal-handle-id/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/steal-handle-id/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/steal-handle-id/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/steal-handle-id/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/steal-handle-id/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/steal-handle-id/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/steal-handle-id/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/steal-handle-id/.dirs/runtime 1876s ok 34 /utils/steal-handle-id 1876s # Start of user-special-dirs tests 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/desktop/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/desktop/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/desktop/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/desktop/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/desktop/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/desktop/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/desktop/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/desktop/.dirs/runtime 1876s ok 35 /utils/user-special-dirs/desktop 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/load-unlocked/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/load-unlocked/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/load-unlocked/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/load-unlocked/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1876s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1876s Unable to clean up temporary directory /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/load-unlocked: No such file or directory 1876s ok 36 /utils/user-special-dirs/load-unlocked 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/reload-leaks/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/reload-leaks/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/reload-leaks/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/reload-leaks/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1876s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1876s Unable to clean up temporary directory /tmp/test_utils-c-17_CPGIK3/utils/user-special-dirs/reload-leaks: No such file or directory 1876s ok 37 /utils/user-special-dirs/reload-leaks 1876s # End of user-special-dirs tests 1876s # Start of clear-pointer tests 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/side-effects/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/side-effects/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/side-effects/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/side-effects/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/side-effects/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/side-effects/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/side-effects/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/clear-pointer/side-effects/.dirs/runtime 1876s ok 38 /utils/clear-pointer/side-effects 1876s # End of clear-pointer tests 1876s # Start of aligned-mem tests 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/alignment/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/alignment/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/alignment/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/alignment/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/alignment/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/alignment/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/alignment/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/alignment/.dirs/runtime 1876s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1876s ok 39 /utils/aligned-mem/alignment 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/zeroed/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/zeroed/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/zeroed/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/zeroed/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/zeroed/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/zeroed/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/zeroed/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/zeroed/.dirs/runtime 1876s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1876s ok 40 /utils/aligned-mem/zeroed 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/free-sized/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/free-sized/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/free-sized/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/free-sized/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/free-sized/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/free-sized/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/free-sized/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_CPGIK3/utils/aligned-mem/free-sized/.dirs/runtime 1876s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1876s ok 41 /utils/aligned-mem/free-sized 1876s # Start of subprocess tests 1876s # End of subprocess tests 1876s # End of aligned-mem tests 1876s # End of utils tests 1876s ok - glib/utils-c-17.test 1876s # Running test: glib/tls-interaction.test 1876s TAP version 14 1876s # random seed: R02S3fd355f01c213725317e7926b0d6030a 1876s 1..42 1876s # Start of tls-interaction tests 1876s # Start of ask-password tests 1876s # Start of invoke-with-loop tests 1876s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1876s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1876s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1876s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1876s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1876s # End of invoke-with-loop tests 1876s # Start of invoke-without-loop tests 1876s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1876s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1876s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1876s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1876s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1876s # End of invoke-without-loop tests 1876s # Start of invoke-in-loop tests 1876s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1876s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1876s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1876s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1876s ok - glib/tls-interaction.test 1876s # Running test: glib/gdbus-names.test 1876s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1876s # End of invoke-in-loop tests 1876s # Start of sync tests 1876s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1876s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1876s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1876s # End of sync tests 1876s # Start of async tests 1876s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1876s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1876s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1876s # End of async tests 1876s # End of ask-password tests 1876s # Start of request-certificate tests 1876s # Start of invoke-with-loop tests 1876s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1876s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1876s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1876s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1876s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1876s # End of invoke-with-loop tests 1876s # Start of invoke-without-loop tests 1876s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1876s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1876s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1876s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1876s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1876s # End of invoke-without-loop tests 1876s # Start of invoke-in-loop tests 1876s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1876s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1876s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1876s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1876s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1876s # End of invoke-in-loop tests 1876s # Start of sync tests 1876s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1876s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1876s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1876s # End of sync tests 1876s # Start of async tests 1876s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1876s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1876s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1876s # End of async tests 1876s # End of request-certificate tests 1876s # End of tls-interaction tests 1876s TAP version 14 1876s # random seed: R02S51daa7937d4ba63129571d10df39cc50 1876s 1..10 1876s # Start of gdbus tests 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/validate-names/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/validate-names/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_AUMHK3/gdbus/validate-names/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/validate-names/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_AUMHK3/gdbus/validate-names/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/validate-names/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/validate-names/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_AUMHK3/gdbus/validate-names/.dirs/runtime 1876s ok 1 /gdbus/validate-names 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-own-name/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-own-name/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-own-name/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-own-name/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-own-name/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-own-name/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-own-name/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-own-name/.dirs/runtime 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s ok 2 /gdbus/bus-own-name 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name/.dirs/runtime 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s ok 3 /gdbus/bus-watch-name 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start/.dirs/runtime 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s ok 4 /gdbus/bus-watch-name-auto-start 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1876s dbus-daemon[35779]: [session uid=1000 pid=35779 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=35770 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1876s # Acquired a message bus connection 1876s dbus-daemon[35779]: [session uid=1000 pid=35779 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 1876s # Acquired the name org.gtk.GDBus.FakeService 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures/.dirs/runtime 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s ok 6 /gdbus/bus-watch-name-closures 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s ok 7 /gdbus/bus-watch-name-closures-auto-start 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-different-context/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-different-context/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-different-context/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-different-context/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-different-context/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-different-context/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-different-context/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-watch-different-context/.dirs/runtime 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s ok 8 /gdbus/bus-watch-different-context 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-unwatch-early/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-unwatch-early/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-unwatch-early/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-unwatch-early/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_AUMHK3/gdbus/bus-unwatch-early/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-unwatch-early/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-unwatch-early/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_AUMHK3/gdbus/bus-unwatch-early/.dirs/runtime 1876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1876s ok 9 /gdbus/bus-unwatch-early 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/escape-object-path/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/escape-object-path/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_AUMHK3/gdbus/escape-object-path/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/escape-object-path/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_AUMHK3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_AUMHK3/gdbus/escape-object-path/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/escape-object-path/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_AUMHK3/gdbus/escape-object-path/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_AUMHK3/gdbus/escape-object-path/.dirs/runtime 1876s ok 10 /gdbus/escape-object-path 1876s # End of gdbus tests 1876s ok - glib/gdbus-names.test 1876s # Running test: glib/reference.test 1876s TAP version 14 1876s # random seed: R02S0087a89269ce1ae852f4c04de36e2f86 1876s 1..29 1876s # Start of type tests 1876s ok 1 /type/fundamentals 1876s ok 2 /type/qdata 1876s ok 3 /type/query 1876s ok 4 /type/class-private 1876s # End of type tests 1876s # Start of object tests 1876s ok 5 /object/clear 1876s ok 6 /object/clear-function 1876s ok 7 /object/set 1876s ok 8 /object/set-function 1876s ok 9 /object/value 1876s ok 10 /object/initially-unowned 1876s ok 11 /object/weak-pointer 1876s ok 12 /object/weak-ref 1876s ok 13 /object/toggle-ref 1876s ok 14 /object/qdata 1876s ok 15 /object/qdata2 1876s # Start of set tests 1876s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject 1876s ok 16 /object/set/derived-type 1876s # End of set tests 1876s # Start of weak-pointer tests 1876s ok 17 /object/weak-pointer/clear 1876s ok 18 /object/weak-pointer/clear-function 1876s ok 19 /object/weak-pointer/set 1876s ok 20 /object/weak-pointer/set-function 1876s # End of weak-pointer tests 1876s # Start of weak-ref tests 1876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1876s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1876s ok 21 /object/weak-ref/on-dispose 1876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1876s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1876s ok 22 /object/weak-ref/on-run-dispose 1876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1876s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1876s ok 23 /object/weak-ref/on-toggle-notify 1876s ok 24 /object/weak-ref/in-toggle-notify 1876s ok 25 /object/weak-ref/many 1876s # Start of concurrent tests 1876s ok 26 /object/weak-ref/concurrent/0 1876s ok 27 /object/weak-ref/concurrent/1 1876s # End of concurrent tests 1876s # End of weak-ref tests 1876s # Start of toggle-ref tests 1876s ok 28 /object/toggle-ref/ref-on-dispose 1876s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1876s # End of toggle-ref tests 1876s # End of object tests 1876s ok - glib/reference.test 1876s # Running test: glib/win32-appinfo.test 1876s TAP version 14 1876s # random seed: R02Se713d097a81e5ec21f42872cef3ee5d6 1876s 1..5 1876s # Start of appinfo tests 1876s ok 1 /appinfo/utf16-strfuncs 1876s ok 2 /appinfo/win32-extract-executable 1876s ok 3 /appinfo/win32-rundll32-fixup 1876s ok 4 /appinfo/win32-parse-filename 1876s ok 5 /appinfo/win32-utf16-conversion-fail 1876s # Start of subprocess tests 1876s # End of subprocess tests 1876s # End of appinfo tests 1876s ok - glib/win32-appinfo.test 1876s TAP version 14 1876s # random seed: R02S8a4f076802dfdb7a8532badbe151975c 1876s 1..4 1876s # Start of C tests 1876s # G_C_STD_VERSION is 199000 1876s ok 1 /C/standard-89 1876s # End of C tests 1876s # Start of alignof tests 1876s ok 2 /alignof/fallback 1876s # End of alignof tests 1876s # Start of assert tests 1876s ok 3 /assert/static 1876s # End of assert tests 1876s # Start of struct tests 1876s ok 4 /struct/sizeof_member 1876s # End of struct tests 1876s # Running test: glib/macros-c-89.test 1876s ok - glib/macros-c-89.test 1876s # Running test: glib/gdbus-close-pending.test 1876s TAP version 14 1876s # random seed: R02S65c9d516f833ebcde5a9c03602994c70 1876s 1..2 1876s # Start of gdbus tests 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/close-pending/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/close-pending/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_BV3IK3/gdbus/close-pending/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/close-pending/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_BV3IK3/gdbus/close-pending/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/close-pending/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/close-pending/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/close-pending/.dirs/runtime 1876s ok 1 /gdbus/close-pending 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/unref-pending/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/unref-pending/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_BV3IK3/gdbus/unref-pending/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/unref-pending/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_BV3IK3/gdbus/unref-pending/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/unref-pending/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/unref-pending/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_BV3IK3/gdbus/unref-pending/.dirs/runtime 1876s ok 2 /gdbus/unref-pending 1876s # End of gdbus tests 1876s ok - glib/gdbus-close-pending.test 1876s # Running test: glib/gdbus-address-get-session.test 1876s TAP version 14 1876s # random seed: R02S8090b7e130d721019641fbf2e4422657 1876s 1..2 1876s # Start of gdbus tests 1876s ok 1 /gdbus/x11-autolaunch 1876s ok 2 /gdbus/xdg-runtime 1876s # End of gdbus tests 1876s ok - glib/gdbus-address-get-session.test 1876s # Running test: glib/mem-overflow.test 1876s TAP version 14 1876s # random seed: R02S7ef0f3b80fab78efa367a3eff14a5062 1876s 1..2 1876s # Start of mem tests 1876s ok 1 /mem/overflow 1876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1876s ok 2 /mem/empty-alloc 1876s # Start of overflow tests 1876s # Start of subprocess tests 1876s # End of subprocess tests 1876s # End of overflow tests 1876s # Start of empty-alloc tests 1876s # End of empty-alloc tests 1876s # End of mem tests 1876s ok - glib/mem-overflow.test 1876s # Running test: glib/pollable.test 1876s TAP version 14 1876s # random seed: R02S6f7b4df510f5b29c2ca656939e4b7873 1876s 1..6 1876s # Start of pollable tests 1876s ok 1 /pollable/converter 1876s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1876s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x55c9ed399890 and GSocketClientAsyncConnectData 0x55c9ed39b710 1876s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1876s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1876s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x55c9ed3a7220 for GSocketClientAsyncConnectData 0x55c9ed39b710 1876s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1876s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1876s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1876s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1876s ok 2 /pollable/socket 1876s # Start of unix tests 1876s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1876s ok 3 /pollable/unix/pipe 1876s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1876s ok 4 /pollable/unix/pty 1876s # /pollable/unix/file summary: Test that regular files are not considered pollable 1876s ok 5 /pollable/unix/file 1876s # /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 1876s ok 6 /pollable/unix/nulldev 1876s # End of unix tests 1876s # End of pollable tests 1876s ok - glib/pollable.test 1876s # Running test: glib/keyfile.test 1876s TAP version 14 1876s # random seed: R02S770386fc8fe44a6bcf76829c6eed8734 1876s 1..36 1876s # Start of keyfile tests 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/line-ends/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/line-ends/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/line-ends/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/line-ends/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/line-ends/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/line-ends/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/line-ends/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/line-ends/.dirs/runtime 1876s ok 1 /keyfile/line-ends 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/whitespace/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/whitespace/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/whitespace/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/whitespace/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/whitespace/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/whitespace/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/whitespace/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/whitespace/.dirs/runtime 1876s ok 2 /keyfile/whitespace 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/comments/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/comments/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/comments/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/comments/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/comments/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/comments/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/comments/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/comments/.dirs/runtime 1876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1876s ok 3 /keyfile/comments 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/listing/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/listing/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/listing/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/listing/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/listing/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/listing/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/listing/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/listing/.dirs/runtime 1876s ok 4 /keyfile/listing 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/string/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/string/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/string/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/string/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/string/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/string/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/string/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/string/.dirs/runtime 1876s ok 5 /keyfile/string 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/boolean/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/boolean/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/boolean/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/boolean/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/boolean/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/boolean/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/boolean/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/boolean/.dirs/runtime 1876s ok 6 /keyfile/boolean 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/number/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/number/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/number/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/number/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/number/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/number/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/number/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/number/.dirs/runtime 1876s ok 7 /keyfile/number 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/locale-string/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/locale-string/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/.dirs/runtime 1876s ok 8 /keyfile/locale-string 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/lists/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/lists/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/lists/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/lists/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/lists/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/lists/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/lists/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/lists/.dirs/runtime 1876s ok 9 /keyfile/lists 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/lists-set-get/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/lists-set-get/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/lists-set-get/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/lists-set-get/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/lists-set-get/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/lists-set-get/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/lists-set-get/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/lists-set-get/.dirs/runtime 1876s ok 10 /keyfile/lists-set-get 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/group-remove/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/group-remove/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/group-remove/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/group-remove/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/group-remove/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/group-remove/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/group-remove/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/group-remove/.dirs/runtime 1876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1876s ok 11 /keyfile/group-remove 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/key-remove/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/key-remove/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/key-remove/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/key-remove/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/key-remove/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/key-remove/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/key-remove/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/key-remove/.dirs/runtime 1876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1876s ok 12 /keyfile/key-remove 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/groups/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/groups/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/groups/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/groups/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/groups/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/groups/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/groups/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/groups/.dirs/runtime 1876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1876s ok 13 /keyfile/groups 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-keys/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-keys/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/duplicate-keys/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-keys/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/duplicate-keys/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-keys/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-keys/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-keys/.dirs/runtime 1876s ok 14 /keyfile/duplicate-keys 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups/.dirs/runtime 1876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1876s ok 15 /keyfile/duplicate-groups 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups2/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups2/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups2/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups2/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups2/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups2/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups2/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/duplicate-groups2/.dirs/runtime 1876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1876s ok 16 /keyfile/duplicate-groups2 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/group-names/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/group-names/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/group-names/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/group-names/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/group-names/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/group-names/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/group-names/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/group-names/.dirs/runtime 1876s ok 17 /keyfile/group-names 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/key-names/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/key-names/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/key-names/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/key-names/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/key-names/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/key-names/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/key-names/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/key-names/.dirs/runtime 1876s ok 18 /keyfile/key-names 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/reload/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/reload/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/reload/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/reload/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/reload/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/reload/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/reload/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/reload/.dirs/runtime 1876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1876s ok 19 /keyfile/reload 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/int64/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/int64/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/int64/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/int64/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/int64/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/int64/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/int64/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/int64/.dirs/runtime 1876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1876s ok 20 /keyfile/int64 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/load/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/load/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/load/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/load/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/load/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/load/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/load/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/load/.dirs/runtime 1876s ok 21 /keyfile/load 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/save/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/save/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/save/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/save/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/save/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/save/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/save/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/save/.dirs/runtime 1876s ok 22 /keyfile/save 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/load-fail/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/load-fail/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/load-fail/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/load-fail/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/load-fail/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/load-fail/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/load-fail/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/load-fail/.dirs/runtime 1876s ok 23 /keyfile/load-fail 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/non-utf8/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/non-utf8/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/non-utf8/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/non-utf8/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/non-utf8/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/non-utf8/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/non-utf8/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/non-utf8/.dirs/runtime 1876s ok 24 /keyfile/non-utf8 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/page-boundary/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/page-boundary/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/page-boundary/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/page-boundary/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/page-boundary/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/page-boundary/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/page-boundary/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/page-boundary/.dirs/runtime 1876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1876s ok 25 /keyfile/page-boundary 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/ref/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/ref/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/ref/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/ref/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/ref/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/ref/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/ref/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/ref/.dirs/runtime 1876s ok 26 /keyfile/ref 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/replace-value/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/replace-value/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/replace-value/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/replace-value/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/replace-value/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/replace-value/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/replace-value/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/replace-value/.dirs/runtime 1876s ok 27 /keyfile/replace-value 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/list-separator/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/list-separator/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/list-separator/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/list-separator/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/list-separator/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/list-separator/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/list-separator/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/list-separator/.dirs/runtime 1876s ok 28 /keyfile/list-separator 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/empty-string/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/empty-string/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/empty-string/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/empty-string/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/empty-string/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/empty-string/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/empty-string/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/empty-string/.dirs/runtime 1876s ok 29 /keyfile/empty-string 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/limbo/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/limbo/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/limbo/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/limbo/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/limbo/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/limbo/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/limbo/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/limbo/.dirs/runtime 1876s ok 30 /keyfile/limbo 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/utf8/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/utf8/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/utf8/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/utf8/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/utf8/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/utf8/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/utf8/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/utf8/.dirs/runtime 1876s # Testing invalid encoding ‘non-UTF-8’ 1876s # Testing invalid encoding ‘UTF’ 1876s # Testing invalid encoding ‘UTF-9’ 1876s ok 31 /keyfile/utf8 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/roundtrip/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/roundtrip/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/roundtrip/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/roundtrip/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/roundtrip/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/roundtrip/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/roundtrip/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/roundtrip/.dirs/runtime 1876s ok 32 /keyfile/roundtrip 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/bytes/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/bytes/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/bytes/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/bytes/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/bytes/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/bytes/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/bytes/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/bytes/.dirs/runtime 1876s ok 33 /keyfile/bytes 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/get-locale/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/get-locale/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/get-locale/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/get-locale/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/get-locale/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/get-locale/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/get-locale/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/get-locale/.dirs/runtime 1876s ok 34 /keyfile/get-locale 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/free-when-not-last-ref/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/free-when-not-last-ref/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/free-when-not-last-ref/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/free-when-not-last-ref/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/free-when-not-last-ref/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/free-when-not-last-ref/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/free-when-not-last-ref/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/free-when-not-last-ref/.dirs/runtime 1876s ok 35 /keyfile/free-when-not-last-ref 1876s # Start of locale-string tests 1876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/multiple-loads/.dirs/home 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/multiple-loads/.dirs/cache 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_JXN7J3/keyfile/locale-string/multiple-loads/.dirs/system-config2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/multiple-loads/.dirs/config 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_JXN7J3/keyfile/locale-string/multiple-loads/.dirs/system-data2 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/multiple-loads/.dirs/data 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/multiple-loads/.dirs/state 1876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JXN7J3/keyfile/locale-string/multiple-loads/.dirs/runtime 1876s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1876s ok 36 /keyfile/locale-string/multiple-loads 1876s # End of locale-string tests 1876s # End of keyfile tests 1876s ok - glib/keyfile.test 1876s # Running test: glib/mappedfile.test 1876s TAP version 14 1876s # random seed: R02S01019bea6c5b511050bb0b4bc5a2e7ba 1876s 1..7 1876s # Start of mappedfile tests 1876s ok 1 /mappedfile/basic 1876s ok 2 /mappedfile/empty 1876s ok 3 /mappedfile/device 1876s ok 4 /mappedfile/nonexisting 1876s ok 5 /mappedfile/writable 1876s ok 6 /mappedfile/writable_fd 1876s ok 7 /mappedfile/gbytes 1876s # End of mappedfile tests 1876s ok - glib/mappedfile.test 1876s # Running test: glib/gio-tool.py.test 1876s TAP version 13 1876s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder 1876s # gio: /usr/bin/gio 1876s # tmpdir: /tmp/tmpj8p0nx1p 1876s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpj8p0nx1p/folder/desktop.entry'] 1876s # Working Directory: /tmp/tmpj8p0nx1p/folder 1876s # Return code: 0 1876s # Output: 1876s # /tmp/tmpj8p0nx1p/folder/desktop.entry 1876s # Error: 1876s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent 1876s # gio: /usr/bin/gio 1876s # tmpdir: /tmp/tmpt72al6_2 1876s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpt72al6_2/folder/desktop.entry'] 1876s # Working Directory: /tmp/tmpt72al6_2 1876s # Return code: 0 1876s # Output: 1876s # /tmp/tmpt72al6_2/folder/desktop.entry 1876s # Error: 1876s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling 1876s # gio: /usr/bin/gio 1876s # tmpdir: /tmp/tmprzm_5kbj 1876s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmprzm_5kbj/folder/desktop.entry'] 1876s # Working Directory: /tmp/tmprzm_5kbj/sibling 1876s # Return code: 0 1876s # Output: 1876s # /tmp/tmprzm_5kbj/folder/desktop.entry 1876s # Error: 1876s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder 1876s # gio: /usr/bin/gio 1876s # tmpdir: /tmp/tmpzz6yp7a2 1876s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry'] 1876s # Working Directory: /tmp/tmpzz6yp7a2/folder 1876s # Return code: 0 1876s # Output: 1876s # /tmp/tmpzz6yp7a2/folder/desktop.entry 1876s # Error: 1876s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent 1876s # gio: /usr/bin/gio 1876s # tmpdir: /tmp/tmp8vrttqq8 1876s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry'] 1876s # Working Directory: /tmp/tmp8vrttqq8 1876s # Return code: 0 1876s # Output: 1876s # /tmp/tmp8vrttqq8/folder/desktop.entry 1876s # Error: 1876s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling 1876s # gio: /usr/bin/gio 1876s # tmpdir: /tmp/tmp7r8y7igk 1876s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry'] 1876s # Working Directory: /tmp/tmp7r8y7igk/sibling 1876s # Return code: 0 1876s # Output: 1876s # /tmp/tmp7r8y7igk/folder/desktop.entry 1876s # Error: 1876s ok 7 __main__.TestGioTool.test_help 1876s # gio: /usr/bin/gio 1876s # tmpdir: /tmp/tmp9ye9gejt 1876s # Running: ['/usr/bin/gio', '--help'] 1876s # Return code: 0 1876s # Output: 1876s # Usage: 1876s # gio COMMAND [ARGS…] 1876s # 1876s # Commands: 1876s # help Print help 1876s # version Print version 1876s # cat Concatenate files to standard output 1876s # copy Copy one or more files 1876s # info Show information about locations 1876s # launch Launch an application from a desktop file 1876s # list List the contents of locations 1876s # mime Get or set the handler for a mimetype 1876s # mkdir Create directories 1876s # monitor Monitor files and directories for changes 1876s # mount Mount or unmount the locations 1876s # move Move one or more files 1876s # open Open files with the default application 1876s # rename Rename a file 1876s # remove Delete one or more files 1876s # save Read from standard input and save 1876s # set Set a file attribute 1876s # trash Move files or directories to the trash 1876s # tree Lists the contents of locations in a tree 1876s # 1876s # Use “gio help COMMAND” to get detailed help. 1876s # Error: 1876s # 1876s # Running: ['/usr/bin/gio', 'help'] 1876s # Return code: 0 1876s # Output: 1876s # Usage: 1876s # gio COMMAND [ARGS…] 1876s # 1876s # Commands: 1876s # help Print help 1876s # version Print version 1876s # cat Concatenate files to standard output 1876s # copy Copy one or more files 1876s # info Show information about locations 1876s # launch Launch an application from a desktop file 1876s # list List the contents of locations 1876s # mime Get or set the handler for a mimetype 1876s # mkdir Create directories 1876s # monitor Monitor files and directories for changes 1876s # mount Mount or unmount the locations 1876s # move Move one or more files 1876s # open Open files with the default application 1876s # rename Rename a file 1876s # remove Delete one or more files 1876s # save Read from standard input and save 1876s # set Set a file attribute 1876s # trash Move files or directories to the trash 1876s # tree Lists the contents of locations in a tree 1876s # 1876s # Use “gio help COMMAND” to get detailed help. 1876s # Error: 1876s ok 8 __main__.TestGioTool.test_info_non_default_attributes 1876s # gio: /usr/bin/gio 1876s # tmpdir: /tmp/tmpow6i2a03 1876s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpow6i2a03/tmpni5yt2ga'] 1876s # Return code: 0 1876s # Output: 1876s # uri: file:///tmp/tmpow6i2a03/tmpni5yt2ga 1876s # local path: /tmp/tmpow6i2a03/tmpni5yt2ga 1876s # unix mount: /dev/sda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1876s # attributes: 1876s # standard::content-type: application/x-zerosize 1876s # Error: 1876s ok 9 __main__.TestGioTool.test_no_args 1876s # gio: /usr/bin/gio 1876s # tmpdir: /tmp/tmptntrn34p 1876s # Running: ['/usr/bin/gio'] 1876s # Return code: 1 1876s # Output: 1876s # 1876s # Error: 1876s # Usage: 1876s # gio COMMAND [ARGS…] 1876s # 1876s # Commands: 1876s # help Print help 1876s # version Print version 1876s # cat Concatenate files to standard output 1876s # copy Copy one or more files 1876s # info Show information about locations 1876s # launch Launch an application from a desktop file 1876s # list List the contents of locations 1876s # mime Get or set the handler for a mimetype 1876s # mkdir Create directories 1876s # monitor Monitor files and directories for changes 1876s # mount Mount or unmount the locations 1876s # move Move one or more files 1876s # open Open files with the default application 1876s # rename Rename a file 1876s # remove Delete one or more files 1876s # save Read from standard input and save 1876s # set Set a file attribute 1876s # trash Move files or directories to the trash 1876s # tree Lists the contents of locations in a tree 1876s # 1876s # Use “gio help COMMAND” to get detailed help. 1876s 1..9 1877s ok - glib/gio-tool.py.test 1877s # Running test: glib/credentials.test 1877s TAP version 14 1877s # random seed: R02Sc0470ede6662eab1381c1fe8bfa5215f 1877s 1..1 1877s # Start of credentials tests 1877s # GCredentials:linux-ucred:pid=35913,uid=1000,gid=1000 1877s # GCredentials:linux-ucred:pid=35913,uid=0,gid=1000 1877s ok 1 /credentials/basic 1877s # End of credentials tests 1877s ok - glib/credentials.test 1877s # Running test: glib/documentportal.test 1877s TAP version 14 1877s # random seed: R02S6eb8489ed6ff868d6182a45b474b49a5 1877s 1..6 1877s # Start of document-portal tests 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-uri/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-uri/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_O8YAK3/document-portal/add-uri/.dirs/system-config1:/tmp/test_documentportal_O8YAK3/document-portal/add-uri/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-uri/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_O8YAK3/document-portal/add-uri/.dirs/system-data1:/tmp/test_documentportal_O8YAK3/document-portal/add-uri/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-uri/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-uri/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_O8YAK3/document-portal/add-uri/.dirs/runtime 1877s # Created mount point /tmp/test_documentportal_O8YAK3/fake-document-portal-XZCXAK3/documents 1877s # Acquired a message bus connection 1877s # Acquired the name org.freedesktop.portal.Documents 1877s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1877s # Creating Document ID document-id-0 folder 1877s # Creating Document ID document-id-0 mapped to FD 13 (/tmp/test_documentportal_O8YAK3/test_document_portal_add_uri_PEVAK3) 1877s # fake-document-portal cancelled 1877s ok 1 /document-portal/add-uri 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-not-existent-uri/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-not-existent-uri/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_O8YAK3/document-portal/add-not-existent-uri/.dirs/system-config1:/tmp/test_documentportal_O8YAK3/document-portal/add-not-existent-uri/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-not-existent-uri/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_O8YAK3/document-portal/add-not-existent-uri/.dirs/system-data1:/tmp/test_documentportal_O8YAK3/document-portal/add-not-existent-uri/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-not-existent-uri/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-not-existent-uri/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_O8YAK3/document-portal/add-not-existent-uri/.dirs/runtime 1877s # Created mount point /tmp/test_documentportal_O8YAK3/fake-document-portal-XANTAK3/documents 1877s # Acquired a message bus connection 1877s # Acquired the name org.freedesktop.portal.Documents 1877s # fake-document-portal cancelled 1877s ok 2 /document-portal/add-not-existent-uri 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-existent-and-not-existent-uri/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-existent-and-not-existent-uri/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_O8YAK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-config1:/tmp/test_documentportal_O8YAK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-existent-and-not-existent-uri/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_O8YAK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-data1:/tmp/test_documentportal_O8YAK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-existent-and-not-existent-uri/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-existent-and-not-existent-uri/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_O8YAK3/document-portal/add-existent-and-not-existent-uri/.dirs/runtime 1877s # Created mount point /tmp/test_documentportal_O8YAK3/fake-document-portal-XM0VCK3/documents 1877s # Acquired a message bus connection 1877s # Acquired the name org.freedesktop.portal.Documents 1877s # Creating Document ID document-id-0 folder 1877s # Creating Document ID document-id-0 mapped to FD 20 (/tmp/test_documentportal_O8YAK3/test_document_portal_add_existent_and_not_existent_uris_IHWCK3) 1877s # Creating Document ID document-id-1 folder 1877s # Creating Document ID document-id-1 mapped to FD 21 (/tmp/test_documentportal_O8YAK3/test_document_portal_add_existent_and_not_existent_uris_IHWCK3) 1877s # fake-document-portal cancelled 1877s ok 3 /document-portal/add-existent-and-not-existent-uri 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-symlink-uri/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-symlink-uri/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_O8YAK3/document-portal/add-symlink-uri/.dirs/system-config1:/tmp/test_documentportal_O8YAK3/document-portal/add-symlink-uri/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-symlink-uri/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_O8YAK3/document-portal/add-symlink-uri/.dirs/system-data1:/tmp/test_documentportal_O8YAK3/document-portal/add-symlink-uri/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-symlink-uri/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-symlink-uri/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_O8YAK3/document-portal/add-symlink-uri/.dirs/runtime 1877s # Created mount point /tmp/test_documentportal_O8YAK3/fake-document-portal-XY3UCK3/documents 1877s # Acquired a message bus connection 1877s # Acquired the name org.freedesktop.portal.Documents 1877s # Creating Document ID document-id-0 folder 1877s # Creating Document ID document-id-0 mapped to FD 24 (/tmp/test_documentportal_O8YAK3/test_document_portal_add_symlink_uri_R7UCK3) 1877s # Creating Document ID document-id-1 folder 1877s # Creating Document ID document-id-1 mapped to FD 25 (/tmp/test_documentportal_O8YAK3/test_document_portal_add_symlink_uri_R7UCK3) 1877s # fake-document-portal cancelled 1877s ok 4 /document-portal/add-symlink-uri 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-config1:/tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-data1:/tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/runtime 1877s # Created mount point /tmp/test_documentportal_O8YAK3/fake-document-portal-X9LTCK3/documents 1877s # Acquired a message bus connection 1877s # Acquired the name org.freedesktop.portal.Documents 1877s # fake-document-portal cancelled 1877s ok 5 /document-portal/add-uri-with-missing-doc-id-path 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-file/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-file/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-config1:/tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-file/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-data1:/tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-file/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-file/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_O8YAK3/document-portal/add-uri-with-missing-doc-file/.dirs/runtime 1877s # Created mount point /tmp/test_documentportal_O8YAK3/fake-document-portal-XYKSCK3/documents 1877s # Acquired a message bus connection 1877s # Acquired the name org.freedesktop.portal.Documents 1877s # Creating Document ID document-id-0 folder 1877s # fake-document-portal cancelled 1877s ok 6 /document-portal/add-uri-with-missing-doc-file 1877s # End of document-portal tests 1877s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1877s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1877s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1877s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1877s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1877s ok - glib/documentportal.test 1877s # Running test: glib/gdbus-non-socket.test 1877s TAP version 14 1877s # random seed: R02Sa1310cd50bfeb219643b782bfa947f20 1877s 1..1 1877s # Start of gdbus tests 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_ZZMCK3/gdbus/non-socket/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_ZZMCK3/gdbus/non-socket/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_ZZMCK3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_ZZMCK3/gdbus/non-socket/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_ZZMCK3/gdbus/non-socket/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_ZZMCK3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_ZZMCK3/gdbus/non-socket/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_ZZMCK3/gdbus/non-socket/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_ZZMCK3/gdbus/non-socket/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_ZZMCK3/gdbus/non-socket/.dirs/runtime 1877s ok 1 /gdbus/non-socket 1877s # End of gdbus tests 1877s ok - glib/gdbus-non-socket.test 1877s # Running test: glib/atomic-c-99.test 1877s TAP version 14 1877s # random seed: R02S4ad51d799d92d735bcf9e782b6c7f568 1877s 1..2 1877s # Start of atomic tests 1877s ok 1 /atomic/types 1877s ok - glib/atomic-c-99.test 1877s ok 2 /atomic/threaded 1877s # End of atomic tests 1877s # Running test: glib/value.test 1877s TAP version 14 1877s # random seed: R02S19ef43822c336d1a4b1ac11646830386 1877s 1..9 1877s # Start of value tests 1877s ok 1 /value/basic 1877s ok 2 /value/collection 1877s ok 3 /value/copying 1877s ok 4 /value/enum-transformation 1877s ok 5 /value/gtype 1877s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1877s ok 6 /value/string 1877s # Next: GObject object in GValue of GObject to GValue of GObject 1877s # Next: GObject object in GValue of GObject to GValue of TestInterface 1877s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1877s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1877s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1877s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1877s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1877s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1877s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1877s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1877s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1877s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1877s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1877s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1877s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1877s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1877s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1877s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1877s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1877s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1877s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1877s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1877s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1877s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1877s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1877s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1877s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1877s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1877s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1877s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1877s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1877s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1877s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1877s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1877s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1877s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1877s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1877s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1877s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1877s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1877s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1877s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1877s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1877s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1877s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1877s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1877s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1877s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1877s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1877s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1877s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1877s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1877s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1877s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1877s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1877s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1877s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1877s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1877s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1877s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1877s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1877s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1877s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1877s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1877s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1877s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1877s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1877s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1877s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1877s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1877s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1877s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1877s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1877s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1877s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1877s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1877s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1877s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1877s ok 7 /value/transform-object 1877s # Start of array tests 1877s ok 8 /value/array/basic 1877s ok 9 /value/array/sort-with-data 1877s # End of array tests 1877s # End of value tests 1877s ok - glib/value.test 1877s # Running test: glib/testing-nonfatal.test 1877s ok - glib/testing-nonfatal.test 1877s # Running test: glib/gdbus-peer-object-manager.test 1877s TAP version 14 1877s # random seed: R02S49980b2f9866f90ea9b3f7e6cd33b654 1877s ** 1877s 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?") 1877s # 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?") 1877s TAP version 14 1877s # random seed: R02S8655ec1b22130a6a1f051cb301906ac1 1877s 1..2 1877s # Start of gdbus tests 1877s # Start of peer-object-manager tests 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/normal/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/normal/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/normal/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/normal/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/normal/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/normal/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/normal/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/normal/.dirs/runtime 1877s ok 1 /gdbus/peer-object-manager/normal 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/root/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/root/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/root/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/root/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/root/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/root/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/root/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_ZDKFK3/gdbus/peer-object-manager/root/.dirs/runtime 1877s ok 2 /gdbus/peer-object-manager/root 1877s # End of peer-object-manager tests 1877s # End of gdbus tests 1877s ok - glib/gdbus-peer-object-manager.test 1877s # Running test: glib/gdbus-test-codegen-old.test 1877s TAP version 14 1877s # random seed: R02Se8800935dd36e8d614363f7a9db54640 1877s 1..8 1877s # Start of gdbus tests 1877s # Start of codegen tests 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/annotations/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/annotations/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/annotations/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/annotations/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/annotations/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/annotations/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/annotations/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/annotations/.dirs/runtime 1877s ok 1 /gdbus/codegen/annotations 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/interface_stability/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/interface_stability/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/interface_stability/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/interface_stability/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/interface_stability/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/interface_stability/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/interface_stability/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/interface_stability/.dirs/runtime 1877s ok 2 /gdbus/codegen/interface_stability 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/object-manager/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/object-manager/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/object-manager/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/object-manager/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/object-manager/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/object-manager/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/object-manager/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/object-manager/.dirs/runtime 1877s ok 3 /gdbus/codegen/object-manager 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/property-naming/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/property-naming/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/property-naming/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/property-naming/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/property-naming/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/property-naming/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/property-naming/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/property-naming/.dirs/runtime 1877s ok 4 /gdbus/codegen/property-naming 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/autocleanups/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/autocleanups/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/autocleanups/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/autocleanups/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/autocleanups/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/autocleanups/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/autocleanups/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/autocleanups/.dirs/runtime 1877s ok 5 /gdbus/codegen/autocleanups 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/deprecations/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/deprecations/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/deprecations/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/deprecations/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/deprecations/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/deprecations/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/deprecations/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/deprecations/.dirs/runtime 1877s ok 6 /gdbus/codegen/deprecations 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/standalone-interface-info/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/standalone-interface-info/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/standalone-interface-info/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/standalone-interface-info/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/standalone-interface-info/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1877s ok 7 /gdbus/codegen/standalone-interface-info 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/unix-fd-list/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/unix-fd-list/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/unix-fd-list/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/unix-fd-list/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/unix-fd-list/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CQHFK3/gdbus/codegen/unix-fd-list/.dirs/runtime 1877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1877s ok 8 /gdbus/codegen/unix-fd-list 1877s # End of codegen tests 1877s # End of gdbus tests 1877s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1877s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1877s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1877s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1877s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1877s ok - glib/gdbus-test-codegen-old.test 1877s # Running test: glib/hostutils.test 1877s TAP version 14 1877s # random seed: R02S6019628f5b278a1dbefe2b037022c999 1877s 1..4 1877s # Start of hostutils tests 1877s ok 1 /hostutils/hostname_is_non_ascii 1877s ok 2 /hostutils/to_ascii 1877s ok 3 /hostutils/to_unicode 1877s ok 4 /hostutils/is_ip_addr 1877s # End of hostutils tests 1877s ok - glib/hostutils.test 1877s # Running test: glib/fileutils.test 1877s TAP version 14 1877s # random seed: R02Sfe3027e3748eb34ecb21b345505677ea 1877s 1..27 1877s # Start of fileutils tests 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/paths/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/paths/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/paths/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/paths/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/paths/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/paths/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/paths/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/paths/.dirs/runtime 1877s ok 1 /fileutils/paths 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-path/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-path/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/build-path/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-path/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/build-path/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-path/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-path/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/build-path/.dirs/runtime 1877s ok 2 /fileutils/build-path 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-pathv/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-pathv/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/build-pathv/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-pathv/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/build-pathv/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-pathv/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-pathv/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/build-pathv/.dirs/runtime 1877s ok 3 /fileutils/build-pathv 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-filename/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-filename/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/build-filename/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-filename/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/build-filename/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-filename/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-filename/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/build-filename/.dirs/runtime 1877s ok 4 /fileutils/build-filename 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-filenamev/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-filenamev/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/build-filenamev/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-filenamev/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/build-filenamev/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-filenamev/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/build-filenamev/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/build-filenamev/.dirs/runtime 1877s ok 5 /fileutils/build-filenamev 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents/.dirs/runtime 1877s # We do not have CAP_DAC_OVERRIDE or equivalent 1877s # Checking g_mkdir_with_parents() in subdir ./hum/ 1877s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 1877s ok 6 /fileutils/mkdir-with-parents 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents-permission/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents-permission/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents-permission/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents-permission/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents-permission/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/mkdir-with-parents-permission/.dirs/runtime 1877s # We do not have CAP_DAC_OVERRIDE or equivalent 1877s ok 7 /fileutils/mkdir-with-parents-permission 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/format-size-for-display/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/format-size-for-display/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/format-size-for-display/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/format-size-for-display/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/format-size-for-display/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/format-size-for-display/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/format-size-for-display/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/format-size-for-display/.dirs/runtime 1877s ok 8 /fileutils/format-size-for-display 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/errors/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/errors/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/errors/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/errors/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/errors/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/errors/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/errors/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/errors/.dirs/runtime 1877s ok 9 /fileutils/errors 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/basename/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/basename/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/basename/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/basename/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/basename/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/basename/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/basename/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/basename/.dirs/runtime 1877s ok 10 /fileutils/basename 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/get-basename/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/get-basename/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/get-basename/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/get-basename/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/get-basename/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/get-basename/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/get-basename/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/get-basename/.dirs/runtime 1877s ok 11 /fileutils/get-basename 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/dirname/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/dirname/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/dirname/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/dirname/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/dirname/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/dirname/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/dirname/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/dirname/.dirs/runtime 1877s ok 12 /fileutils/dirname 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/dir-make-tmp/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/dir-make-tmp/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/dir-make-tmp/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/dir-make-tmp/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/dir-make-tmp/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/dir-make-tmp/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/dir-make-tmp/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/dir-make-tmp/.dirs/runtime 1877s ok 13 /fileutils/dir-make-tmp 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/file-open-tmp/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/file-open-tmp/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/file-open-tmp/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/file-open-tmp/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/file-open-tmp/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/file-open-tmp/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/file-open-tmp/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/file-open-tmp/.dirs/runtime 1877s ok 14 /fileutils/file-open-tmp 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/file-test/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/file-test/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/file-test/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/file-test/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/file-test/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/file-test/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/file-test/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/file-test/.dirs/runtime 1877s ok 15 /fileutils/file-test 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkstemp/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkstemp/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/mkstemp/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkstemp/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/mkstemp/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkstemp/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkstemp/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/mkstemp/.dirs/runtime 1877s ok 16 /fileutils/mkstemp 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkdtemp/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkdtemp/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/mkdtemp/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkdtemp/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/mkdtemp/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkdtemp/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/mkdtemp/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/mkdtemp/.dirs/runtime 1877s ok 17 /fileutils/mkdtemp 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/get-contents/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/get-contents/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/get-contents/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/get-contents/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/get-contents/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/get-contents/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/get-contents/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/get-contents/.dirs/runtime 1877s ok 18 /fileutils/get-contents 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/get-contents-large-file/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/get-contents-large-file/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/get-contents-large-file/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/get-contents-large-file/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/get-contents-large-file/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/get-contents-large-file/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/get-contents-large-file/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/get-contents-large-file/.dirs/runtime 1877s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/set-contents/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/set-contents/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/set-contents/.dirs/runtime 1877s ok 20 /fileutils/set-contents 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/.dirs/runtime 1877s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1877s # Flags 0 and test 0 1877s # Flags 0 and test 1 1877s # Flags 0 and test 2 1877s # Flags 0 and test 3 1877s # Flags 0 and test 4 1877s # Flags 0 and test 5 1877s # Flags 0 and test 6 1877s # Flags 1 and test 0 1877s # Flags 1 and test 1 1877s # Flags 1 and test 2 1877s # Flags 1 and test 3 1877s # Flags 1 and test 4 1877s # Flags 1 and test 5 1877s # Flags 1 and test 6 1877s # Flags 2 and test 0 1877s # Flags 2 and test 1 1877s # Flags 2 and test 2 1877s # Flags 2 and test 3 1877s # Flags 2 and test 4 1877s # Flags 2 and test 5 1877s # Flags 2 and test 6 1877s # Flags 3 and test 0 1877s # Flags 3 and test 1 1877s # Flags 3 and test 2 1877s # Flags 3 and test 3 1877s # Flags 3 and test 4 1877s # Flags 3 and test 5 1877s # Flags 3 and test 6 1877s # Flags 4 and test 0 1877s # Flags 4 and test 1 1877s # Flags 4 and test 2 1877s # Flags 4 and test 3 1877s # Flags 4 and test 4 1877s # Flags 4 and test 5 1877s # Flags 4 and test 6 1877s # Flags 5 and test 0 1877s # Flags 5 and test 1 1877s # Flags 5 and test 2 1877s # Flags 5 and test 3 1877s # Flags 5 and test 4 1877s # Flags 5 and test 5 1877s # Flags 5 and test 6 1877s # Flags 6 and test 0 1877s # Flags 6 and test 1 1877s # Flags 6 and test 2 1877s # Flags 6 and test 3 1877s # Flags 6 and test 4 1877s # Flags 6 and test 5 1877s # Flags 6 and test 6 1877s ok 21 /fileutils/set-contents-full 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/read-link/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/read-link/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/read-link/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/read-link/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/read-link/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/read-link/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/read-link/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/read-link/.dirs/runtime 1877s ok 22 /fileutils/read-link 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/stdio-wrappers/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/stdio-wrappers/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/stdio-wrappers/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/stdio-wrappers/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/stdio-wrappers/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/stdio-wrappers/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/stdio-wrappers/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/stdio-wrappers/.dirs/runtime 1877s # We do not have CAP_DAC_OVERRIDE or equivalent 1877s ok 23 /fileutils/stdio-wrappers 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/fopen-modes/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/fopen-modes/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/fopen-modes/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/fopen-modes/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/fopen-modes/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/fopen-modes/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/fopen-modes/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/fopen-modes/.dirs/runtime 1877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1877s # Testing fopen() mode 'w' 1877s # Testing fopen() mode 'r' 1877s # Testing fopen() mode 'a' 1877s # Testing fopen() mode 'w+' 1877s # Testing fopen() mode 'r+' 1877s # Testing fopen() mode 'a+' 1877s # Testing fopen() mode 'wb' 1877s # Testing fopen() mode 'rb' 1877s # Testing fopen() mode 'ab' 1877s # Testing fopen() mode 'w+b' 1877s # Testing fopen() mode 'r+b' 1877s # Testing fopen() mode 'a+b' 1877s # Testing fopen() mode 'wb+' 1877s # Testing fopen() mode 'rb+' 1877s # Testing fopen() mode 'ab+' 1877s # Testing fopen() mode 'we' 1877s # Testing fopen() mode 're' 1877s # Testing fopen() mode 'ae' 1877s # Testing fopen() mode 'w+e' 1877s # Testing fopen() mode 'r+e' 1877s # Testing fopen() mode 'a+e' 1877s # Testing fopen() mode 'wbe' 1877s # Testing fopen() mode 'rbe' 1877s # Testing fopen() mode 'abe' 1877s # Testing fopen() mode 'w+be' 1877s # Testing fopen() mode 'r+be' 1877s # Testing fopen() mode 'a+be' 1877s # Testing fopen() mode 'wb+e' 1877s # Testing fopen() mode 'rb+e' 1877s # Testing fopen() mode 'ab+e' 1877s # Testing fopen() mode 'web' 1877s # Testing fopen() mode 'reb' 1877s # Testing fopen() mode 'aeb' 1877s # Testing fopen() mode 'w+eb' 1877s # Testing fopen() mode 'r+eb' 1877s # Testing fopen() mode 'a+eb' 1877s # Testing fopen() mode 'web+' 1877s # Testing fopen() mode 'reb+' 1877s # Testing fopen() mode 'aeb+' 1877s ok 24 /fileutils/fopen-modes 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/clear-fd/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/clear-fd/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/clear-fd/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/clear-fd/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/clear-fd/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/clear-fd/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/clear-fd/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/clear-fd/.dirs/runtime 1877s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1877s # Will be closed by autocleanup: 3, -42 1877s # Testing error handling 1877s ok 25 /fileutils/clear-fd 1877s # Start of set-contents-full tests 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-file/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-file/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-file/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-file/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-file/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-file/.dirs/runtime 1877s # We do not have CAP_DAC_OVERRIDE or equivalent 1877s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1877s ok 26 /fileutils/set-contents-full/read-only-file 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-directory/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-directory/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-directory/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-directory/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-directory/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2PWEK3/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1877s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1877s # Flags 0 1877s # We do not have CAP_DAC_OVERRIDE or equivalent 1877s # Flags 1 1877s # We do not have CAP_DAC_OVERRIDE or equivalent 1877s # Flags 2 1877s # We do not have CAP_DAC_OVERRIDE or equivalent 1877s # Flags 3 1877s # We do not have CAP_DAC_OVERRIDE or equivalent 1877s # Flags 4 1877s # We do not have CAP_DAC_OVERRIDE or equivalent 1877s # Flags 5 1877s # We do not have CAP_DAC_OVERRIDE or equivalent 1877s # Flags 6 1877s # We do not have CAP_DAC_OVERRIDE or equivalent 1877s ok 27 /fileutils/set-contents-full/read-only-directory 1877s # End of set-contents-full tests 1877s # Start of clear-fd tests 1877s # Start of subprocess tests 1877s # End of subprocess tests 1877s # End of clear-fd tests 1877s # End of fileutils tests 1877s Unable to clean up temporary directory /tmp/test_fileutils_2PWEK3/glib-file-set-contents-full-rodir-VGVGK3: Directory not empty 1877s Unable to clean up temporary directory /tmp/test_fileutils_2PWEK3/glib-file-set-contents-full-rodir-CVWGK3: Directory not empty 1877s Unable to clean up temporary directory /tmp/test_fileutils_2PWEK3/glib-file-set-contents-full-rodir-11WGK3: Directory not empty 1877s Unable to clean up temporary directory /tmp/test_fileutils_2PWEK3/glib-file-set-contents-full-rodir-GPSGK3: Directory not empty 1877s Unable to clean up temporary directory /tmp/test_fileutils_2PWEK3/glib-file-set-contents-full-rodir-PNUGK3: Directory not empty 1877s Unable to clean up temporary directory /tmp/test_fileutils_2PWEK3/glib-file-set-contents-full-rodir-I8TGK3: Directory not empty 1877s Unable to clean up temporary directory /tmp/test_fileutils_2PWEK3/glib-file-set-contents-full-rodir-O1UGK3: Directory not empty 1877s Unable to clean up temporary directory /tmp/test_fileutils_2PWEK3: Directory not empty 1877s TAP version 14 1877s # random seed: R02S94bd48b8008cbb72a6d314f06294f6ae 1877s 1..41 1877s # Start of utils tests 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/language-names/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/language-names/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/language-names/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/language-names/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/language-names/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/language-names/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/language-names/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/language-names/.dirs/runtime 1877s ok 1 /utils/language-names 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/locale-variants/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/locale-variants/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/locale-variants/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/locale-variants/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/locale-variants/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/locale-variants/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/locale-variants/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/locale-variants/.dirs/runtime 1877s # Testing locale ‘en’ 1877s # Testing locale ‘sr@latin’ 1877s # Testing locale ‘fr_BE’ 1877s # Testing locale ‘sr_SR@latin’ 1877s # Testing locale ‘sr_SR@latin.UTF-8’ 1877s # Testing locale ‘sr@latin_invalid’ 1877s # Testing locale ‘sr.UTF-8@latin’ 1877s # Testing locale ‘sr.UTF-8_latin’ 1877s # Testing locale ‘sr.UTF-8@latin_invalid’ 1877s ok 2 /utils/locale-variants 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/version/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/version/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/version/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/version/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/version/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/version/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/version/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/version/.dirs/runtime 1877s ok 3 /utils/version 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/appname/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/appname/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/appname/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/appname/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/appname/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/appname/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/appname/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/appname/.dirs/runtime 1877s ok 4 /utils/appname 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/prgname-thread-safety/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/prgname-thread-safety/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/prgname-thread-safety/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/prgname-thread-safety/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/prgname-thread-safety/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/prgname-thread-safety/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/prgname-thread-safety/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/prgname-thread-safety/.dirs/runtime 1877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1877s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1877s ok - glib/fileutils.test 1877s # Running test: glib/utils-c-89.test 1877s ok 5 /utils/prgname-thread-safety 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/tmpdir/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/tmpdir/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/tmpdir/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/tmpdir/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/tmpdir/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/tmpdir/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/tmpdir/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/tmpdir/.dirs/runtime 1877s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1877s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1877s Unable to clean up temporary directory /tmp/test_utils-c-89_UEHHK3/utils/tmpdir: No such file or directory 1877s ok 6 /utils/tmpdir 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/basic_bits/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/basic_bits/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/basic_bits/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/basic_bits/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/basic_bits/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/basic_bits/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/basic_bits/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/basic_bits/.dirs/runtime 1877s ok 7 /utils/basic_bits 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/bits/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/bits/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/bits/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/bits/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/bits/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/bits/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/bits/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/bits/.dirs/runtime 1877s ok 8 /utils/bits 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/swap/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/swap/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/swap/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/swap/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/swap/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/swap/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/swap/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/swap/.dirs/runtime 1877s ok 9 /utils/swap 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/find-program/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/find-program/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/find-program/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/find-program/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/find-program/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/find-program/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/find-program/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/find-program/.dirs/runtime 1877s ok 10 /utils/find-program 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/find-program-for-path/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/find-program-for-path/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/find-program-for-path/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/find-program-for-path/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/find-program-for-path/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/find-program-for-path/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/find-program-for-path/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/find-program-for-path/.dirs/runtime 1877s ok 11 /utils/find-program-for-path 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/debug/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/debug/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/debug/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/debug/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/debug/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/debug/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/debug/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/debug/.dirs/runtime 1877s Unable to clean up temporary directory /tmp/test_utils-c-89_UEHHK3/utils/debug: No such file or directory 1877s ok 12 /utils/debug 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/codeset/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/codeset/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/codeset/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/codeset/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/codeset/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/codeset/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/codeset/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/codeset/.dirs/runtime 1877s ok 13 /utils/codeset 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/codeset2/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/codeset2/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/codeset2/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/codeset2/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/codeset2/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/codeset2/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/codeset2/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/codeset2/.dirs/runtime 1877s Unable to clean up temporary directory /tmp/test_utils-c-89_UEHHK3/utils/codeset2: No such file or directory 1877s ok 14 /utils/codeset2 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/console-charset/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/console-charset/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/console-charset/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/console-charset/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/console-charset/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/console-charset/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/console-charset/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/console-charset/.dirs/runtime 1877s ok 15 /utils/console-charset 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/gettext/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/gettext/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/gettext/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/gettext/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/gettext/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/gettext/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/gettext/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/gettext/.dirs/runtime 1877s ok 16 /utils/gettext 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/username/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/username/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/username/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/username/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/username/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/username/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/username/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/username/.dirs/runtime 1877s ok 17 /utils/username 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/realname/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/realname/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/realname/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/realname/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/realname/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/realname/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/realname/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/realname/.dirs/runtime 1877s ok 18 /utils/realname 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/hostname/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/hostname/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/hostname/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/hostname/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/hostname/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/hostname/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/hostname/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/hostname/.dirs/runtime 1877s ok 19 /utils/hostname 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/os-info/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/os-info/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/os-info/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/os-info/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/os-info/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/os-info/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/os-info/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/os-info/.dirs/runtime 1877s # NAME: Ubuntu 1877s ok 20 /utils/os-info 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/.dirs/runtime 1877s ok 21 /utils/clear-pointer 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer-cast/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer-cast/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/clear-pointer-cast/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer-cast/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/clear-pointer-cast/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer-cast/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer-cast/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer-cast/.dirs/runtime 1877s ok 22 /utils/clear-pointer-cast 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/take-pointer/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/take-pointer/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/take-pointer/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/take-pointer/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/take-pointer/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/take-pointer/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/take-pointer/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/take-pointer/.dirs/runtime 1877s ok 23 /utils/take-pointer 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-source/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-source/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/clear-source/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-source/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/clear-source/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-source/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-source/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/clear-source/.dirs/runtime 1877s ok 24 /utils/clear-source 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/misc-mem/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/misc-mem/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/misc-mem/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/misc-mem/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/misc-mem/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/misc-mem/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/misc-mem/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/misc-mem/.dirs/runtime 1877s ok 25 /utils/misc-mem 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/.dirs/runtime 1877s # /utils/aligned-mem summary: Aligned memory allocator 1877s # Alignment must not be zero 1877s # Alignment must be a power of two 1877s # Alignment must be a multiple of sizeof(void*) 1877s ok 26 /utils/aligned-mem 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/free-sized/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/free-sized/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/free-sized/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/free-sized/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/free-sized/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/free-sized/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/free-sized/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/free-sized/.dirs/runtime 1877s # /utils/free-sized summary: Check that g_free_sized() works 1877s ok 27 /utils/free-sized 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/nullify/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/nullify/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/nullify/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/nullify/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/nullify/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/nullify/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/nullify/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/nullify/.dirs/runtime 1877s ok 28 /utils/nullify 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/atexit/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/atexit/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/atexit/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/atexit/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/atexit/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/atexit/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/atexit/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/atexit/.dirs/runtime 1877s Unable to clean up temporary directory /tmp/test_utils-c-89_UEHHK3/utils/atexit: No such file or directory 1877s ok 29 /utils/atexit 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/check-setuid/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/check-setuid/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/check-setuid/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/check-setuid/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/check-setuid/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/check-setuid/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/check-setuid/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/check-setuid/.dirs/runtime 1877s ok 30 /utils/check-setuid 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/int-limits/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/int-limits/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/int-limits/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/int-limits/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/int-limits/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/int-limits/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/int-limits/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/int-limits/.dirs/runtime 1877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1877s ok 31 /utils/int-limits 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-list/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-list/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/clear-list/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-list/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/clear-list/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-list/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-list/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/clear-list/.dirs/runtime 1877s ok 32 /utils/clear-list 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-slist/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-slist/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/clear-slist/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-slist/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/clear-slist/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-slist/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-slist/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/clear-slist/.dirs/runtime 1877s ok 33 /utils/clear-slist 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/steal-handle-id/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/steal-handle-id/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/steal-handle-id/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/steal-handle-id/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/steal-handle-id/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/steal-handle-id/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/steal-handle-id/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/steal-handle-id/.dirs/runtime 1877s ok 34 /utils/steal-handle-id 1877s # Start of user-special-dirs tests 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/desktop/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/desktop/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/desktop/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/desktop/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/desktop/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/desktop/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/desktop/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/desktop/.dirs/runtime 1877s ok 35 /utils/user-special-dirs/desktop 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/load-unlocked/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/load-unlocked/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/load-unlocked/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/load-unlocked/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1877s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1877s Unable to clean up temporary directory /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/load-unlocked: No such file or directory 1877s ok 36 /utils/user-special-dirs/load-unlocked 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/reload-leaks/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/reload-leaks/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/reload-leaks/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/reload-leaks/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1877s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1877s Unable to clean up temporary directory /tmp/test_utils-c-89_UEHHK3/utils/user-special-dirs/reload-leaks: No such file or directory 1877s ok 37 /utils/user-special-dirs/reload-leaks 1877s # End of user-special-dirs tests 1877s # Start of clear-pointer tests 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/side-effects/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/side-effects/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/side-effects/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/side-effects/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/side-effects/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/side-effects/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/side-effects/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/clear-pointer/side-effects/.dirs/runtime 1877s ok 38 /utils/clear-pointer/side-effects 1877s # End of clear-pointer tests 1877s # Start of aligned-mem tests 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/alignment/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/alignment/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/alignment/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/alignment/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/alignment/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/alignment/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/alignment/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/alignment/.dirs/runtime 1877s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1877s ok 39 /utils/aligned-mem/alignment 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/zeroed/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/zeroed/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/zeroed/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/zeroed/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/zeroed/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/zeroed/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/zeroed/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/zeroed/.dirs/runtime 1877s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1877s ok 40 /utils/aligned-mem/zeroed 1877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/free-sized/.dirs/home 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/free-sized/.dirs/cache 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/free-sized/.dirs/system-config2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/free-sized/.dirs/config 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/free-sized/.dirs/system-data2 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/free-sized/.dirs/data 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/free-sized/.dirs/state 1877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_UEHHK3/utils/aligned-mem/free-sized/.dirs/runtime 1877s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1877s ok 41 /utils/aligned-mem/free-sized 1877s # Start of subprocess tests 1877s # End of subprocess tests 1877s # End of aligned-mem tests 1877s # End of utils tests 1877s ok - glib/utils-c-89.test 1877s # Running test: glib/string.test 1877s ok - glib/string.test 1877s # Running test: glib/messages-low-memory.py.test 1877s TAP version 14 1877s # random seed: R02S33ac8b2e1b41f21fa12c3358bdcc2bce 1877s 1..25 1877s # Start of string tests 1877s ok 1 /string/chunks 1877s ok 2 /string/chunk-insert 1877s ok 3 /string/new 1877s ok 4 /string/printf 1877s ok 5 /string/assign 1877s ok 6 /string/append-c 1877s ok 7 /string/append 1877s ok 8 /string/append-vprintf 1877s ok 9 /string/prepend-c 1877s ok 10 /string/prepend 1877s ok 11 /string/insert 1877s ok 12 /string/insert-unichar 1877s ok 13 /string/equal 1877s ok 14 /string/truncate 1877s ok 15 /string/overwrite 1877s ok 16 /string/nul-handling 1877s ok 17 /string/up-down 1877s ok 18 /string/set-size 1877s ok 19 /string/to-bytes 1877s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1877s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1877s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1877s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1877s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1877s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1877s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1877s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1877s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1877s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1877s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1877s # -> 4 replacements, "fd fr fals" 1877s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1877s # -> 3 replacements, "aaaaaaaaa" 1877s # 7: Replacing "a" with "" (limit 0) in "aaa" 1877s # -> 3 replacements, "" 1877s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1877s # -> 1 replacements, "bba" 1877s # 9: Replacing "" with "bar" (limit 0) in "foo" 1877s # -> 4 replacements, "barfbarobarobar" 1877s # 10: Replacing "" with "bar" (limit 1) in "foo" 1877s # -> 1 replacements, "barfoo" 1877s # 11: Replacing "" with "bar" (limit 2) in "foo" 1877s # -> 2 replacements, "barfbaroo" 1877s # 12: Replacing "" with "bar" (limit 3) in "foo" 1877s # -> 3 replacements, "barfbarobaro" 1877s # 13: Replacing "" with "bar" (limit 4) in "foo" 1877s # -> 4 replacements, "barfbarobarobar" 1877s # 14: Replacing "" with "bar" (limit 5) in "foo" 1877s # -> 4 replacements, "barfbarobarobar" 1877s # 15: Replacing "" with "x" (limit 0) in "" 1877s # -> 1 replacements, "x" 1877s # 16: Replacing "" with "" (limit 0) in "" 1877s # -> 1 replacements, "" 1877s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 1877s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 1877s ok 20 /string/replace 1877s ok 21 /string/steal 1877s ok 22 /string/new-take 1877s ok 23 /string/copy 1877s ok 24 /string/sized-new 1877s # Start of new-take tests 1877s ok 25 /string/new-take/null 1877s # End of new-take tests 1877s # End of string tests 1877s TAP version 13 1877s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1877s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1877s # tmpdir: /tmp/tmpd1u89c3q 1877s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 1877s # Return code: -6 1877s # Output: 1877s # 1877s # Error: 1877s # GLib-Message: 16:27:12.147: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1877s # GLib-Message: 16:27:12.147: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1877s # ../../../glib/gprintf.c:351: failed to allocate memory 1877s 1..1 1877s ok - glib/messages-low-memory.py.test 1877s # Running test: glib/task.test 1877s TAP version 14 1877s # random seed: R02S9c1893445b58e78e866dd1de5a687255 1877s 1..37 1877s # Start of gtask tests 1877s ok 1 /gtask/basic 1877s ok 2 /gtask/error 1877s ok 3 /gtask/error-literal 1877s ok 4 /gtask/error-literal-from-variable 1877s ok 5 /gtask/return-from-same-iteration 1877s ok 6 /gtask/return-from-toplevel 1877s ok 7 /gtask/return-from-anon-thread 1877s ok 8 /gtask/return-from-wrong-thread 1877s ok 9 /gtask/no-callback 1877s ok 10 /gtask/report-error 1877s ok 11 /gtask/priority 1877s ok 12 /gtask/name 1877s ok 13 /gtask/static-name 1877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1877s ok 14 /gtask/asynchronous-cancellation 1877s ok 15 /gtask/check-cancellable 1877s ok 16 /gtask/return-if-cancelled 1877s ok 17 /gtask/run-in-thread 1877s ok 18 /gtask/run-in-thread-sync 1877s ok 19 /gtask/run-in-thread-priority 1877s # Executing: glib/task.test 1877s ok 20 /gtask/run-in-thread-nested 1878s ok 21 /gtask/run-in-thread-overflow 1878s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1878s # GLib-GIO-DEBUG: GTask 0x63627d427560 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1878s # GLib-GIO-DEBUG: GTask 0x63627d3be250 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1878s ok 22 /gtask/return-on-cancel 1878s # GLib-GIO-DEBUG: GTask 0x63627d3bd390 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1878s # GLib-GIO-DEBUG: GTask 0x63627d3bd710 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1878s ok 23 /gtask/return-on-cancel-sync 1878s ok 24 /gtask/return-on-cancel-atomic 1878s ok 25 /gtask/return-pointer 1878s ok 26 /gtask/return-value 1878s ok 27 /gtask/return-prefixed-error 1878s ok 28 /gtask/object-keepalive 1878s ok 29 /gtask/legacy-error 1878s ok 30 /gtask/finalize-without-return 1878s ok 31 /gtask/thread-pool-stress # SKIP Skipping thread pool stress test in non-thorough mode 1878s # Start of name tests 1878s ok 32 /gtask/name/macro-wrapper 1878s # End of name tests 1878s # Start of return tests 1878s ok 33 /gtask/return/error-first 1878s ok 34 /gtask/return/value-first 1878s # Start of in-idle tests 1878s ok 35 /gtask/return/in-idle/error-first 1878s ok 36 /gtask/return/in-idle/value-first 1878s # End of in-idle tests 1878s # End of return tests 1878s # Start of attach-source tests 1878s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset 1878s ok 37 /gtask/attach-source/set-name 1878s # End of attach-source tests 1878s # End of gtask tests 1878s ok - glib/task.test 1878s # Running test: glib/repository-search-paths.test 1878s TAP version 14 1878s # random seed: R02S1703ef91aadbc6146431bb52af1707c1 1878s 1..4 1878s # Start of repository tests 1878s # Start of search-paths tests 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/default/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/default/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_54GIK3/repository/search-paths/default/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/default/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_54GIK3/repository/search-paths/default/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/default/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/default/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/default/.dirs/runtime 1878s ok 1 /repository/search-paths/default 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/prepend/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/prepend/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_54GIK3/repository/search-paths/prepend/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/prepend/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_54GIK3/repository/search-paths/prepend/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/prepend/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/prepend/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_54GIK3/repository/search-paths/prepend/.dirs/runtime 1878s ok 2 /repository/search-paths/prepend 1878s # End of search-paths tests 1878s # Start of library-paths tests 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/default/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/default/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_54GIK3/repository/library-paths/default/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/default/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_54GIK3/repository/library-paths/default/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/default/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/default/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/default/.dirs/runtime 1878s ok 3 /repository/library-paths/default 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/prepend/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/prepend/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_54GIK3/repository/library-paths/prepend/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/prepend/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_54GIK3/repository/library-paths/prepend/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/prepend/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/prepend/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_54GIK3/repository/library-paths/prepend/.dirs/runtime 1878s ok - glib/repository-search-paths.test 1878s # Running test: glib/socket-listener.test 1878s ok 4 /repository/library-paths/prepend 1878s # End of library-paths tests 1878s # End of repository tests 1878s TAP version 14 1878s # random seed: R02S3ef9a972aca591a0fd5088801cabddde 1878s 1..4 1878s # Start of socket-listener tests 1878s ok 1 /socket-listener/event-signal 1878s # Start of accept tests 1878s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works 1878s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739 1878s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1878s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63d08b30c510 and GSocketClientAsyncConnectData 0x63d08b3079b0 1878s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1878s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63d08b30eba0 and GSocketClientAsyncConnectData 0x63d08b30e9f0 1878s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1878s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63d08b30f3c0 and GSocketClientAsyncConnectData 0x63d08b30f140 1878s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1878s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63d08b30fc40 and GSocketClientAsyncConnectData 0x63d08b30f9c0 1878s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1878s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63d08b310460 and GSocketClientAsyncConnectData 0x63d08b3101e0 1878s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1878s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1878s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63d08b312960 for GSocketClientAsyncConnectData 0x63d08b3079b0 1878s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1878s ok - glib/socket-listener.test 1878s # Running test: glib/gdbus-introspection.test 1878s ok - glib/gdbus-introspection.test 1878s # Running test: glib/file-thumbnail.test 1878s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1878s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63d08b314ad0 for GSocketClientAsyncConnectData 0x63d08b30e9f0 1878s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1878s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1878s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63d08b315280 for GSocketClientAsyncConnectData 0x63d08b30f140 1878s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1878s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1878s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63d08b315920 for GSocketClientAsyncConnectData 0x63d08b30f9c0 1878s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1878s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1878s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63d08b315e40 for GSocketClientAsyncConnectData 0x63d08b3101e0 1878s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1878s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1878s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1878s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1878s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1878s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1878s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1878s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1878s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1878s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1878s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1878s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1878s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1878s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1878s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1878s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1878s ok 2 /socket-listener/accept/multi-simultaneously 1878s # End of accept tests 1878s # Start of add-any-inet-port tests 1878s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1878s # Test 0 1878s # Test 1 1878s # Test 2 1878s # Test 3 1878s # Test 4 1878s # Test 5 1878s # Test 6 1878s # Test 7 1878s # Test 8 1878s # Test 9 1878s # Test 10 1878s ok 3 /socket-listener/add-any-inet-port/listen-failures 1878s # End of add-any-inet-port tests 1878s # Start of add-inet-port tests 1878s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1878s # Test 0 1878s # Test 1 1878s # Test 2 1878s # Test 3 1878s # Test 4 1878s # Test 5 1878s # Test 6 1878s # Test 7 1878s # Test 8 1878s # Test 9 1878s # Test 10 1878s ok 4 /socket-listener/add-inet-port/listen-failures 1878s # End of add-inet-port tests 1878s # End of socket-listener tests 1878s TAP version 14 1878s # random seed: R02Sb91ea05c90b6d7a98fdf5e5945db5fb8 1878s 1..4 1878s # Start of gdbus tests 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-parser/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-parser/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-parser/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-parser/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-parser/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-parser/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-parser/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-parser/.dirs/runtime 1878s ok 1 /gdbus/introspection-parser 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-generate/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-generate/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-generate/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-generate/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-generate/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-generate/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-generate/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-generate/.dirs/runtime 1878s ok 2 /gdbus/introspection-generate 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-default-direction/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-default-direction/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-default-direction/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-default-direction/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-default-direction/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-default-direction/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-default-direction/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-default-direction/.dirs/runtime 1878s ok 3 /gdbus/introspection-default-direction 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-extra-data/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-extra-data/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-extra-data/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-extra-data/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-extra-data/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-extra-data/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-extra-data/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_9AAIK3/gdbus/introspection-extra-data/.dirs/runtime 1878s ok 4 /gdbus/introspection-extra-data 1878s # End of gdbus tests 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s TAP version 14 1878s # random seed: R02S52228ea3de02b061be7a797459ec1e41 1878s 1..7 1878s # Start of file-thumbnail tests 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/fail/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/fail/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_ERRIK3/file-thumbnail/fail/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/fail/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_ERRIK3/file-thumbnail/fail/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/fail/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/fail/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/fail/.dirs/runtime 1878s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1878s # Created test thumbnail at /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1878s ok 1 /file-thumbnail/fail 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/size-priority/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/size-priority/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_ERRIK3/file-thumbnail/size-priority/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/size-priority/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_ERRIK3/file-thumbnail/size-priority/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/size-priority/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/size-priority/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/size-priority/.dirs/runtime 1878s # Created test thumbnail at /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1878s # Created test thumbnail at /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1878s # Created test thumbnail at /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1878s # Created test thumbnail at /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1878s # Created test thumbnail at /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1878s ok 2 /file-thumbnail/size-priority 1878s # Start of valid tests 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/normal/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/normal/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/normal/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/normal/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/normal/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/normal/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/normal/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/normal/.dirs/runtime 1878s # Created test thumbnail at /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1878s ok 3 /file-thumbnail/valid/normal 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/large/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/large/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/large/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/large/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/large/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/large/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/large/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/large/.dirs/runtime 1878s # Created test thumbnail at /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1878s ok 4 /file-thumbnail/valid/large 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/x-large/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/x-large/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/x-large/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/x-large/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/x-large/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/x-large/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/x-large/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/x-large/.dirs/runtime 1878s # Created test thumbnail at /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1878s ok 5 /file-thumbnail/valid/x-large 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/xx-large/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/xx-large/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/xx-large/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/xx-large/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/xx-large/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/xx-large/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/xx-large/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/xx-large/.dirs/runtime 1878s # Created test thumbnail at /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1878s ok 6 /file-thumbnail/valid/xx-large 1878s # End of valid tests 1878s # Start of unknown tests 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/unknown/super-large/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/unknown/super-large/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_ERRIK3/file-thumbnail/unknown/super-large/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/unknown/super-large/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_ERRIK3/file-thumbnail/unknown/super-large/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/unknown/super-large/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/unknown/super-large/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/unknown/super-large/.dirs/runtime 1878s # Created test thumbnail at /tmp/test_file-thumbnail_ERRIK3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1878s ok 7 /file-thumbnail/unknown/super-large 1878s # End of unknown tests 1878s # End of file-thumbnail tests 1878s TAP version 14 1878s # random seed: R02S2446934093333a737bdf1ba26408fd06 1878s 1..1 1878s # Start of png-thumbs tests 1878s ok 1 /png-thumbs/validity 1878s # End of png-thumbs tests 1878s ok - glib/file-thumbnail.test 1878s # Running test: glib/thumbnail-verification.test 1878s ok - glib/thumbnail-verification.test 1878s # Running test: glib/memory-monitor-dbus.test 1878s TAP version 13 1878s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1878s 1..1 1878s ok - glib/memory-monitor-dbus.test 1878s # Running test: glib/macros-c-23.test 1878s TAP version 14 1878s # random seed: R02Sc36b06ace77ac57c2e7764c0e97e8c05 1878s 1..4 1878s # Start of C tests 1878s # G_C_STD_VERSION is 202311 1878s ok 1 /C/standard-23 1878s # End of C tests 1878s # Start of alignof tests 1878s ok 2 /alignof/fallback 1878s # End of alignof tests 1878s # Start of assert tests 1878s ok 3 /assert/static 1878s # End of assert tests 1878s # Start of struct tests 1878s ok 4 /struct/sizeof_member 1878s # End of struct tests 1878s ok - glib/macros-c-23.test 1878s # Running test: glib/custom-dispatch.test 1878s TAP version 14 1878s # random seed: R02Sce2890c253daa7da8c3a3563ff96f23d 1878s 1..2 1878s # Start of properties tests 1878s # Start of custom-dispatch tests 1878s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1878s ok 1 /properties/custom-dispatch/init 1878s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1878s ok 2 /properties/custom-dispatch/set 1878s # End of custom-dispatch tests 1878s # End of properties tests 1878s ok - glib/custom-dispatch.test 1878s # Running test: glib/portal-support-snap.test 1878s TAP version 14 1878s # random seed: R02Sb38b307ad95f7091364365eae741a7f1 1878s 1..7 1878s # Start of portal-support tests 1878s # Start of snap tests 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/no-snapctl/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/no-snapctl/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_TOKJK3/portal-support/snap/no-snapctl/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/no-snapctl/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_TOKJK3/portal-support/snap/no-snapctl/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/no-snapctl/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/no-snapctl/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/no-snapctl/.dirs/runtime 1878s # Created snap.yaml in /tmp/test_portal-support-snap_TOKJK3/meta/snap.yaml 1878s Unable to clean up temporary directory /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/no-snapctl: No such file or directory 1878s ok 1 /portal-support/snap/no-snapctl 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/none/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/none/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_TOKJK3/portal-support/snap/none/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/none/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_TOKJK3/portal-support/snap/none/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/none/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/none/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/none/.dirs/runtime 1878s # Created snap.yaml in /tmp/test_portal-support-snap_TOKJK3/meta/snap.yaml 1878s # Created snapctl in /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/none/.dirs/runtime/snapctl 1878s Unable to clean up temporary directory /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/none: No such file or directory 1878s ok 2 /portal-support/snap/none 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/all/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/all/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_TOKJK3/portal-support/snap/all/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/all/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_TOKJK3/portal-support/snap/all/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/all/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/all/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/all/.dirs/runtime 1878s # Created snap.yaml in /tmp/test_portal-support-snap_TOKJK3/meta/snap.yaml 1878s # Created snapctl in /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/all/.dirs/runtime/snapctl 1878s Unable to clean up temporary directory /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/all: No such file or directory 1878s ok 3 /portal-support/snap/all 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/desktop-only/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/desktop-only/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_TOKJK3/portal-support/snap/desktop-only/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/desktop-only/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_TOKJK3/portal-support/snap/desktop-only/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/desktop-only/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/desktop-only/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/desktop-only/.dirs/runtime 1878s # Created snap.yaml in /tmp/test_portal-support-snap_TOKJK3/meta/snap.yaml 1878s # Created snapctl in /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1878s Unable to clean up temporary directory /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/desktop-only: No such file or directory 1878s ok 4 /portal-support/snap/desktop-only 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/network-only/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/network-only/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_TOKJK3/portal-support/snap/network-only/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/network-only/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_TOKJK3/portal-support/snap/network-only/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/network-only/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/network-only/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/network-only/.dirs/runtime 1878s # Created snap.yaml in /tmp/test_portal-support-snap_TOKJK3/meta/snap.yaml 1878s # Created snapctl in /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/network-only/.dirs/runtime/snapctl 1878s Unable to clean up temporary directory /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/network-only: No such file or directory 1878s ok 5 /portal-support/snap/network-only 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/gsettings-only/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/gsettings-only/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_TOKJK3/portal-support/snap/gsettings-only/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/gsettings-only/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_TOKJK3/portal-support/snap/gsettings-only/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/gsettings-only/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/gsettings-only/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/gsettings-only/.dirs/runtime 1878s # Created snap.yaml in /tmp/test_portal-support-snap_TOKJK3/meta/snap.yaml 1878s # Created snapctl in /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1878s Unable to clean up temporary directory /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/gsettings-only: No such file or directory 1878s ok 6 /portal-support/snap/gsettings-only 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/runtime 1878s # Created snap.yaml in /tmp/test_portal-support-snap_TOKJK3/meta/snap.yaml 1878s # Created snapctl in /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1878s # Created snapctl in /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1878s # Created snapctl in /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1878s # Created snapctl in /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1878s # Created snapctl in /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1878s # Created snapctl in /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1878s # Created snapctl in /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1878s Unable to clean up temporary directory /tmp/test_portal-support-snap_TOKJK3/portal-support/snap/updates-dynamically: No such file or directory 1878s ok 7 /portal-support/snap/updates-dynamically 1878s # End of snap tests 1878s # End of portal-support tests 1878s Unable to clean up temporary directory /tmp/test_portal-support-snap_TOKJK3: No such file or directory 1878s ok - glib/portal-support-snap.test 1878s # Running test: glib/signal-handler.test 1878s TAP version 14 1878s # random seed: R02Scebf61c6f014558a8e4571ae3464284b 1878s 1..7 1878s # Start of signal tests 1878s # Start of handler tests 1878s # min perf: connected 1 handlers in 0.000 seconds 1878s ok 1 /signal/handler/connect-many 1878s # min perf: disconnected 1 handlers in 0.000 seconds 1878s ok 2 /signal/handler/disconnect-many-ordered 1878s # min perf: disconnected 1 handlers in 0.000 seconds 1878s ok 3 /signal/handler/disconnect-many-inverse 1878s # min perf: disconnected 1 handlers in 0.000 seconds 1878s ok 4 /signal/handler/disconnect-many-random 1878s # min perf: disconnected 1 handlers in 0.000 seconds 1878s ok 5 /signal/handler/disconnect-2-signals 1878s # min perf: disconnected 1 handlers in 0.000 seconds 1878s ok 6 /signal/handler/disconnect-2-objects 1878s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1878s ok 7 /signal/handler/block-many 1878s # End of handler tests 1878s # End of signal tests 1878s ok - glib/signal-handler.test 1878s # Running test: glib/gdbus-serialization.test 1878s TAP version 14 1878s # random seed: R02S2a6c868c72a6655a8f1b117880e063f8 1878s 1..18 1878s # Start of gdbus tests 1878s # Start of message-serialize tests 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/basic/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/basic/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/basic/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/basic/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/basic/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/basic/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/basic/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/basic/.dirs/runtime 1878s ok 1 /gdbus/message-serialize/basic 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/complex/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/complex/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/complex/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/complex/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/complex/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/complex/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/complex/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/complex/.dirs/runtime 1878s ok 2 /gdbus/message-serialize/complex 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/invalid/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/invalid/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/invalid/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/invalid/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/invalid/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/invalid/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/invalid/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/invalid/.dirs/runtime 1878s ok 3 /gdbus/message-serialize/invalid 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/.dirs/runtime 1878s ok 4 /gdbus/message-serialize/header-checks 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/double-array/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/double-array/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/double-array/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/double-array/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/double-array/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/double-array/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/double-array/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/double-array/.dirs/runtime 1878s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1878s ok 5 /gdbus/message-serialize/double-array 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/empty-structure/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/empty-structure/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/empty-structure/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/empty-structure/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/empty-structure/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/empty-structure/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/empty-structure/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/empty-structure/.dirs/runtime 1878s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1878s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1878s ok 6 /gdbus/message-serialize/empty-structure 1878s # Start of header-checks tests 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/valid/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/valid/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/valid/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/valid/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/valid/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1878s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1878s ok 7 /gdbus/message-serialize/header-checks/valid 1878s # End of header-checks tests 1878s # End of message-serialize tests 1878s # Start of message-parse tests 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1878s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1878s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/non-signature-header/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/non-signature-header/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/non-signature-header/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/non-signature-header/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/non-signature-header/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/non-signature-header/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/non-signature-header/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/non-signature-header/.dirs/runtime 1878s ok 9 /gdbus/message-parse/non-signature-header 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-signature-header/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-signature-header/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-signature-header/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-signature-header/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-signature-header/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-signature-header/.dirs/runtime 1878s ok 10 /gdbus/message-parse/empty-signature-header 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/multiple-signature-header/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/multiple-signature-header/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/multiple-signature-header/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/multiple-signature-header/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/multiple-signature-header/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1878s ok 11 /gdbus/message-parse/multiple-signature-header 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/over-long-signature-header/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/over-long-signature-header/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/over-long-signature-header/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/over-long-signature-header/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/over-long-signature-header/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1878s ok 12 /gdbus/message-parse/over-long-signature-header 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-header-nesting/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-header-nesting/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-header-nesting/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-header-nesting/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-header-nesting/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1878s ok 13 /gdbus/message-parse/deep-header-nesting 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-body-nesting/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-body-nesting/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-body-nesting/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-body-nesting/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-body-nesting/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1878s ok 14 /gdbus/message-parse/deep-body-nesting 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/truncated/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/truncated/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/truncated/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/truncated/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/truncated/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/truncated/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/truncated/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/truncated/.dirs/runtime 1878s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1878s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1878s ok 15 /gdbus/message-parse/truncated 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-structure/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-structure/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-structure/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-structure/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-structure/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-structure/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-structure/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/empty-structure/.dirs/runtime 1878s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1878s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1878s ok 16 /gdbus/message-parse/empty-structure 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/missing-header/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/missing-header/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/missing-header/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/missing-header/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/missing-header/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/missing-header/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/missing-header/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/missing-header/.dirs/runtime 1878s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1878s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1878s ok 17 /gdbus/message-parse/missing-header 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/invalid-header-type/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/invalid-header-type/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/invalid-header-type/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/invalid-header-type/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/invalid-header-type/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FCILK3/gdbus/message-parse/invalid-header-type/.dirs/runtime 1878s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1878s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1878s ok 18 /gdbus/message-parse/invalid-header-type 1878s # End of message-parse tests 1878s # End of gdbus tests 1878s ok - glib/gdbus-serialization.test 1878s # Running test: glib/markup-escape.test 1878s TAP version 14 1878s # random seed: R02Sb84516503b147738c1f7c98a8069f3fb 1878s 1..41 1878s # Start of markup tests 1878s ok 1 /markup/format 1878s # Start of escape-text tests 1878s ok 2 /markup/escape-text/0 1878s ok 3 /markup/escape-text/1 1878s ok 4 /markup/escape-text/2 1878s ok 5 /markup/escape-text/3 1878s ok 6 /markup/escape-text/4 1878s ok 7 /markup/escape-text/5 1878s ok 8 /markup/escape-text/6 1878s ok 9 /markup/escape-text/7 1878s ok 10 /markup/escape-text/8 1878s ok 11 /markup/escape-text/9 1878s ok 12 /markup/escape-text/10 1878s ok 13 /markup/escape-text/11 1878s ok 14 /markup/escape-text/12 1878s ok 15 /markup/escape-text/13 1878s ok 16 /markup/escape-text/14 1878s ok 17 /markup/escape-text/15 1878s ok 18 /markup/escape-text/16 1878s ok 19 /markup/escape-text/17 1878s ok 20 /markup/escape-text/18 1878s ok 21 /markup/escape-text/19 1878s ok 22 /markup/escape-text/20 1878s ok 23 /markup/escape-text/21 1878s ok 24 /markup/escape-text/22 1878s # End of escape-text tests 1878s # Start of escape-unichar tests 1878s ok 25 /markup/escape-unichar/0 1878s ok 26 /markup/escape-unichar/1 1878s ok 27 /markup/escape-unichar/2 1878s ok 28 /markup/escape-unichar/3 1878s ok 29 /markup/escape-unichar/4 1878s ok 30 /markup/escape-unichar/5 1878s ok 31 /markup/escape-unichar/6 1878s ok 32 /markup/escape-unichar/7 1878s ok 33 /markup/escape-unichar/8 1878s ok 34 /markup/escape-unichar/9 1878s ok 35 /markup/escape-unichar/10 1878s ok 36 /markup/escape-unichar/11 1878s ok 37 /markup/escape-unichar/12 1878s ok 38 /markup/escape-unichar/13 1878s ok 39 /markup/escape-unichar/14 1878s ok 40 /markup/escape-unichar/15 1878s ok 41 /markup/escape-unichar/16 1878s # End of escape-unichar tests 1878s # End of markup tests 1878s ok - glib/markup-escape.test 1878s # Running test: glib/filenamecompleter.test 1878s TAP version 14 1878s # random seed: R02Sda591a2404c50b3568aff8a5cf15e2cf 1878s 1..1 1878s # Start of filenamecompleter tests 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_N6MKK3/filenamecompleter/basic/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_N6MKK3/filenamecompleter/basic/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_N6MKK3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_N6MKK3/filenamecompleter/basic/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_N6MKK3/filenamecompleter/basic/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_N6MKK3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_N6MKK3/filenamecompleter/basic/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_N6MKK3/filenamecompleter/basic/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_N6MKK3/filenamecompleter/basic/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_N6MKK3/filenamecompleter/basic/.dirs/runtime 1878s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1878s ok - glib/filenamecompleter.test 1878s ok 1 /filenamecompleter/basic 1878s # End of filenamecompleter tests 1878s # Running test: glib/gthash.test 1878s TAP version 14 1878s # random seed: R02S54ca22bfe77ef826529836d2e7fc1f14 1878s 1..1 1878s # Start of gthash tests 1878s ok 1 /gthash/build-retrieve 1878s # End of gthash tests 1878s ok - glib/gthash.test 1878s # Running test: glib/gdbus-connection.test 1878s TAP version 14 1878s # random seed: R02Sb4101721219716ee9463294c33b081c0 1878s 1..9 1878s # Start of gdbus tests 1878s # Start of connection tests 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/bus-failure/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/bus-failure/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/bus-failure/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/bus-failure/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/bus-failure/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/bus-failure/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/bus-failure/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/bus-failure/.dirs/runtime 1878s ok 1 /gdbus/connection/bus-failure 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/basic/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/basic/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/basic/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/basic/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/basic/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/basic/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/basic/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/basic/.dirs/runtime 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s ok 2 /gdbus/connection/basic 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/life-cycle/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/life-cycle/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/life-cycle/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/life-cycle/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/life-cycle/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/life-cycle/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/life-cycle/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/life-cycle/.dirs/runtime 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s ok 3 /gdbus/connection/life-cycle 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/send/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/send/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/send/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/send/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/send/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/send/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/send/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/send/.dirs/runtime 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s ok 4 /gdbus/connection/send 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signals/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signals/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signals/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signals/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signals/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signals/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signals/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signals/.dirs/runtime 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s ok 5 /gdbus/connection/signals 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signal-match-rules/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signal-match-rules/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signal-match-rules/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signal-match-rules/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signal-match-rules/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signal-match-rules/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signal-match-rules/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/signal-match-rules/.dirs/runtime 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s ok 6 /gdbus/connection/signal-match-rules 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/filter/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/filter/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/filter/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/filter/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/filter/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/filter/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/filter/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/filter/.dirs/runtime 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s ok 7 /gdbus/connection/filter 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/serials/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/serials/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/serials/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/serials/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/serials/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/serials/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/serials/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/serials/.dirs/runtime 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s ok 8 /gdbus/connection/serials 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/cancel/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/cancel/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/cancel/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/cancel/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_M8HKK3/gdbus/connection/cancel/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/cancel/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/cancel/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M8HKK3/gdbus/connection/cancel/.dirs/runtime 1878s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s ok 9 /gdbus/connection/cancel 1878s # End of connection tests 1878s # End of gdbus tests 1878s ok - glib/gdbus-connection.test 1878s # Running test: glib/gdbus-connection-slow.test 1878s TAP version 14 1878s # random seed: R02Sa0bc9decb87de822600d2f006eb1c063 1878s 1..2 1878s # Start of gdbus tests 1878s # Start of connection tests 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/flush/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/flush/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/flush/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/flush/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/flush/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/flush/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/flush/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/flush/.dirs/runtime 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s ok 1 /gdbus/connection/flush 1878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/large_message/.dirs/home 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/large_message/.dirs/cache 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/large_message/.dirs/system-config2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/large_message/.dirs/config 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/large_message/.dirs/system-data2 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/large_message/.dirs/data 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/large_message/.dirs/state 1878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_OQIMK3/gdbus/connection/large_message/.dirs/runtime 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1878s ok 2 /gdbus/connection/large_message 1878s # End of connection tests 1878s # End of gdbus tests 1878s ok - glib/gdbus-connection-slow.test 1878s # Running test: glib/gutils-user-database.test 1878s ok - glib/gutils-user-database.test 1878s # Running test: glib/thread-pool.test 1878s TAP version 14 1878s # random seed: R02S20b80b6ea22d68e0a206e5ec0ccdc2a8 1878s 1..1 1878s # Start of gutils tests 1878s ok 1 /gutils/get_user_database_entry 1878s # End of gutils tests 1878s TAP version 14 1878s # random seed: R02S028a275a108447ddf4ff1017af4b5093 1878s 1..6 1878s # Start of thread_pool tests 1878s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712 1878s ok 1 /thread_pool/pool_fail 1878s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1878s ok 2 /thread_pool/shared 1878s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1878s ok 3 /thread_pool/exclusive 1878s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1878s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1878s ok 4 /thread_pool/create_shared_after_exclusive 1878s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1878s ok 5 /thread_pool/create_full 1878s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1878s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1878s ok 6 /thread_pool/create_exclusive_after_shared 1878s # End of thread_pool tests 1878s ok - glib/thread-pool.test 1878s # Running test: glib/node.test 1878s ok - glib/node.test 1878s # Running test: glib/slice.test 1878s TAP version 14 1878s # random seed: R02Sf02143664935d820256f9261bbd5856e 1878s 1..6 1878s # Start of node tests 1878s ok 1 /node/allocation 1878s ok 2 /node/construction 1878s ok 3 /node/traversal 1878s ok 4 /node/misc 1878s ok 5 /node/unlink 1878s ok 6 /node/copy 1878s # End of node tests 1878s TAP version 14 1878s # random seed: R02Sc854c72cf558765ed5ed7e199b925cfc 1878s 1..3 1878s # Start of slice tests 1878s ok 1 /slice/copy 1878s ok 2 /slice/chain 1878s ok 3 /slice/allocate 1878s # End of slice tests 1878s ok - glib/slice.test 1878s # Running test: glib/resources.test 1878s TAP version 14 1878s # random seed: R02S60dcd34b2a5b06264fd4f70617a525d7 1878s 1..19 1878s # Start of resource tests 1878s ok 1 /resource/file 1878s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1878s ok 2 /resource/file-path 1878s ok 3 /resource/data 1878s ok 4 /resource/data_unaligned 1878s ok 5 /resource/data-corrupt 1878s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 1878s ok 6 /resource/data-corrupt-compression 1878s ok 7 /resource/data-empty 1878s ok 8 /resource/registered 1878s ok 9 /resource/manual 1878s ok 10 /resource/manual2 1878s ok 11 /resource/automatic 1878s ok 12 /resource/module 1878s ok 13 /resource/binary-linked 1878s ok 14 /resource/64k 1878s GLib-GIO-Message: 16:27:13.883: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1878s GLib-GIO-Message: 16:27:13.883: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1878s GLib-GIO-Message: 16:27:13.883: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1878s ok 15 /resource/overlay 1878s ok 16 /resource/digits 1878s ok 17 /resource/has-children 1878s # Start of uri tests 1878s ok 18 /resource/uri/query-info 1878s ok 19 /resource/uri/file 1878s # End of uri tests 1878s # End of resource tests 1878s ok - glib/resources.test 1878s # Running test: glib/genmarshal.py.test 1879s TAP version 13 1879s ok 1 __main__.TestGenmarshal.test_empty_list 1879s # glib-genmarshal: /usr/bin/glib-genmarshal 1879s # tmpdir: /tmp/tmpl8vu3qhr 1879s # /tmp/tmpl8vu3qhr/tmpktgs2ke9.list: 1879s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpl8vu3qhr/tmpktgs2ke9.list', '--header', '--quiet'] 1879s # Return code: 0 1879s # Output: 1879s # /* 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. */ 1879s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1879s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1879s # 1879s # #include 1879s # 1879s # G_BEGIN_DECLS 1879s # 1879s # 1879s # G_END_DECLS 1879s # 1879s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1879s # Error: 1879s # 1879s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpl8vu3qhr/tmpktgs2ke9.list', '--body', '--quiet'] 1879s # Return code: 0 1879s # Output: 1879s # /* 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. */ 1879s # #include 1879s # 1879s # #ifdef G_ENABLE_DEBUG 1879s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1879s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1879s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1879s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1879s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1879s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1879s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1879s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1879s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1879s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1879s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1879s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1879s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1879s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1879s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1879s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1879s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1879s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1879s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1879s # #else /* !G_ENABLE_DEBUG */ 1879s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1879s # * Do not access GValues directly in your code. Instead, use the 1879s # * g_value_get_*() functions 1879s # */ 1879s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1879s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1879s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1879s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1879s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1879s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1879s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1879s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1879s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1879s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1879s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1879s # #endif /* !G_ENABLE_DEBUG */ 1879s # Error: 1879s ok 2 __main__.TestGenmarshal.test_help 1879s # glib-genmarshal: /usr/bin/glib-genmarshal 1879s # tmpdir: /tmp/tmpb7rsn1ye 1879s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1879s # Return code: 0 1879s # Output: 1879s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1879s # [--internal] [--valist-marshallers] [-v] 1879s # [--g-fatal-warnings] [--include-header [HEADER]] 1879s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1879s # [--prototypes] [--header] [--body] [--stdinc | 1879s # --nostdinc] [--quiet | --verbose] 1879s # [FILE ...] 1879s # 1879s # Generate signal marshallers for GObject 1879s # 1879s # positional arguments: 1879s # FILE Files with lists of marshallers to generate, or "-" 1879s # for standard input 1879s # 1879s # options: 1879s # -h, --help show this help message and exit 1879s # --prefix STRING Specify marshaller prefix 1879s # --output FILE Write output into the specified file 1879s # --skip-source Skip source location comments 1879s # --internal Mark generated functions as internal 1879s # --valist-marshallers Generate va_list marshallers 1879s # -v, --version Print version information, and exit 1879s # --g-fatal-warnings Make warnings fatal 1879s # --include-header [HEADER] 1879s # Include the specified header in the body 1879s # --pragma-once Use "pragma once" as the inclusion guard 1879s # -D CPP_DEFINES Pre-processor define 1879s # -U CPP_UNDEFINES Pre-processor undefine 1879s # --prototypes Generate the marshallers prototype in the C code 1879s # --header Generate C headers 1879s # --body Generate C code 1879s # --stdinc Include standard marshallers 1879s # --nostdinc Use standard marshallers 1879s # --quiet Only print warnings and errors 1879s # --verbose Be verbose, and include debugging information 1879s # Error: 1879s ok 3 __main__.TestGenmarshal.test_no_args 1879s # glib-genmarshal: /usr/bin/glib-genmarshal 1879s # tmpdir: /tmp/tmpnaop6724 1879s # Running: ['/usr/bin/glib-genmarshal'] 1879s # Return code: 0 1879s # Output: 1879s # 1879s # Error: 1879s ok 4 __main__.TestGenmarshal.test_void_boolean 1879s # glib-genmarshal: /usr/bin/glib-genmarshal 1879s # tmpdir: /tmp/tmpipz7yt0u 1879s # /tmp/tmpipz7yt0u/tmpnm75oqws.list: VOID:BOOLEAN 1879s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpipz7yt0u/tmpnm75oqws.list', '--header', '--quiet'] 1879s # Return code: 0 1879s # Output: 1879s # /* 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. */ 1879s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1879s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1879s # 1879s # #include 1879s # 1879s # G_BEGIN_DECLS 1879s # 1879s # /* VOID:BOOLEAN (/tmp/tmpipz7yt0u/tmpnm75oqws.list:1) */ 1879s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1879s # 1879s # 1879s # G_END_DECLS 1879s # 1879s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1879s # Error: 1879s # 1879s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpipz7yt0u/tmpnm75oqws.list', '--body', '--quiet'] 1879s # Return code: 0 1879s # Output: 1879s # /* 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. */ 1879s # #include 1879s # 1879s # #ifdef G_ENABLE_DEBUG 1879s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1879s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1879s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1879s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1879s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1879s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1879s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1879s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1879s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1879s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1879s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1879s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1879s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1879s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1879s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1879s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1879s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1879s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1879s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1879s # #else /* !G_ENABLE_DEBUG */ 1879s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1879s # * Do not access GValues directly in your code. Instead, use the 1879s # * g_value_get_*() functions 1879s # */ 1879s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1879s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1879s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1879s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1879s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1879s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1879s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1879s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1879s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1879s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1879s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1879s # #endif /* !G_ENABLE_DEBUG */ 1879s # Error: 1879s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1879s # glib-genmarshal: /usr/bin/glib-genmarshal 1879s # tmpdir: /tmp/tmpkhv5jwy9 1879s # /tmp/tmpkhv5jwy9/tmpxlemqyx8.list: VOID:BOOLEAN,INT64 1879s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpkhv5jwy9/tmpxlemqyx8.list', '--header', '--quiet'] 1879s # Return code: 0 1879s # Output: 1879s # /* 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. */ 1879s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1879s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1879s # 1879s # #include 1879s # 1879s # G_BEGIN_DECLS 1879s # 1879s # /* VOID:BOOLEAN,INT64 (/tmp/tmpkhv5jwy9/tmpxlemqyx8.list:1) */ 1879s # extern 1879s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1879s # GValue *return_value, 1879s # guint n_param_values, 1879s # const GValue *param_values, 1879s # gpointer invocation_hint, 1879s # gpointer marshal_data); 1879s # 1879s # 1879s # G_END_DECLS 1879s # 1879s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1879s # Error: 1879s # 1879s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpkhv5jwy9/tmpxlemqyx8.list', '--body', '--quiet'] 1879s # Return code: 0 1879s # Output: 1879s # /* 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. */ 1879s # #include 1879s # 1879s # #ifdef G_ENABLE_DEBUG 1879s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1879s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1879s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1879s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1879s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1879s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1879s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1879s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1879s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1879s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1879s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1879s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1879s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1879s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1879s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1879s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1879s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1879s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1879s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1879s # #else /* !G_ENABLE_DEBUG */ 1879s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1879s # * Do not access GValues directly in your code. Instead, use the 1879s # * g_value_get_*() functions 1879s # */ 1879s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1879s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1879s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1879s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1879s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1879s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1879s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1879s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1879s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1879s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1879s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1879s # #endif /* !G_ENABLE_DEBUG */ 1879s # 1879s # /* VOID:BOOLEAN,INT64 (/tmp/tmpkhv5jwy9/tmpxlemqyx8.list:1) */ 1879s # void 1879s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1879s # GValue *return_value G_GNUC_UNUSED, 1879s # guint n_param_values, 1879s # const GValue *param_values, 1879s # gpointer invocation_hint G_GNUC_UNUSED, 1879s # gpointer marshal_data) 1879s # { 1879s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1879s # gboolean arg1, 1879s # gint64 arg2, 1879s # gpointer data2); 1879s # GCClosure *cc = (GCClosure *) closure; 1879s # gpointer data1, data2; 1879s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1879s # 1879s # g_return_if_fail (n_param_values == 3); 1879s # 1879s # if (G_CCLOSURE_SWAP_DATA (closure)) 1879s # { 1879s # data1 = closure->data; 1879s # data2 = g_value_peek_pointer (param_values + 0); 1879s # } 1879s # else 1879s # { 1879s # data1 = g_value_peek_pointer (param_values + 0); 1879s # data2 = closure->data; 1879s # } 1879s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1879s # 1879s # callback (data1, 1879s # g_marshal_value_peek_boolean (param_values + 1), 1879s # g_marshal_value_peek_int64 (param_values + 2), 1879s # data2); 1879s # } 1879s # Error: 1879s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1879s # glib-genmarshal: /usr/bin/glib-genmarshal 1879s # tmpdir: /tmp/tmprcu5pv6q 1879s # /tmp/tmprcu5pv6q/tmps50zxwqe.list: VOID:PARAM 1879s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmprcu5pv6q/tmps50zxwqe.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1879s # Return code: 0 1879s # Output: 1879s # /* 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. */ 1879s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1879s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1879s # 1879s # G_BEGIN_DECLS 1879s # 1879s # /* VOID:PARAM (/tmp/tmprcu5pv6q/tmps50zxwqe.list:1) */ 1879s # extern 1879s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1879s # GValue *return_value, 1879s # guint n_param_values, 1879s # const GValue *param_values, 1879s # gpointer invocation_hint, 1879s # gpointer marshal_data); 1879s # extern 1879s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1879s # GValue *return_value, 1879s # gpointer instance, 1879s # va_list args, 1879s # gpointer marshal_data, 1879s # int n_params, 1879s # GType *param_types); 1879s # 1879s # 1879s # G_END_DECLS 1879s # 1879s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1879s # Error: 1879s # 1879s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmprcu5pv6q/tmps50zxwqe.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1879s # Return code: 0 1879s # Output: 1879s # /* 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. */ 1879s # #ifdef G_ENABLE_DEBUG 1879s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1879s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1879s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1879s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1879s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1879s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1879s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1879s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1879s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1879s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1879s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1879s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1879s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1879s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1879s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1879s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1879s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1879s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1879s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1879s # #else /* !G_ENABLE_DEBUG */ 1879s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1879s # * Do not access GValues directly in your code. Instead, use the 1879s # * g_value_get_*() functions 1879s # */ 1879s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1879s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1879s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1879s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1879s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1879s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1879s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1879s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1879s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1879s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1879s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1879s # #endif /* !G_ENABLE_DEBUG */ 1879s # 1879s # /* VOID:PARAM (/tmp/tmprcu5pv6q/tmps50zxwqe.list:1) */ 1879s # void 1879s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1879s # GValue *return_value G_GNUC_UNUSED, 1879s # guint n_param_values, 1879s # const GValue *param_values, 1879s # gpointer invocation_hint G_GNUC_UNUSED, 1879s # gpointer marshal_data) 1879s # { 1879s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1879s # gpointer arg1, 1879s # gpointer data2); 1879s # GCClosure *cc = (GCClosure *) closure; 1879s # gpointer data1, data2; 1879s # GMarshalFunc_VOID__PARAM callback; 1879s # 1879s # g_return_if_fail (n_param_values == 2); 1879s # 1879s # if (G_CCLOSURE_SWAP_DATA (closure)) 1879s # { 1879s # data1 = closure->data; 1879s # data2 = g_value_peek_pointer (param_values + 0); 1879s # } 1879s # else 1879s # { 1879s # data1 = g_value_peek_pointer (param_values + 0); 1879s # data2 = closure->data; 1879s # } 1879s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1879s # 1879s # callback (data1, 1879s # g_marshal_value_peek_param (param_values + 1), 1879s # data2); 1879s # } 1879s # 1879s # void 1879s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1879s # GValue *return_value G_GNUC_UNUSED, 1879s # gpointer instance, 1879s # va_list args, 1879s # gpointer marshal_data, 1879s # int n_params, 1879s # GType *param_types) 1879s # { 1879s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1879s # gpointer arg1, 1879s # gpointer data2); 1879s # GCClosure *cc = (GCClosure *) closure; 1879s # gpointer data1, data2; 1879s # GMarshalFunc_VOID__PARAM callback; 1879s # gpointer arg0; 1879s # va_list args_copy; 1879s # 1879s # va_copy (args_copy, args); 1879s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1879s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1879s # arg0 = g_param_spec_ref (arg0); 1879s # va_end (args_copy); 1879s # 1879s # 1879s # if (G_CCLOSURE_SWAP_DATA (closure)) 1879s # { 1879s # data1 = closure->data; 1879s # data2 = instance; 1879s # } 1879s # else 1879s # { 1879s # data1 = instance; 1879s # data2 = closure->data; 1879s # } 1879s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1879s # 1879s # callback (data1, 1879s # arg0, 1879s # data2); 1879s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1879s # g_param_spec_unref (arg0); 1879s # } 1879s # Error: 1879s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1879s # glib-genmarshal: /usr/bin/glib-genmarshal 1879s # tmpdir: /tmp/tmph9kpokq4 1879s # /tmp/tmph9kpokq4/tmpyivhtgme.list: VOID:STRING 1879s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmph9kpokq4/tmpyivhtgme.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1879s # Return code: 0 1879s # Output: 1879s # /* 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. */ 1879s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1879s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1879s # 1879s # G_BEGIN_DECLS 1879s # 1879s # /* VOID:STRING (/tmp/tmph9kpokq4/tmpyivhtgme.list:1) */ 1879s # extern 1879s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1879s # GValue *return_value, 1879s # guint n_param_values, 1879s # const GValue *param_values, 1879s # gpointer invocation_hint, 1879s # gpointer marshal_data); 1879s # extern 1879s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1879s # GValue *return_value, 1879s # gpointer instance, 1879s # va_list args, 1879s # gpointer marshal_data, 1879s # int n_params, 1879s # GType *param_types); 1879s # 1879s # 1879s # G_END_DECLS 1879s # 1879s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1879s # Error: 1879s # 1879s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmph9kpokq4/tmpyivhtgme.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1879s # Return code: 0 1879s # Output: 1879s # /* 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. */ 1879s # #ifdef G_ENABLE_DEBUG 1879s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1879s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1879s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1879s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1879s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1879s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1879s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1879s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1879s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1879s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1879s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1879s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1879s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1879s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1879s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1879s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1879s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1879s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1879s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1879s # #else /* !G_ENABLE_DEBUG */ 1879s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1879s # * Do not access GValues directly in your code. Instead, use the 1879s # * g_value_get_*() functions 1879s # */ 1879s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1879s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1879s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1879s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1879s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1879s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1879s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1879s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1879s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1879s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1879s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1879s # #endif /* !G_ENABLE_DEBUG */ 1879s # 1879s # /* VOID:STRING (/tmp/tmph9kpokq4/tmpyivhtgme.list:1) */ 1879s # void 1879s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1879s # GValue *return_value G_GNUC_UNUSED, 1879s # guint n_param_values, 1879s # const GValue *param_values, 1879s # gpointer invocation_hint G_GNUC_UNUSED, 1879s # gpointer marshal_data) 1879s # { 1879s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1879s # gpointer arg1, 1879s # gpointer data2); 1879s # GCClosure *cc = (GCClosure *) closure; 1879s # gpointer data1, data2; 1879s # GMarshalFunc_VOID__STRING callback; 1879s # 1879s # g_return_if_fail (n_param_values == 2); 1879s # 1879s # if (G_CCLOSURE_SWAP_DATA (closure)) 1879s # { 1879s # data1 = closure->data; 1879s # data2 = g_value_peek_pointer (param_values + 0); 1879s # } 1879s # else 1879s # { 1879s # data1 = g_value_peek_pointer (param_values + 0); 1879s # data2 = closure->data; 1879s # } 1879s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1879s # 1879s # callback (data1, 1879s # g_marshal_value_peek_string (param_values + 1), 1879s # data2); 1879s # } 1879s # 1879s # void 1879s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1879s # GValue *return_value G_GNUC_UNUSED, 1879s # gpointer instance, 1879s # va_list args, 1879s # gpointer marshal_data, 1879s # int n_params, 1879s # GType *param_types) 1879s # { 1879s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1879s # gpointer arg1, 1879s # gpointer data2); 1879s # GCClosure *cc = (GCClosure *) closure; 1879s # gpointer data1, data2; 1879s # GMarshalFunc_VOID__STRING callback; 1879s # gpointer arg0; 1879s # va_list args_copy; 1879s # 1879s # va_copy (args_copy, args); 1879s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1879s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1879s # arg0 = g_strdup (arg0); 1879s # va_end (args_copy); 1879s # 1879s # 1879s # if (G_CCLOSURE_SWAP_DATA (closure)) 1879s # { 1879s # data1 = closure->data; 1879s # data2 = instance; 1879s # } 1879s # else 1879s # { 1879s # data1 = instance; 1879s # data2 = closure->data; 1879s # } 1879s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1879s # 1879s # callback (data1, 1879s # arg0, 1879s # data2); 1879s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1879s # g_free (arg0); 1879s # } 1879s # Error: 1879s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1879s # glib-genmarshal: /usr/bin/glib-genmarshal 1879s # tmpdir: /tmp/tmpvu4b6rgc 1879s # /tmp/tmpvu4b6rgc/tmpqnmdpinj.list: VOID:VARIANT 1879s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpvu4b6rgc/tmpqnmdpinj.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1879s # Return code: 0 1879s # Output: 1879s # /* 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. */ 1879s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1879s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1879s # 1879s # G_BEGIN_DECLS 1879s # 1879s # /* VOID:VARIANT (/tmp/tmpvu4b6rgc/tmpqnmdpinj.list:1) */ 1879s # extern 1879s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1879s # GValue *return_value, 1879s # guint n_param_values, 1879s # const GValue *param_values, 1879s # gpointer invocation_hint, 1879s # gpointer marshal_data); 1879s # extern 1879s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1879s # GValue *return_value, 1879s # gpointer instance, 1879s # va_list args, 1879s # gpointer marshal_data, 1879s # int n_params, 1879s # GType *param_types); 1879s # 1879s # 1879s # G_END_DECLS 1879s # 1879s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1879s # Error: 1879s # 1879s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpvu4b6rgc/tmpqnmdpinj.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1879s # Return code: 0 1879s # Output: 1879s # /* 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. */ 1879s # #ifdef G_ENABLE_DEBUG 1879s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1879s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1879s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1879s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1879s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1879s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1879s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1879s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1879s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1879s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1879s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1879s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1879s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1879s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1879s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1879s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1879s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1879s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1879s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1879s # #else /* !G_ENABLE_DEBUG */ 1879s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1879s # * Do not access GValues directly in your code. Instead, use the 1879s # * g_value_get_*() functions 1879s # */ 1879s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1879s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1879s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1879s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1879s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1879s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1879s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1879s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1879s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1879s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1879s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1879s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1879s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1879s # #endif /* !G_ENABLE_DEBUG */ 1879s # 1879s # /* VOID:VARIANT (/tmp/tmpvu4b6rgc/tmpqnmdpinj.list:1) */ 1879s # void 1879s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1879s # GValue *return_value G_GNUC_UNUSED, 1879s # guint n_param_values, 1879s # const GValue *param_values, 1879s # gpointer invocation_hint G_GNUC_UNUSED, 1879s # gpointer marshal_data) 1879s # { 1879s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1879s # gpointer arg1, 1879s # gpointer data2); 1879s # GCClosure *cc = (GCClosure *) closure; 1879s # gpointer data1, data2; 1879s # GMarshalFunc_VOID__VARIANT callback; 1879s # 1879s # g_return_if_fail (n_param_values == 2); 1879s # 1879s # if (G_CCLOSURE_SWAP_DATA (closure)) 1879s # { 1879s # data1 = closure->data; 1879s # data2 = g_value_peek_pointer (param_values + 0); 1879s # } 1879s # else 1879s # { 1879s # data1 = g_value_peek_pointer (param_values + 0); 1879s # data2 = closure->data; 1879s # } 1879s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1879s # 1879s # callback (data1, 1879s # g_marshal_value_peek_variant (param_values + 1), 1879s # data2); 1879s # } 1879s # 1879s # void 1879s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1879s # GValue *return_value G_GNUC_UNUSED, 1879s # gpointer instance, 1879s # va_list args, 1879s # gpointer marshal_data, 1879s # int n_params, 1879s # GType *param_types) 1879s # { 1879s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1879s # gpointer arg1, 1879s # gpointer data2); 1879s # GCClosure *cc = (GCClosure *) closure; 1879s # gpointer data1, data2; 1879s # GMarshalFunc_VOID__VARIANT callback; 1879s # gpointer arg0; 1879s # va_list args_copy; 1879s # 1879s # va_copy (args_copy, args); 1879s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1879s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1879s # arg0 = g_variant_ref_sink (arg0); 1879s # va_end (args_copy); 1879s # 1879s # 1879s # if (G_CCLOSURE_SWAP_DATA (closure)) 1879s # { 1879s # data1 = closure->data; 1879s # data2 = instance; 1879s # } 1879s # else 1879s # { 1879s # data1 = instance; 1879s # data2 = closure->data; 1879s # } 1879s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1879s # 1879s # callback (data1, 1879s # arg0, 1879s # data2); 1879s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1879s # g_variant_unref (arg0); 1879s # } 1879s # Error: 1879s 1..8 1879s ok - glib/genmarshal.py.test 1879s # Running test: glib/fdo-notification-backend.test 1879s TAP version 14 1879s # random seed: R02S82fdd6a3137d98268c5f062277dafc6b 1879s 1..2 1879s # Start of fdo-notification-backend tests 1879s # Test constructing a GFdoNotificationBackend 1879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1879s ok 1 /fdo-notification-backend/construction 1879s # Start of dbus tests 1879s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1879s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1879s ok 2 /fdo-notification-backend/dbus/activate-action 1879s # End of dbus tests 1879s # End of fdo-notification-backend tests 1879s ok - glib/fdo-notification-backend.test 1879s # Running test: glib/search-utils.test 1879s TAP version 14 1879s # random seed: R02Sa235d9b20a3a5378eebef7ef7aeb1b97 1879s # GLib-DEBUG: Current user locale: C.UTF-8 1879s 1..6 1879s # Start of search tests 1879s # GLib-DEBUG: Started 1879s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1879s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1879s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1879s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1879s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1879s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1879s ok 1 /search/basic 1879s # GLib-DEBUG: Started 1879s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1879s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1879s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1879s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1879s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1879s ok 2 /search/composed 1879s # GLib-DEBUG: Started 1879s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1879s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1879s ok 3 /search/decomposed 1879s # GLib-DEBUG: Started 1879s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1879s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1879s ok 4 /search/turkish 1879s # GLib-DEBUG: Started 1879s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1879s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1879s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1879s ok 5 /search/c_locale_unicode 1879s # GLib-DEBUG: Started 1879s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1879s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1879s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1879s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1879s ok 6 /search/multi_words 1879s # End of search tests 1879s ok - glib/search-utils.test 1879s # Running test: glib/gdbus-export.test 1879s TAP version 14 1879s # random seed: R02S3b23be117ca56c4976fee2615bbe14f8 1879s 1..7 1879s # Start of gdbus tests 1879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration/.dirs/home 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration/.dirs/cache 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_IQXIK3/gdbus/object-registration/.dirs/system-config2 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration/.dirs/config 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_IQXIK3/gdbus/object-registration/.dirs/system-data2 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration/.dirs/data 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration/.dirs/state 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration/.dirs/runtime 1879s ok 1 /gdbus/object-registration 1879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures/.dirs/home 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures/.dirs/cache 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures/.dirs/system-config2 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures/.dirs/config 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures/.dirs/system-data2 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures/.dirs/data 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures/.dirs/state 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures/.dirs/runtime 1879s ok 2 /gdbus/object-registration-with-closures 1879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures2/.dirs/home 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures2/.dirs/cache 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures2/.dirs/system-config2 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures2/.dirs/config 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures2/.dirs/system-data2 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures2/.dirs/data 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures2/.dirs/state 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IQXIK3/gdbus/object-registration-with-closures2/.dirs/runtime 1879s ok 3 /gdbus/object-registration-with-closures2 1879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/registered-interfaces/.dirs/home 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/registered-interfaces/.dirs/cache 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IQXIK3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_IQXIK3/gdbus/registered-interfaces/.dirs/system-config2 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/registered-interfaces/.dirs/config 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IQXIK3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_IQXIK3/gdbus/registered-interfaces/.dirs/system-data2 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/registered-interfaces/.dirs/data 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/registered-interfaces/.dirs/state 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IQXIK3/gdbus/registered-interfaces/.dirs/runtime 1879s ok 4 /gdbus/registered-interfaces 1879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/async-properties/.dirs/home 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/async-properties/.dirs/cache 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IQXIK3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_IQXIK3/gdbus/async-properties/.dirs/system-config2 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/async-properties/.dirs/config 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IQXIK3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_IQXIK3/gdbus/async-properties/.dirs/system-data2 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/async-properties/.dirs/data 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/async-properties/.dirs/state 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IQXIK3/gdbus/async-properties/.dirs/runtime 1879s ok 5 /gdbus/async-properties 1879s # Start of threaded-unregistration tests 1879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/object/.dirs/home 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/object/.dirs/cache 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/object/.dirs/system-config2 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/object/.dirs/config 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/object/.dirs/system-data2 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/object/.dirs/data 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/object/.dirs/state 1879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/object/.dirs/runtime 1879s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1879s # /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 1880s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1880s # slow test /gdbus/threaded-unregistration/object executed in 0.85 secs 1880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/subtree/.dirs/home 1880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/subtree/.dirs/cache 1880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/subtree/.dirs/config 1880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/subtree/.dirs/data 1880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/subtree/.dirs/state 1880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IQXIK3/gdbus/threaded-unregistration/subtree/.dirs/runtime 1880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1880s # /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 1881s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1881s # slow test /gdbus/threaded-unregistration/subtree executed in 0.85 secs 1881s # End of threaded-unregistration tests 1881s # End of gdbus tests 1881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1881s ok - glib/gdbus-export.test 1881s # Running test: glib/gdbus-connection-flush.test 1881s TAP version 14 1881s # random seed: R02Se81ac874b49b0b69a0176ec149cc3000 1881s 1..2 1881s # Start of gdbus tests 1881s # Start of connection tests 1881s # Start of flush tests 1881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/busy/.dirs/home 1881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/busy/.dirs/cache 1881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/busy/.dirs/system-config2 1881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/busy/.dirs/config 1881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/busy/.dirs/system-data2 1881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/busy/.dirs/data 1881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/busy/.dirs/state 1881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/busy/.dirs/runtime 1881s ok 1 /gdbus/connection/flush/busy 1881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/idle/.dirs/home 1881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/idle/.dirs/cache 1881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/idle/.dirs/system-config2 1881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/idle/.dirs/config 1881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/idle/.dirs/system-data2 1881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/idle/.dirs/data 1881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/idle/.dirs/state 1881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_E3ECK3/gdbus/connection/flush/idle/.dirs/runtime 1881s ok - glib/gdbus-connection-flush.test 1881s # Running test: glib/asyncqueue.test 1881s ok 2 /gdbus/connection/flush/idle 1881s # End of flush tests 1881s # End of connection tests 1881s # End of gdbus tests 1881s TAP version 14 1881s # random seed: R02Sbb7fbbbebe3c8c3466a7f52864806e4a 1881s 1..7 1881s # Start of asyncqueue tests 1881s ok 1 /asyncqueue/basics 1881s ok 2 /asyncqueue/sort 1881s ok 3 /asyncqueue/destroy 1881s ok 4 /asyncqueue/threads 1881s ok 5 /asyncqueue/timed 1881s ok 6 /asyncqueue/remove 1881s ok 7 /asyncqueue/push_front 1881s # End of asyncqueue tests 1881s ok - glib/asyncqueue.test 1881s # Running test: glib/properties-refcount2.test 1881s TAP version 14 1881s # random seed: R02S882d65999fc825e161988da3ea3d24b4 1881s 1..1 1881s # Start of gobject tests 1881s # Start of refcount tests 1881s # init 0x5fb9151c0eb0 1881s # 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # . 1881s # dispose 0x5fb9151c0eb0! 1881s # 1881s ok 1 /gobject/refcount/properties-2 1881s # End of refcount tests 1881s # End of gobject tests 1881s ok - glib/properties-refcount2.test 1881s # Running test: glib/spawn-path-search.test 1881s TAP version 14 1881s # random seed: R02Sa9d65bfab7fa2b52262ad9acafc73319 1881s 1..7 1881s # Start of spawn tests 1881s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1881s # 1881s # this is spawn-test-helper from glib/tests 1881s # 1881s ok 1 /spawn/do-not-search 1881s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1881s # 1881s # this is spawn-test-helper from path-test-subdir 1881s # 1881s ok 2 /spawn/search-path 1881s # /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. 1881s # 1881s # this is spawn-test-helper from path-test-subdir 1881s # 1881s ok 3 /spawn/search-path-from-envp 1881s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1881s # 1881s # this is spawn-test-helper from path-test-subdir 1881s # 1881s ok 4 /spawn/search-path-ambiguous 1881s # 1881s # this is spawn-test-helper from path-test-subdir 1881s # 1881s ok 5 /spawn/search-path-heap-allocation 1881s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1881s # 1881s # this is spawn-test-helper from glib/tests 1881s # 1881s ok 6 /spawn/search-path-fallback-in-environ 1881s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1881s # 1881s # this is spawn-test-helper from glib/tests 1881s # 1881s ok 7 /spawn/search-path-fallback-in-envp 1881s # End of spawn tests 1881s ok - glib/spawn-path-search.test 1881s # Running test: glib/atomic.test 1881s TAP version 14 1881s # random seed: R02S6307ac0bfc46b55ecf32c56b479e6abc 1881s 1..2 1881s # Start of atomic tests 1881s ok 1 /atomic/types 1882s ok 2 /atomic/threaded 1882s # End of atomic tests 1882s ok - glib/atomic.test 1882s # Running test: glib/gdbus-threading.test 1882s TAP version 14 1882s # random seed: R02S64c1915343eb460b4b869b94f4db5e88 1882s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1882s ok - glib/gdbus-threading.test 1882s # Running test: glib/dynamictype.test 1882s TAP version 14 1882s # random seed: R02S4b3e527cf87dcd0881fb50d7b200af61 1882s 1..2 1882s # Start of gobject tests 1882s ok 1 /gobject/dynamic-type 1882s # Start of dynamic-type tests 1882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1882s ok 2 /gobject/dynamic-type/query 1882s # End of dynamic-type tests 1882s # End of gobject tests 1882s ok - glib/dynamictype.test 1882s # Running test: glib/date.test 1882s TAP version 14 1882s # random seed: R02Sd09bdf55420ec003b7bd0ef60657557d 1882s 1..122 1882s # Start of date tests 1882s ok 1 /date/basic 1882s ok 2 /date/empty 1882s ok 3 /date/dmy 1882s ok 4 /date/julian 1882s ok 5 /date/compare 1882s ok 6 /date/dates 1882s ok 7 /date/strftime 1882s ok 8 /date/two-digit-years 1882s ok 9 /date/parse 1882s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1882s ok 11 /date/month_substring 1882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1882s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1882s ok 13 /date/clamp 1882s ok 14 /date/order 1882s ok 15 /date/copy 1882s # Vector 0: 0000-00-00, invalid 1882s # Vector 1: 0001-01-01, valid 1882s # Vector 2: 0000-01-01, invalid 1882s # Vector 3: 2000-02-30, invalid 1882s # Vector 4: 2000-02-29, valid 1882s # Vector 5: 2001-02-29, invalid 1882s # Vector 6: 65535-01-01, valid 1882s ok 16 /date/valid-dmy 1882s # Considering 2000-01-01 1882s # Considering 2000-01-07 1882s # Considering 2000-01-08 1882s # Considering 2001-01-01 1882s # Considering 2001-01-07 1882s # Considering 2001-01-08 1882s # Considering 2002-01-01 1882s # Considering 2002-01-07 1882s # Considering 2002-01-08 1882s # Considering 2003-01-01 1882s # Considering 2003-01-07 1882s # Considering 2003-01-08 1882s # Considering 2004-01-01 1882s # Considering 2004-01-07 1882s # Considering 2004-01-08 1882s # Considering 2006-01-01 1882s # Considering 2006-01-07 1882s # Considering 2006-01-08 1882s # Considering 2010-01-01 1882s # Considering 2010-01-07 1882s # Considering 2010-01-08 1882s ok 17 /date/week-of-year 1882s # Start of parse tests 1882s # Test 0 1882s # Test 1 1882s ok 18 /date/parse/invalid 1882s # End of parse tests 1882s # Start of year tests 1882s ok 19 /date/year/1 1882s ok 20 /date/year/2 1882s ok 21 /date/year/3 1882s ok 22 /date/year/4 1882s ok 23 /date/year/5 1882s ok 24 /date/year/6 1882s ok 25 /date/year/7 1882s ok 26 /date/year/8 1882s ok 27 /date/year/9 1882s ok 28 /date/year/10 1882s ok 29 /date/year/11 1882s ok 30 /date/year/12 1882s ok 31 /date/year/13 1882s ok 32 /date/year/14 1882s ok 33 /date/year/98 1882s ok 34 /date/year/99 1882s ok 35 /date/year/100 1882s ok 36 /date/year/101 1882s ok 37 /date/year/102 1882s ok 38 /date/year/103 1882s ok 39 /date/year/397 1882s ok 40 /date/year/398 1882s ok 41 /date/year/399 1882s ok 42 /date/year/400 1882s ok 43 /date/year/401 1882s ok 44 /date/year/402 1882s ok 45 /date/year/403 1882s ok 46 /date/year/404 1882s ok 47 /date/year/405 1882s ok 48 /date/year/406 1882s ok 49 /date/year/1598 1882s ok 50 /date/year/1599 1882s ok 51 /date/year/1600 1882s ok 52 /date/year/1601 1882s ok 53 /date/year/1602 1882s ok 54 /date/year/1650 1882s ok 55 /date/year/1651 1882s ok 56 /date/year/1897 1882s ok 57 /date/year/1898 1882s ok 58 /date/year/1899 1882s ok 59 /date/year/1900 1882s ok 60 /date/year/1901 1882s ok 61 /date/year/1902 1882s ok 62 /date/year/1903 1882s ok 63 /date/year/1961 1882s ok 64 /date/year/1962 1882s ok 65 /date/year/1963 1882s ok 66 /date/year/1964 1882s ok 67 /date/year/1965 1882s ok 68 /date/year/1967 1882s ok 69 /date/year/1968 1882s ok 70 /date/year/1969 1882s ok 71 /date/year/1970 1882s ok 72 /date/year/1971 1882s ok 73 /date/year/1972 1882s ok 74 /date/year/1973 1882s ok 75 /date/year/1974 1882s ok 76 /date/year/1975 1882s ok 77 /date/year/1976 1882s ok 78 /date/year/1977 1882s ok 79 /date/year/1978 1882s ok 80 /date/year/1979 1882s ok 81 /date/year/1980 1882s ok 82 /date/year/1981 1882s ok 83 /date/year/1982 1882s ok 84 /date/year/1983 1882s ok 85 /date/year/1984 1882s ok 86 /date/year/1985 1882s ok 87 /date/year/1986 1882s ok 88 /date/year/1987 1882s ok 89 /date/year/1988 1882s ok 90 /date/year/1989 1882s ok 91 /date/year/1990 1882s ok 92 /date/year/1991 1882s ok 93 /date/year/1992 1882s ok 94 /date/year/1993 1882s ok 95 /date/year/1994 1882s ok 96 /date/year/1995 1882s ok 97 /date/year/1996 1882s ok 98 /date/year/1997 1882s ok 99 /date/year/1998 1882s ok 100 /date/year/1999 1882s ok 101 /date/year/2000 1882s ok 102 /date/year/2001 1882s ok 103 /date/year/2002 1882s ok 104 /date/year/2003 1882s ok 105 /date/year/2004 1882s ok 106 /date/year/2005 1882s ok 107 /date/year/2006 1882s ok 108 /date/year/2007 1882s ok 109 /date/year/2008 1882s ok 110 /date/year/2009 1882s ok 111 /date/year/2010 1882s ok 112 /date/year/2011 1882s ok 113 /date/year/2012 1882s ok 114 /date/year/3000 1882s ok 115 /date/year/3001 1882s ok 116 /date/year/3002 1882s ok 117 /date/year/3998 1882s ok 118 /date/year/3999 1882s ok 119 /date/year/4000 1882s ok 120 /date/year/4001 1882s ok 121 /date/year/4002 1882s ok 122 /date/year/4003 1882s # End of year tests 1882s # End of date tests 1882s ok - glib/date.test 1882s # Running test: glib/protocol.test 1882s TAP version 14 1882s # random seed: R02S5da8f5f273f99943182ece39c1fa8563 1882s 1..9 1882s # Start of glib tests 1882s # Start of testing tests 1882s # Start of protocol tests 1882s ok 1 /glib/testing/protocol/debug 1882s ok 2 /glib/testing/protocol/info 1882s ok 3 /glib/testing/protocol/message 1882s ok 4 /glib/testing/protocol/warning 1882s ok 5 /glib/testing/protocol/critical 1882s ok 6 /glib/testing/protocol/error 1882s ok 7 /glib/testing/protocol/gtest-message 1882s ok 8 /glib/testing/protocol/test-message 1882s ok 9 /glib/testing/protocol/test-error 1882s # End of protocol tests 1882s # End of testing tests 1882s # End of glib tests 1882s ok - glib/protocol.test 1882s # Running test: glib/application-command-line.test 1882s TAP version 14 1882s # random seed: R02S0658c40bf50a3884341c0234461354ec 1882s 1..1 1882s # Start of application-command-line tests 1882s ok 1 /application-command-line/basic-properties 1882s # End of application-command-line tests 1882s ok - glib/application-command-line.test 1882s # Running test: glib/hash.test 1882s TAP version 14 1882s # random seed: R02Sea1b21d22d98e9cc631f8df9fc317622 1882s 1..34 1882s # Start of hash tests 1882s ok 1 /hash/misc 1882s ok 2 /hash/one 1882s ok 3 /hash/honeyman 1882s ok 4 /hash/direct 1882s ok 5 /hash/direct2 1882s ok 6 /hash/int 1882s ok 7 /hash/int64 1882s ok 8 /hash/double 1882s ok 9 /hash/string 1882s ok 10 /hash/set 1882s ok 11 /hash/set-ref 1882s ok 12 /hash/ref 1882s ok 13 /hash/remove-all 1882s ok 14 /hash/recursive-remove-all 1882s ok 15 /hash/find 1882s ok 16 /hash/foreach 1882s ok 17 /hash/foreach-steal 1882s ok 18 /hash/steal-extended 1882s ok 19 /hash/steal-all-keys 1882s ok 20 /hash/steal-all-values 1882s ok 21 /hash/lookup-extended 1882s ok 22 /hash/new-similar 1882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1882s ok 23 /hash/lookup-null-key 1882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1882s ok 24 /hash/destroy-modify 1882s ok 25 /hash/consistency 1882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1882s ok 26 /hash/iter-replace 1882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1882s ok 27 /hash/set-insert-corruption 1882s ok 28 /hash/set-to-strv 1882s ok 29 /hash/get-keys-as-ptr-array 1882s ok 30 /hash/get-values-as-ptr-array 1882s ok 31 /hash/primes 1882s # Start of int64 tests 1882s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1882s ok 32 /hash/int64/collisions 1882s # End of int64 tests 1882s # Start of double tests 1882s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1882s ok 33 /hash/double/collisions 1882s # End of double tests 1882s # Start of recursive-remove-all tests 1882s # End of recursive-remove-all tests 1882s # Start of steal-extended tests 1882s ok 34 /hash/steal-extended/optional 1882s # End of steal-extended tests 1882s # End of hash tests 1882s ok - glib/hash.test 1882s # Running test: glib/g-file-info.test 1882s TAP version 14 1882s # random seed: R02Saad9505cd0a7cdec42788c5b28cffc5e 1882s 1..6 1882s # Start of g-file-info tests 1882s ok 1 /g-file-info/test_g_file_info 1882s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1882s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1882s ok 2 /g-file-info/xattrs 1882s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1882s ok 3 /g-file-info/set-modified-date-time-precision 1882s # Start of test_g_file_info tests 1882s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1882s ok - glib/g-file-info.test 1882s ok 4 /g-file-info/test_g_file_info/modification-time 1882s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1882s ok 5 /g-file-info/test_g_file_info/access-time 1882s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1882s ok 6 /g-file-info/test_g_file_info/creation-time 1882s # End of test_g_file_info tests 1882s # End of g-file-info tests 1882s # Running test: glib/hook.test 1882s TAP version 14 1882s # random seed: R02S605962afbc75f93b20b166f806eb78fd 1882s 1..2 1882s # Start of hook tests 1882s ok 1 /hook/basics 1882s ok 2 /hook/corner-cases 1882s # End of hook tests 1882s ok - glib/hook.test 1882s # Running test: glib/file-enumerator.test 1882s TAP version 14 1882s # random seed: R02S7206d1ab53f6598fa9ca3dc3a30fc775 1882s 1..1 1882s # Start of file-enumerator tests 1882s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1882s ok 1 /file-enumerator/close-on-dispose 1882s # End of file-enumerator tests 1882s ok - glib/file-enumerator.test 1882s # Running test: glib/utf8-private.test 1882s TAP version 14 1882s # random seed: R02S5729960a3430f7d600d5ec268cfc8dcf 1882s 1..2 1882s # Start of utf8 tests 1882s ok 1 /utf8/utf8-to-utf16-make-valid 1882s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack 1882s # End of utf8 tests 1882s ok - glib/utf8-private.test 1882s # Running test: glib/cxx-03.test 1882s TAP version 14 1882s # random seed: R02Se4dfa536944b6c7ac828d24ef89669f8 1882s 1..2 1882s # Start of gtask tests 1882s # 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. 1882s ok 1 /gtask/name 1882s # Start of name tests 1882s # 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. 1882s ok 2 /gtask/name/macro-wrapper 1882s # End of name tests 1882s # End of gtask tests 1882s ok - glib/cxx-03.test 1882s # Running test: glib/gdatetime.test 1882s TAP version 14 1882s # random seed: R02S3b020b7de640fbd7e4cb79a0c46a9f80 1882s 1..68 1882s # Start of GDateTime tests 1882s # Bug Reference: http://bugzilla.gnome.org/702674 1882s ok 1 /GDateTime/invalid 1882s ok 2 /GDateTime/add_days 1882s ok 3 /GDateTime/add_full 1882s ok 4 /GDateTime/add_hours 1882s ok 5 /GDateTime/add_minutes 1882s ok 6 /GDateTime/add_months 1882s ok 7 /GDateTime/add_seconds 1882s ok 8 /GDateTime/add_weeks 1882s ok 9 /GDateTime/add_years 1882s ok 10 /GDateTime/compare 1882s ok 11 /GDateTime/diff 1882s ok 12 /GDateTime/equal 1882s ok 13 /GDateTime/get_day_of_week 1882s ok 14 /GDateTime/get_day_of_month 1882s ok 15 /GDateTime/get_day_of_year 1882s ok 16 /GDateTime/get_hour 1882s ok 17 /GDateTime/get_microsecond 1882s ok 18 /GDateTime/get_minute 1882s ok 19 /GDateTime/get_month 1882s ok 20 /GDateTime/get_second 1882s ok 21 /GDateTime/get_utc_offset 1882s ok 22 /GDateTime/get_year 1882s ok 23 /GDateTime/hash 1882s ok 24 /GDateTime/new_from_unix 1882s ok 25 /GDateTime/new_from_unix_utc 1882s ok 26 /GDateTime/new_from_timeval 1882s ok 27 /GDateTime/new_from_timeval_utc 1882s ok 28 /GDateTime/new_from_iso8601 1882s ok 29 /GDateTime/new_full 1882s ok 30 /GDateTime/now 1882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1882s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1882s # %a -> expected: Sat 1882s # %a -> actual: Sat 1882s # %A -> expected: Saturday 1882s # %A -> actual: Saturday 1882s # %b -> expected: Oct 1882s # %b -> actual: Oct 1882s # %B -> expected: October 1882s # %B -> actual: October 1882s # %d -> expected: 24 1882s # %d -> actual: 24 1882s # %d -> expected: 01 1882s # %d -> actual: 01 1882s # %e -> expected: 24 1882s # %e -> actual: 24 1882s # %e -> expected:  1 1882s # %e -> actual:  1 1882s # %f -> expected: 001000 1882s # %f -> actual: 001000 1882s # %h -> expected: Oct 1882s # %h -> actual: Oct 1882s # %H -> expected: 00 1882s # %H -> actual: 00 1882s # %H -> expected: 15 1882s # %H -> actual: 15 1882s # %I -> expected: 12 1882s # %I -> actual: 12 1882s # %I -> expected: 12 1882s # %I -> actual: 12 1882s # %I -> expected: 03 1882s # %I -> actual: 03 1882s # %j -> expected: 297 1882s # %j -> actual: 297 1882s # %k -> expected:  0 1882s # %k -> actual:  0 1882s # %k -> expected: 13 1882s # %k -> actual: 13 1882s # %l -> expected: 12 1882s # %l -> actual: 12 1882s # %I -> expected: 12 1882s # %I -> actual: 12 1882s # %l -> expected:  1 1882s # %l -> actual:  1 1882s # %l -> expected: 10 1882s # %l -> actual: 10 1882s # %m -> expected: 10 1882s # %m -> actual: 10 1882s # %M -> expected: 00 1882s # %M -> actual: 00 1882s # %p -> expected: AM 1882s # %p -> actual: AM 1882s # %p -> expected: PM 1882s # %p -> actual: PM 1882s # %P -> expected: am 1882s # %P -> actual: am 1882s # %P -> expected: pm 1882s # %P -> actual: pm 1882s # %r -> expected: 12:00:00 AM 1882s # %r -> actual: 12:00:00 AM 1882s # %r -> expected: 01:13:13 PM 1882s # %r -> actual: 01:13:13 PM 1882s # %R -> expected: 00:00 1882s # %R -> actual: 00:00 1882s # %R -> expected: 13:13 1882s # %R -> actual: 13:13 1882s # %S -> expected: 00 1882s # %S -> actual: 00 1882s # %t -> expected: 1882s # %t -> actual: 1882s # %u -> expected: 6 1882s # %u -> actual: 6 1882s # %x -> expected: 10/24/09 1882s # %x -> actual: 10/24/09 1882s # %X -> expected: 00:00:00 1882s # %X -> actual: 00:00:00 1882s # %X -> expected: 13:14:15 1882s # %X -> actual: 13:14:15 1882s # %y -> expected: 09 1882s # %y -> actual: 09 1882s # %Y -> expected: 2009 1882s # %Y -> actual: 2009 1882s # %% -> expected: % 1882s # %% -> actual: % 1882s # % -> expected: 1882s # % -> actual: 1882s # %9 -> expected: (null) 1882s # %9 -> actual: (null) 1882s # %Z -> expected: UTC 1882s # %Z -> actual: UTC 1882s # %#Z %Z -> expected: utc UTC 1882s # %#Z %Z -> actual: utc UTC 1882s ok 32 /GDateTime/printf 1882s # %a -> expected: 土 1882s # %a -> actual: 土 1882s # %A -> expected: 土曜日 1882s # %A -> actual: 土曜日 1882s # %b -> expected: 10月 1882s # %b -> actual: 10月 1882s # %B -> expected: 10月 1882s # %B -> actual: 10月 1882s # %c -> expected: 2009年10月24日 00時00分00秒 1882s # %c -> actual: 2009年10月24日 00時00分00秒 1882s # %C -> expected: 20 1882s # %C -> actual: 20 1882s # %d -> expected: 24 1882s # %d -> actual: 24 1882s # %d -> expected: 01 1882s # %d -> actual: 01 1882s # %e -> expected: 24 1882s # %e -> actual: 24 1882s # %h -> expected: 10月 1882s # %h -> actual: 10月 1882s # %H -> expected: 00 1882s # %H -> actual: 00 1882s # %H -> expected: 15 1882s # %H -> actual: 15 1882s # %I -> expected: 12 1882s # %I -> actual: 12 1882s # %I -> expected: 12 1882s # %I -> actual: 12 1882s # %I -> expected: 03 1882s # %I -> actual: 03 1882s # %j -> expected: 297 1882s # %j -> actual: 297 1882s # %k -> expected:  0 1882s # %k -> actual:  0 1882s # %k -> expected: 13 1882s # %k -> actual: 13 1882s # %l -> expected: 12 1882s # %l -> actual: 12 1882s # %I -> expected: 12 1882s # %I -> actual: 12 1882s # %l -> expected:  1 1882s # %l -> actual:  1 1882s # %l -> expected: 10 1882s # %l -> actual: 10 1882s # %m -> expected: 10 1882s # %m -> actual: 10 1882s # %M -> expected: 00 1882s # %M -> actual: 00 1882s # %p -> expected: 午前 1882s # %p -> actual: 午前 1882s # %p -> expected: 午後 1882s # %p -> actual: 午後 1882s # %P -> expected: 午前 1882s # %P -> actual: 午前 1882s # %P -> expected: 午後 1882s # %P -> actual: 午後 1882s # %r -> expected: 午前12時00分00秒 1882s # %r -> actual: 午前12時00分00秒 1882s # %r -> expected: 午後01時13分13秒 1882s # %r -> actual: 午後01時13分13秒 1882s # %R -> expected: 00:00 1882s # %R -> actual: 00:00 1882s # %R -> expected: 13:13 1882s # %R -> actual: 13:13 1882s # %S -> expected: 00 1882s # %S -> actual: 00 1882s # %t -> expected: 1882s # %t -> actual: 1882s # %u -> expected: 6 1882s # %u -> actual: 6 1882s # %x -> expected: 2009年10月24日 1882s # %x -> actual: 2009年10月24日 1882s # %X -> expected: 00時00分00秒 1882s # %X -> actual: 00時00分00秒 1882s # %X -> expected: 13時14分15秒 1882s # %X -> actual: 13時14分15秒 1882s # %y -> expected: 09 1882s # %y -> actual: 09 1882s # %Y -> expected: 2009 1882s # %Y -> actual: 2009 1882s # %% -> expected: % 1882s # %% -> actual: % 1882s # % -> expected: 1882s # % -> actual: 1882s # %9 -> expected: (null) 1882s # %9 -> actual: (null) 1882s # %Ec -> expected: 平成21年10月24日 00時00分00秒 1882s # %Ec -> actual: 平成21年10月24日 00時00分00秒 1882s # %EC -> expected: 平成 1882s # %EC -> actual: 平成 1882s # %Ex -> expected: 平成21年10月24日 1882s # %Ex -> actual: 平成21年10月24日 1882s # %EX -> expected: 00時00分00秒 1882s # %EX -> actual: 00時00分00秒 1882s # %Ey -> expected: 21 1882s # %Ey -> actual: 21 1882s # %EY -> expected: 平成21年 1882s # %EY -> actual: 平成21年 1882s ok 33 /GDateTime/non_utf8_printf 1882s # ąśćł -> expected: ąśćł 1882s # ąśćł -> actual: ąśćł 1882s # %H∶%M -> expected: 23∶15 1882s # %H∶%M -> actual: 23∶15 1882s # %H∶%M -> expected: 23∶15 1882s # %H∶%M -> actual: 23∶15 1882s ok 34 /GDateTime/format_unrepresentable 1882s ok 35 /GDateTime/format_iso8601 1882s ok 36 /GDateTime/strftime 1882s # %d -> expected: 01 1882s # %d -> actual: 01 1882s # %_d -> expected: 1 1882s # %_d -> actual: 1 1882s # %-d -> expected: 1 1882s # %-d -> actual: 1 1882s # %0d -> expected: 01 1882s # %0d -> actual: 01 1882s # %d -> expected: 21 1882s # %d -> actual: 21 1882s # %_d -> expected: 21 1882s # %_d -> actual: 21 1882s # %-d -> expected: 21 1882s # %-d -> actual: 21 1882s # %0d -> expected: 21 1882s # %0d -> actual: 21 1882s # %e -> expected:  1 1882s # %e -> actual:  1 1882s # %_e -> expected: 1 1882s # %_e -> actual: 1 1882s # %-e -> expected: 1 1882s # %-e -> actual: 1 1882s # %0e -> expected: 01 1882s # %0e -> actual: 01 1882s # %e -> expected: 21 1882s # %e -> actual: 21 1882s # %_e -> expected: 21 1882s # %_e -> actual: 21 1882s # %-e -> expected: 21 1882s # %-e -> actual: 21 1882s # %0e -> expected: 21 1882s # %0e -> actual: 21 1882s # %a -> expected: Thu 1882s # %a -> actual: Thu 1882s # %^a -> expected: THU 1882s # %^a -> actual: THU 1882s # %#a -> expected: THU 1882s # %#a -> actual: THU 1882s # %A -> expected: Thursday 1882s # %A -> actual: Thursday 1882s # %^A -> expected: THURSDAY 1882s # %^A -> actual: THURSDAY 1882s # %#A -> expected: THURSDAY 1882s # %#A -> actual: THURSDAY 1882s # %b -> expected: Jan 1882s # %b -> actual: Jan 1882s # %^b -> expected: JAN 1882s # %^b -> actual: JAN 1882s # %#b -> expected: JAN 1882s # %#b -> actual: JAN 1882s # %B -> expected: January 1882s # %B -> actual: January 1882s # %^B -> expected: JANUARY 1882s # %^B -> actual: JANUARY 1882s # %#B -> expected: JANUARY 1882s # %#B -> actual: JANUARY 1882s # %h -> expected: Jan 1882s # %h -> actual: Jan 1882s # %^h -> expected: JAN 1882s # %^h -> actual: JAN 1882s # %#h -> expected: JAN 1882s # %#h -> actual: JAN 1882s # %Z -> expected: UTC 1882s # %Z -> actual: UTC 1882s # %^Z -> expected: UTC 1882s # %^Z -> actual: UTC 1882s # %#Z -> expected: utc 1882s # %#Z -> actual: utc 1882s # %H -> expected: 01 1882s # %H -> actual: 01 1882s # %_H -> expected: 1 1882s # %_H -> actual: 1 1882s # %-H -> expected: 1 1882s # %-H -> actual: 1 1882s # %0H -> expected: 01 1882s # %0H -> actual: 01 1882s # %H -> expected: 21 1882s # %H -> actual: 21 1882s # %_H -> expected: 21 1882s # %_H -> actual: 21 1882s # %-H -> expected: 21 1882s # %-H -> actual: 21 1882s # %0H -> expected: 21 1882s # %0H -> actual: 21 1882s # %I -> expected: 01 1882s # %I -> actual: 01 1882s # %_I -> expected: 1 1882s # %_I -> actual: 1 1882s # %-I -> expected: 1 1882s # %-I -> actual: 1 1882s # %0I -> expected: 01 1882s # %0I -> actual: 01 1882s # %I -> expected: 11 1882s # %I -> actual: 11 1882s # %_I -> expected: 11 1882s # %_I -> actual: 11 1882s # %-I -> expected: 11 1882s # %-I -> actual: 11 1882s # %0I -> expected: 11 1882s # %0I -> actual: 11 1882s # %k -> expected:  1 1882s # %k -> actual:  1 1882s # %_k -> expected: 1 1882s # %_k -> actual: 1 1882s # %-k -> expected: 1 1882s # %-k -> actual: 1 1882s # %0k -> expected: 01 1882s # %0k -> actual: 01 1882s # %l -> expected:  1 1882s # %l -> actual:  1 1882s # %_l -> expected: 1 1882s # %_l -> actual: 1 1882s # %-l -> expected: 1 1882s # %-l -> actual: 1 1882s # %0l -> expected: 01 1882s # %0l -> actual: 01 1882s # %l -> expected: 11 1882s # %l -> actual: 11 1882s # %_l -> expected: 11 1882s # %_l -> actual: 11 1882s # %-l -> expected: 11 1882s # %-l -> actual: 11 1882s # %0l -> expected: 11 1882s # %0l -> actual: 11 1882s # %p -> expected: AM 1882s # %p -> actual: AM 1882s # %^p -> expected: AM 1882s # %^p -> actual: AM 1882s # %#p -> expected: am 1882s # %#p -> actual: am 1882s # %P -> expected: am 1882s # %P -> actual: am 1882s # %^P -> expected: AM 1882s # %^P -> actual: AM 1882s # %#P -> expected: am 1882s # %#P -> actual: am 1882s # %OH -> expected: ۲۳ 1882s # %OH -> actual: ۲۳ 1882s # %OI -> expected: ۱۱ 1882s # %OI -> actual: ۱۱ 1882s # %OM -> expected: ۰۰ 1882s # %OM -> actual: ۰۰ 1882s # %Om -> expected: ۰۷ 1882s # %Om -> actual: ۰۷ 1882s # %0Om -> expected: ۰۷ 1882s # %0Om -> actual: ۰۷ 1882s # %-Om -> expected: ۷ 1882s # %-Om -> actual: ۷ 1882s # %_Om -> expected: ۷ 1882s # %_Om -> actual: ۷ 1882s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1882s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1882s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1882s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1882s # %C -> expected: 20 1882s # %C -> actual: 20 1882s # %EC -> expected: 20 1882s # %EC -> actual: 20 1882s # %x -> expected: 02/01/09 1882s # %x -> actual: 02/01/09 1882s # %Ex -> expected: 02/01/09 1882s # %Ex -> actual: 02/01/09 1882s # %X -> expected: 01:02:03 1882s # %X -> actual: 01:02:03 1882s # %EX -> expected: 01:02:03 1882s # %EX -> actual: 01:02:03 1882s # %y -> expected: 09 1882s # %y -> actual: 09 1882s # %Ey -> expected: 09 1882s # %Ey -> actual: 09 1882s # %Y -> expected: 2009 1882s # %Y -> actual: 2009 1882s # %EY -> expected: 2009 1882s # %EY -> actual: 2009 1882s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1882s # Bug Reference: http://bugzilla.gnome.org/749206 1882s # %B -> expected: January 1882s # %B -> actual: January 1882s # %OB -> expected: February 1882s # %OB -> actual: February 1882s # %b -> expected: Mar 1882s # %b -> actual: Mar 1882s # %Ob -> expected: Apr 1882s # %Ob -> actual: Apr 1882s # %h -> expected: May 1882s # %h -> actual: May 1882s # %Oh -> expected: Jun 1882s # %Oh -> actual: Jun 1882s # %B -> expected: Juli 1882s # %B -> actual: Juli 1882s # %OB -> expected: August 1882s # %OB -> actual: August 1882s # %b -> expected: Sep 1882s # %b -> actual: Sep 1882s # %Ob -> expected: Okt 1882s # %Ob -> actual: Okt 1882s # %h -> expected: Nov 1882s # %h -> actual: Nov 1882s # %Oh -> expected: Dez 1882s # %Oh -> actual: Dez 1882s # %B -> expected: enero 1882s # %B -> actual: enero 1882s # %OB -> expected: febrero 1882s # %OB -> actual: febrero 1882s # %b -> expected: mar 1882s # %b -> actual: mar 1882s # %Ob -> expected: abr 1882s # %Ob -> actual: abr 1882s # %h -> expected: may 1882s # %h -> actual: may 1882s # %Oh -> expected: jun 1882s # %Oh -> actual: jun 1882s # %B -> expected: juillet 1882s # %B -> actual: juillet 1882s # %OB -> expected: août 1882s # %OB -> actual: août 1882s # %b -> expected: sept. 1882s # %b -> actual: sept. 1882s # %Ob -> expected: oct. 1882s # %Ob -> actual: oct. 1882s # %h -> expected: nov. 1882s # %h -> actual: nov. 1882s # %Oh -> expected: déc. 1882s # %Oh -> actual: déc. 1882s # %B -> expected: Ιανουαρίου 1882s # %B -> actual: Ιανουαρίου 1882s # %B -> expected: Φεβρουαρίου 1882s # %B -> actual: Φεβρουαρίου 1882s # %B -> expected: Μαρτίου 1882s # %B -> actual: Μαρτίου 1882s # %OB -> expected: Απρίλιος 1882s # %OB -> actual: Απρίλιος 1882s # %OB -> expected: Μάιος 1882s # %OB -> actual: Μάιος 1882s # %OB -> expected: Ιούνιος 1882s # %OB -> actual: Ιούνιος 1882s # %b -> expected: Ιουλ 1882s # %b -> actual: Ιουλ 1882s # %Ob -> expected: Αύγ 1882s # %Ob -> actual: Αύγ 1882s # %B -> expected: svibnja 1882s # %B -> actual: svibnja 1882s # %B -> expected: lipnja 1882s # %B -> actual: lipnja 1882s # %B -> expected: srpnja 1882s # %B -> actual: srpnja 1882s # %OB -> expected: Kolovoz 1882s # %OB -> actual: kolovoz 1882s # %OB -> expected: Rujan 1882s # %OB -> actual: rujan 1882s # %OB -> expected: Listopad 1882s # %OB -> actual: listopad 1882s # %b -> expected: Stu 1882s # %b -> actual: stu 1882s # %Ob -> expected: Pro 1882s # %Ob -> actual: pro 1882s # %B -> expected: sausio 1882s # %B -> actual: sausio 1882s # %B -> expected: vasario 1882s # %B -> actual: vasario 1882s # %B -> expected: kovo 1882s # %B -> actual: kovo 1882s # %OB -> expected: balandis 1882s # %OB -> actual: balandis 1882s # %OB -> expected: gegužė 1882s # %OB -> actual: gegužė 1882s # %OB -> expected: birželis 1882s # %OB -> actual: birželis 1882s # %b -> expected: liep. 1882s # %b -> actual: liep. 1882s # %Ob -> expected: rugp. 1882s # %Ob -> actual: rugp. 1882s # %B -> expected: maja 1882s # %B -> actual: maja 1882s # %B -> expected: czerwca 1882s # %B -> actual: czerwca 1882s # %B -> expected: lipca 1882s # %B -> actual: lipca 1882s # %OB -> expected: sierpień 1882s # %OB -> actual: sierpień 1882s # %OB -> expected: wrzesień 1882s # %OB -> actual: wrzesień 1882s # %OB -> expected: październik 1882s # %OB -> actual: październik 1882s # %b -> expected: lis 1882s # %b -> actual: lis 1882s # %Ob -> expected: gru 1882s # %Ob -> actual: gru 1882s # %B -> expected: января 1882s # %B -> actual: января 1882s # %B -> expected: февраля 1882s # %B -> actual: февраля 1882s # %B -> expected: марта 1882s # %B -> actual: марта 1882s # %OB -> expected: Апрель 1882s # %OB -> actual: Апрель 1882s # %OB -> expected: Май 1882s # %OB -> actual: Май 1882s # %OB -> expected: Июнь 1882s # %OB -> actual: Июнь 1882s # %b -> expected: июл 1882s # %b -> actual: июл 1882s # %Ob -> expected: авг 1882s # %Ob -> actual: авг 1882s # %b -> expected: мая 1882s # %b -> actual: мая 1882s # %Ob -> expected: май 1882s # %Ob -> actual: май 1882s ok 38 /GDateTime/month_names 1882s ok 39 /GDateTime/to_local 1882s ok 40 /GDateTime/to_unix 1882s ok 41 /GDateTime/to_timeval 1882s ok 42 /GDateTime/to_utc 1882s ok 43 /GDateTime/now_utc 1882s ok 44 /GDateTime/dst 1882s # Bug Reference: http://bugzilla.gnome.org/642935 1882s ok 45 /GDateTime/test_z 1882s # Executing: glib/gdatetime.test 1883s ok 46 /GDateTime/test-all-dates 1883s # slow test /GDateTime/test-all-dates executed in 0.56 secs 1883s ok 47 /GDateTime/unix_usec 1883s # Start of new_from_unix tests 1883s # Bug Reference: http://bugzilla.gnome.org/782089 1883s ok 48 /GDateTime/new_from_unix/overflow 1883s # End of new_from_unix tests 1883s # Start of new_from_timeval tests 1883s # Bug Reference: http://bugzilla.gnome.org/782089 1883s # Maximum supported GTimeVal.tv_sec = 253402300799 1883s ok 49 /GDateTime/new_from_timeval/overflow 1883s # End of new_from_timeval tests 1883s # Start of new_from_iso8601 tests 1883s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1883s # Vector 0: 1990-11-01T10:21:17Z 1883s # Vector 1: 19901101T102117Z 1883s # Vector 2: 1970-01-01T00:00:17.12Z 1883s # Vector 3: 1970-01-01T00:00:17.1234Z 1883s # Vector 4: 1970-01-01T00:00:17.123456Z 1883s # Vector 5: 1980-02-22T12:36:00+02:00 1883s # Vector 6: 1990-12-31T15:59:60-08:00 1883s # Vector 7: 1883s # Vector 8: x 1883s # Vector 9: 123x 1883s # Vector 10: 2001-10+x 1883s # Vector 11: 1980-02-22T 1883s # Vector 12: 2001-10-08Tx 1883s # Vector 13: 2001-10-08T10:11x 1883s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1883s # Vector 15: 1980-02-22T10:36:00Zulu 1883s # Vector 16: 2T0+819855292164632335 1883s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1883s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1883s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1883s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1883s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1883s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1883s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1883s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1883s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1883s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1883s # Vector 27: 20180803T140805.446178377+0100 1883s # Vector 28: 21474836480803T140805.446178377+0100 1883s # Vector 29: 20181303T140805.446178377+0100 1883s # Vector 30: 20180003T140805.446178377+0100 1883s # Vector 31: 20180800T140805.446178377+0100 1883s # Vector 32: 20180832T140805.446178377+0100 1883s # Vector 33: 20180803T240805.446178377+0100 1883s # Vector 34: 20180803T146005.446178377+0100 1883s # Vector 35: 20180803T140863.446178377+0100 1883s # Vector 36: 20180803T140805.446178377+10000 1883s # Vector 37: -0005-01-01T00:00:00Z 1883s # Vector 38: 2018-08-06 1883s # Vector 39: 20180803T140805,446178377+0100 1883s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1883s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1883s # Vector 42: 1990-11-01T10:21:17 1883s # Vector 43: 1719W462 407777-07 1883s # Vector 44: 4011090 260528Z 1883s # Vector 45: 0000W011 228214-22 1883s ok 50 /GDateTime/new_from_iso8601/2 1883s # End of new_from_iso8601 tests 1883s # Start of format_mixed tests 1883s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1883s # %b -> expected: mar 1883s # %b -> actual: Mar 1883s # %B -> expected: march 1883s # %B -> actual: March 1883s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1883s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1883s # %b -> expected: mar 1883s # %b -> actual: Mar 1883s # %B -> expected: march 1883s # %B -> actual: March 1883s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1883s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1883s # %b -> expected: Mär 1883s # %b -> actual: Mär 1883s # %B -> expected: März 1883s # %B -> actual: März 1883s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1883s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1883s # %b -> expected: Mär 1883s # %b -> actual: Mär 1883s # %B -> expected: März 1883s # %B -> actual: März 1883s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1883s # End of format_mixed tests 1883s # Start of strftime tests 1883s # %r -> expected: (null) 1883s # %r -> actual: (null) 1883s ok 55 /GDateTime/strftime/error_handling 1883s # End of strftime tests 1883s # Start of eras tests 1883s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1883s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1883s # %EC -> expected: 令和 1883s # %EC -> actual: 令和 1883s # %Ex -> expected: 令和05年06月01日 1883s # %Ex -> actual: 令和05年06月01日 1883s # %EX -> expected: 00時00分00秒 1883s # %EX -> actual: 00時00分00秒 1883s # %Ey -> expected: 05 1883s # %Ey -> actual: 05 1883s # %EY -> expected: 令和05年 1883s # %EY -> actual: 令和05年 1883s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1883s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1883s # %EC -> expected: 平成 1883s # %EC -> actual: 平成 1883s # %Ex -> expected: 平成31年04月30日 1883s # %Ex -> actual: 平成31年04月30日 1883s # %EX -> expected: 00時00分00秒 1883s # %EX -> actual: 00時00分00秒 1883s # %Ey -> expected: 31 1883s # %Ey -> actual: 31 1883s # %EY -> expected: 平成31年 1883s # %EY -> actual: 平成31年 1883s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1883s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1883s # %EC -> expected: 昭和 1883s # %EC -> actual: 昭和 1883s # %Ex -> expected: 昭和元年12月25日 1883s # %Ex -> actual: 昭和元年12月25日 1883s # %EX -> expected: 00時00分00秒 1883s # %EX -> actual: 00時00分00秒 1883s # %Ey -> expected: 01 1883s # %Ey -> actual: 01 1883s # %EY -> expected: 昭和元年 1883s # %EY -> actual: 昭和元年 1883s ok 56 /GDateTime/eras/japan 1883s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1883s # Vector 0: 1883s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1883s # 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年 1883s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1883s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1883s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1883s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1883s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1883s # Vector 8: + 1883s # Vector 9: +: 1883s # Vector 10: +:: 1883s # Vector 11: +:200 1883s # Vector 12: +:2nonsense 1883s # Vector 13: +:2nonsense: 1883s # Vector 14: +:2: 1883s # Vector 15: +:2:: 1883s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1883s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1883s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1883s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1883s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1883s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1883s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1883s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1883s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1883s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1883s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1883s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1883s # Vector 28: +:2:2020/01/01 1883s # Vector 29: +:2:2020/01/01: 1883s # Vector 30: +:2:2020/01/01:: 1883s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1883s # Vector 32: +:2:2020/01/01:+* 1883s # Vector 33: +:2:2020/01/01:+*: 1883s # Vector 34: +:2:2020/01/01:+*:: 1883s # Vector 35: +:2:2020/01/01:+*:令和 1883s # Vector 36: +:2:2020/01/01:+*:令和: 1883s # Vector 37: +:2:2020/01/01:+*:令和:; 1883s ok 58 /GDateTime/eras/parsing 1883s # End of eras tests 1883s # End of GDateTime tests 1883s # Start of GTimeZone tests 1883s ok 59 /GTimeZone/find-interval 1883s ok 60 /GTimeZone/adjust-time 1883s ok 61 /GTimeZone/no-header 1883s ok 62 /GTimeZone/no-header-identifier 1883s ok 63 /GTimeZone/posix-parse 1883s # Bug Reference: http://bugzilla.gnome.org/697715 1883s ok 64 /GTimeZone/floating-point 1883s # System time zone identifier: Etc/UTC 1883s ok 65 /GTimeZone/identifier 1883s # Vector 0: -158400 1883s # Vector 1: -10000 1883s # Vector 2: -3600 1883s # Vector 3: -61 1883s # Vector 4: -60 1883s # Vector 5: -59 1883s # Vector 6: 0 1883s # Vector 7: 59 1883s # Vector 8: 60 1883s # Vector 9: 61 1883s # Vector 10: 3600 1883s # Vector 11: 10000 1883s # Vector 12: 158400 1883s ok 66 /GTimeZone/new-offset 1883s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1883s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1883s ok 67 /GTimeZone/parse-rfc8536 1883s # /GTimeZone/caching summary: GTimeZone instances are cached 1883s ok 68 /GTimeZone/caching 1883s # End of GTimeZone tests 1883s ok - glib/gdatetime.test 1883s # Running test: glib/print.test 1883s TAP version 14 1883s # random seed: R02S1c6956a1af63687b9877ae0ed7cd6278 1883s 1..1 1883s ok 1 /print-console # SKIP Testing console output only supported on Windows 1883s ok - glib/print.test 1883s # Running test: glib/gdbus-connection-loss.test 1883s TAP version 14 1883s # random seed: R02S67635d17a6ebf244c9b2bec3f3dcd753 1883s 1..1 1883s # Start of gdbus tests 1883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_141CK3/gdbus/connection-loss/.dirs/home 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_141CK3/gdbus/connection-loss/.dirs/cache 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_141CK3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_141CK3/gdbus/connection-loss/.dirs/system-config2 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_141CK3/gdbus/connection-loss/.dirs/config 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_141CK3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_141CK3/gdbus/connection-loss/.dirs/system-data2 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_141CK3/gdbus/connection-loss/.dirs/data 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_141CK3/gdbus/connection-loss/.dirs/state 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_141CK3/gdbus/connection-loss/.dirs/runtime 1883s ok - glib/gdbus-connection-loss.test 1883s # Running test: glib/references.test 1883s ok 1 /gdbus/connection-loss 1883s # End of gdbus tests 1883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1883s TAP version 14 1883s # random seed: R02S7cb78b7f3b0e9823198450e8b497deba 1883s 1..4 1883s # Start of gobject tests 1883s ok 1 /gobject/references 1883s ok 2 /gobject/references-many 1883s ok 3 /gobject/references_two 1883s ok 4 /gobject/references_run_dispose 1883s # End of gobject tests 1883s ok - glib/references.test 1883s # Running test: glib/atomic-c-11.test 1883s TAP version 14 1883s # random seed: R02S41d5cb66e3bf55654c411113a81fd6f8 1883s 1..2 1883s # Start of atomic tests 1883s ok 1 /atomic/types 1883s ok - glib/atomic-c-11.test 1883s # Running test: glib/gdbus-message.test 1883s ok 2 /atomic/threaded 1883s # End of atomic tests 1883s TAP version 14 1883s # random seed: R02S69232338db80ab16715b1b95c5372cd8 1883s 1..3 1883s # Start of gdbus tests 1883s # Start of message tests 1883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_01RIK3/gdbus/message/lock/.dirs/home 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_01RIK3/gdbus/message/lock/.dirs/cache 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_01RIK3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_01RIK3/gdbus/message/lock/.dirs/system-config2 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_01RIK3/gdbus/message/lock/.dirs/config 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_01RIK3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_01RIK3/gdbus/message/lock/.dirs/system-data2 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_01RIK3/gdbus/message/lock/.dirs/data 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_01RIK3/gdbus/message/lock/.dirs/state 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_01RIK3/gdbus/message/lock/.dirs/runtime 1883s ok 1 /gdbus/message/lock 1883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_01RIK3/gdbus/message/copy/.dirs/home 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_01RIK3/gdbus/message/copy/.dirs/cache 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_01RIK3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_01RIK3/gdbus/message/copy/.dirs/system-config2 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_01RIK3/gdbus/message/copy/.dirs/config 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_01RIK3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_01RIK3/gdbus/message/copy/.dirs/system-data2 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_01RIK3/gdbus/message/copy/.dirs/data 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_01RIK3/gdbus/message/copy/.dirs/state 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_01RIK3/gdbus/message/copy/.dirs/runtime 1883s ok 2 /gdbus/message/copy 1883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_01RIK3/gdbus/message/bytes-needed/.dirs/home 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_01RIK3/gdbus/message/bytes-needed/.dirs/cache 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_01RIK3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_01RIK3/gdbus/message/bytes-needed/.dirs/system-config2 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_01RIK3/gdbus/message/bytes-needed/.dirs/config 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_01RIK3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_01RIK3/gdbus/message/bytes-needed/.dirs/system-data2 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_01RIK3/gdbus/message/bytes-needed/.dirs/data 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_01RIK3/gdbus/message/bytes-needed/.dirs/state 1883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_01RIK3/gdbus/message/bytes-needed/.dirs/runtime 1883s # Vector: 0 1883s # Vector: 1 1883s # Vector: 2 1883s # Vector: 3 1883s # Vector: 4 1883s # Vector: 5 1883s ok 3 /gdbus/message/bytes-needed 1883s # End of message tests 1883s # End of gdbus tests 1883s ok - glib/gdbus-message.test 1883s # Running test: glib/unix-fd.test 1883s TAP version 14 1883s # random seed: R02Sd7a377621ed5db75e41e7dc5a90a7569 1883s 1..2 1883s # Start of unix-fd tests 1883s ok 1 /unix-fd/fd-list 1883s ok 2 /unix-fd/scm 1883s # End of unix-fd tests 1883s ok - glib/unix-fd.test 1883s # Running test: glib/signals-refcount3.test 1883s TAP version 14 1883s # random seed: R02S18a6f6d13cacef271ffc788cb1f43c8b 1883s 1..1 1883s # Start of gobject tests 1883s # Start of refcount tests 1883s # init 0x64bb775ae2c0 1883s # 1883s # init 0x64bb775a6580 1883s # 1887s # Executing: glib/signals-refcount3.test 1888s ok - glib/signals-refcount3.test 1888s # dispose 0x64bb775ae2c0! 1888s # 1888s # dispose 0x64bb775a6580! 1888s # 1888s ok 1 /gobject/refcount/signals 1888s # slow test /gobject/refcount/signals executed in 5.00 secs 1888s # End of refcount tests 1888s # End of gobject tests 1888s # Running test: glib/pathbuf.test 1888s TAP version 14 1888s # random seed: R02Saa533adb97af109e3e1dc729bd9f73be 1888s 1..3 1888s # Start of pathbuf tests 1888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_BILIK3/pathbuf/init/.dirs/home 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_BILIK3/pathbuf/init/.dirs/cache 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_BILIK3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_BILIK3/pathbuf/init/.dirs/system-config2 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_BILIK3/pathbuf/init/.dirs/config 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_BILIK3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_BILIK3/pathbuf/init/.dirs/system-data2 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_BILIK3/pathbuf/init/.dirs/data 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_BILIK3/pathbuf/init/.dirs/state 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_BILIK3/pathbuf/init/.dirs/runtime 1888s # Initializing empty path buf 1888s # Initializing with empty path 1888s # Initializing with full path 1888s # Initializing with no path 1888s # Allocating GPathBuf on the heap 1888s ok 1 /pathbuf/init 1888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_BILIK3/pathbuf/push-pop/.dirs/home 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_BILIK3/pathbuf/push-pop/.dirs/cache 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_BILIK3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_BILIK3/pathbuf/push-pop/.dirs/system-config2 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_BILIK3/pathbuf/push-pop/.dirs/config 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_BILIK3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_BILIK3/pathbuf/push-pop/.dirs/system-data2 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_BILIK3/pathbuf/push-pop/.dirs/data 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_BILIK3/pathbuf/push-pop/.dirs/state 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_BILIK3/pathbuf/push-pop/.dirs/runtime 1888s # Pushing relative path component 1888s # Pushing absolute path component 1888s # Popping a path component 1888s # Can't pop the last element of a path buffer 1888s ok 2 /pathbuf/push-pop 1888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_BILIK3/pathbuf/filename-extension/.dirs/home 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_BILIK3/pathbuf/filename-extension/.dirs/cache 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_BILIK3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_BILIK3/pathbuf/filename-extension/.dirs/system-config2 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_BILIK3/pathbuf/filename-extension/.dirs/config 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_BILIK3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_BILIK3/pathbuf/filename-extension/.dirs/system-data2 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_BILIK3/pathbuf/filename-extension/.dirs/data 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_BILIK3/pathbuf/filename-extension/.dirs/state 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_BILIK3/pathbuf/filename-extension/.dirs/runtime 1888s ok 3 /pathbuf/filename-extension 1888s # End of pathbuf tests 1888s ok - glib/pathbuf.test 1888s # Running test: glib/memory-monitor-psi.test 1888s TAP version 14 1888s # random seed: R02S6d73d1995655c25fe8e7e7c3e978f3e3 1888s 1..1 1888s # Start of memory-monitor-psi tests 1888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_RLKIK3/memory-monitor-psi/receive-signal/.dirs/home 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_RLKIK3/memory-monitor-psi/receive-signal/.dirs/cache 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_RLKIK3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_RLKIK3/memory-monitor-psi/receive-signal/.dirs/system-config2 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_RLKIK3/memory-monitor-psi/receive-signal/.dirs/config 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_RLKIK3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_RLKIK3/memory-monitor-psi/receive-signal/.dirs/system-data2 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_RLKIK3/memory-monitor-psi/receive-signal/.dirs/data 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_RLKIK3/memory-monitor-psi/receive-signal/.dirs/state 1888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_RLKIK3/memory-monitor-psi/receive-signal/.dirs/runtime 1888s # GLib-GIO-DEBUG: Write trigger some 70000 2000000 1888s # GLib-GIO-DEBUG: Write trigger some 100000 2000000 1888s # GLib-GIO-DEBUG: Write trigger full 100000 2000000 1888s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1888s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1888s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 1888s ok 1 /memory-monitor-psi/receive-signal 1888s # End of memory-monitor-psi tests 1888s TAP version 14 1888s # random seed: R02S25c2c03926e5688e44729b4363e046f6 1888s 1..2 1888s # Start of gio tests 1888s # Start of simple-async-result tests 1888s ok 1 /gio/simple-async-result/test 1888s # GLib-GIO-DEBUG: GTask 0x5b44d8581b10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1888s ok 2 /gio/simple-async-result/valid 1888s # End of simple-async-result tests 1888s # End of gio tests 1888s TAP version 14 1888s # random seed: R02S497a97fd769917f899c47439acf81fb1 1888s 1..1 1888s # Start of completion tests 1888s ok 1 /completion/test-completion 1888s # End of completion tests 1888s TAP version 14 1888s # random seed: R02S39171cef537c268dd4d3f502500e003b 1888s 1..3 1888s # Start of deprecated-properties tests 1888s ok 1 /deprecated-properties/construct 1888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1888s ok 2 /deprecated-properties/default-construct 1888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1888s ok 3 /deprecated-properties/set 1888s # End of deprecated-properties tests 1888s TAP version 14 1888s # random seed: R02S53001b382e995899f4f6a4cf25a587e8 1888s 1..2 1888s # Start of object tests 1888s # Start of constructor tests 1888s ok 1 /object/constructor/singleton 1888s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1888s # End of constructor tests 1888s # End of object tests 1888s TAP version 14 1888s # random seed: R02Sdbbaa9fcb557e2714ba4381299dd5b14 1888s 1..6 1888s # Start of glib tests 1888s # Start of checked-math tests 1888s ok 1 /glib/checked-math/guint-add 1888s ok 2 /glib/checked-math/guint-mul 1888s ok 3 /glib/checked-math/guint64-add 1888s ok 4 /glib/checked-math/guint64-mul 1888s ok 5 /glib/checked-math/gsize-add 1888s ok 6 /glib/checked-math/gsize-mul 1888s # End of checked-math tests 1888s # End of glib tests 1888s ok - glib/memory-monitor-psi.test 1888s # Running test: glib/simple-async-result.test 1888s ok - glib/simple-async-result.test 1888s # Running test: glib/completion.test 1888s ok - glib/completion.test 1888s # Running test: glib/deprecated-properties.test 1888s ok - glib/deprecated-properties.test 1888s # Running test: glib/object.test 1888s ok - glib/object.test 1888s # Running test: glib/overflow.test 1888s ok - glib/overflow.test 1888s # Running test: glib/strfuncs.test 1888s TAP version 14 1888s # random seed: R02S3071272482584ce501c89abb53e165b1 1888s 1..52 1888s # Start of strfuncs tests 1888s ok 1 /strfuncs/ascii-strcasecmp 1888s ok 2 /strfuncs/ascii_strdown 1888s ok 3 /strfuncs/ascii_strdup 1888s ok 4 /strfuncs/ascii_strtod 1888s ok 5 /strfuncs/bounds-check 1888s ok 6 /strfuncs/has-prefix 1888s ok 7 /strfuncs/has-prefix-macro 1888s ok 8 /strfuncs/has-suffix 1888s ok 9 /strfuncs/has-suffix-macro 1888s ok 10 /strfuncs/memdup 1888s ok 11 /strfuncs/memdup2 1888s ok 12 /strfuncs/set_str 1888s ok 13 /strfuncs/stpcpy 1888s ok 14 /strfuncs/str_match_string 1888s ok 15 /strfuncs/str_tokenize_and_fold 1888s ok 16 /strfuncs/strcanon 1888s ok 17 /strfuncs/strchomp 1888s ok 18 /strfuncs/strchug 1888s ok 19 /strfuncs/strcompress-strescape 1888s ok 20 /strfuncs/strconcat 1888s ok 21 /strfuncs/strdelimit 1888s ok 22 /strfuncs/strdup 1888s ok 23 /strfuncs/strdup-printf 1888s ok 24 /strfuncs/strdupv 1888s ok 25 /strfuncs/strerror 1888s ok 26 /strfuncs/strip-context 1888s ok 27 /strfuncs/strjoin 1888s ok 28 /strfuncs/strjoinv 1888s ok 29 /strfuncs/strlcat 1888s ok 30 /strfuncs/strlcpy 1888s ok 31 /strfuncs/strncasecmp 1888s ok 32 /strfuncs/strndup 1888s ok 33 /strfuncs/strnfill 1888s ok 34 /strfuncs/strreverse 1888s ok 35 /strfuncs/strsignal 1888s ok 36 /strfuncs/strsplit 1888s ok 37 /strfuncs/strsplit-set 1888s ok 38 /strfuncs/strstr 1888s ok 39 /strfuncs/strtod 1888s ok 40 /strfuncs/strtoull-strtoll 1888s ok 41 /strfuncs/strup 1888s ok 42 /strfuncs/strv-contains 1888s ok 43 /strfuncs/strv-equal 1888s ok 44 /strfuncs/strv-length 1888s ok 45 /strfuncs/test-is-to-digit 1888s ok 46 /strfuncs/transliteration 1888s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1888s ok 47 /strfuncs/str-equal 1888s ok 48 /strfuncs/str-is-ascii 1888s # Start of ascii-string-to-num tests 1888s ok 49 /strfuncs/ascii-string-to-num/pathological 1888s ok 50 /strfuncs/ascii-string-to-num/usual 1888s # End of ascii-string-to-num tests 1888s # Start of strdup tests 1888s ok 51 /strfuncs/strdup/inline 1888s # End of strdup tests 1888s # Start of strjoinv tests 1888s ok 52 /strfuncs/strjoinv/overflow # SKIP Overflow joining strings requires G_MAXSIZE <= G_MAXUINT. 1888s # End of strjoinv tests 1888s ok - glib/strfuncs.test 1888s # Running test: glib/logging.test 1888s # End of strfuncs tests 1888s TAP version 14 1888s # random seed: R02S15ca87f3e65cf4feaf4a94b5f8354500 1888s 1..20 1888s # Start of logging tests 1889s ok 1 /logging/default-handler 1889s # slow test /logging/default-handler executed in 0.76 secs 1889s ok 2 /logging/journald-handler 1889s ok 3 /logging/warnings 1889s ok 4 /logging/fatal-log-mask 1889s ok 5 /logging/always-fatal 1889s # bu-DEBUG: message 1889s # ba-DEBUG: message 1889s # ba-INFO: message 1889s ok 6 /logging/set-handler 1889s ok 7 /logging/print-handler 1889s ok 8 /logging/printerr-handler 1889s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1889s # The Log Message Handler 1889s # 1889s # The Good Fail Message Handler 1889s # 1889s ok 9 /logging/653052 1889s ok 10 /logging/gibberish 1889s # Start of default-handler tests 1889s # Start of subprocess tests 1889s # End of subprocess tests 1889s # End of default-handler tests 1889s # End of logging tests 1889s # Start of structured-logging tests 1889s ok 11 /structured-logging/no-state 1889s ok 12 /structured-logging/some-state 1889s # /structured-logging/recursion-overflow summary: Test that g_log_structured always sets n_fields correctly. 1889s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3760 1889s ok 13 /structured-logging/recursion-overflow 1889s ok 14 /structured-logging/robustness 1889s ok 15 /structured-logging/roundtrip1 1889s ok 16 /structured-logging/roundtrip2 1889s ok 17 /structured-logging/roundtrip3 1889s ok 18 /structured-logging/variant1 1889s ok 19 /structured-logging/variant2 1889s ok 20 /structured-logging/set-writer-func-twice 1889s # End of structured-logging tests 1889s TAP version 14 1889s # random seed: R02Sfb24db6694b5d0c3133958048785b58d 1889s 1..19 1889s # Start of tls-certificate tests 1889s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1889s ok 1 /tls-certificate/pem-parser 1889s ok 2 /tls-certificate/pem-parser-handles-chain 1889s ok 3 /tls-certificate/from_file 1889s ok 4 /tls-certificate/from_files 1889s ok 5 /tls-certificate/from_files_crlf 1889s ok 6 /tls-certificate/from_files_pkcs8 1889s ok 7 /tls-certificate/from_files_pkcs8enc 1889s ok 8 /tls-certificate/list_from_file 1889s ok 9 /tls-certificate/pkcs11-uri 1889s ok 10 /tls-certificate/pkcs11-uri-unsupported 1889s ok 11 /tls-certificate/from_pkcs12 1889s ok 12 /tls-certificate/from_pkcs12_file 1889s ok 13 /tls-certificate/not-valid-before 1889s ok 14 /tls-certificate/not-valid-after 1889s ok 15 /tls-certificate/subject-name 1889s ok 16 /tls-certificate/issuer-name 1889s ok 17 /tls-certificate/dns-names 1889s ok 18 /tls-certificate/ip-addresses 1889s ok 19 /tls-certificate/pem-parser-no-sentinel 1889s # End of tls-certificate tests 1889s TAP version 14 1889s # random seed: R02S5c395a8a46b11debda0bed674ecffe8f 1889s 1..2 1889s # Start of cmph-bdz tests 1889s ok 1 /cmph-bdz/search 1889s ok 2 /cmph-bdz/search-packed 1889s # End of cmph-bdz tests 1889s ok - glib/logging.test 1889s # Running test: glib/tls-certificate.test 1889s ok - glib/tls-certificate.test 1889s # Running test: glib/cmph-bdz.test 1889s ok - glib/cmph-bdz.test 1889s # Running test: glib/live-g-file.test 1889s TAP version 14 1889s # random seed: R02Sa87d87023950281dec5fda65619283d9 1889s 1..13 1889s # Start of live-g-file tests 1889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/prep_clean_structure/.dirs/home 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/prep_clean_structure/.dirs/cache 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_QN1BK3/live-g-file/prep_clean_structure/.dirs/system-config2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/prep_clean_structure/.dirs/config 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_QN1BK3/live-g-file/prep_clean_structure/.dirs/system-data2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/prep_clean_structure/.dirs/data 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/prep_clean_structure/.dirs/state 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QN1BK3/live-g-file/prep_clean_structure/.dirs/runtime 1889s # Cleaning target testing structure in '/tmp/test_live-g-file_QN1BK3/testdir_live-g-file'... 1889s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1889s ok 1 /live-g-file/prep_clean_structure 1889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/create_structure/.dirs/home 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/create_structure/.dirs/cache 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_QN1BK3/live-g-file/create_structure/.dirs/system-config2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/create_structure/.dirs/config 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_QN1BK3/live-g-file/create_structure/.dirs/system-data2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/create_structure/.dirs/data 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/create_structure/.dirs/state 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QN1BK3/live-g-file/create_structure/.dirs/runtime 1889s # 1889s # Going to create testing structure in '/tmp/test_live-g-file_QN1BK3/testdir_live-g-file'... 1889s # Creating directory 'dir1'... 1889s # Creating directory 'dir1/subdir'... 1889s # Creating directory 'dir2'... 1889s # Creating directory 'dir-target'... 1889s # Creating directory 'dir_no-access'... 1889s # Creating directory 'dir_no-write'... 1889s # Creating file 'target-file'... 1889s # Creating file 'normal_file'... 1889s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1889s # Creating file 'executable_file'... 1889s # Creating file 'private_file'... 1889s # Creating file 'normal_file2'... 1889s # Creating file 'readonly_file'... 1889s # Creating file 'UTF_příliš z'... 1889s # Creating directory 'dir_příliš z'... 1889s # Creating symlink 'lost_symlink' --> 'nowhere'... 1889s # Creating directory 'dir_hidden'... 1889s # Creating file 'dir_hidden/.a-hidden-file'... 1889s # Creating file 'dir_hidden/file-in-.hidden1'... 1889s # Creating file 'dir_hidden/file-in-.hidden2'... 1889s # Creating pattern file... 1889s # done. 1889s ok 2 /live-g-file/create_structure 1889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_initial_structure/.dirs/home 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_initial_structure/.dirs/cache 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_initial_structure/.dirs/system-config2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_initial_structure/.dirs/config 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_initial_structure/.dirs/system-data2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_initial_structure/.dirs/data 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_initial_structure/.dirs/state 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QN1BK3/live-g-file/test_initial_structure/.dirs/runtime 1889s # Testing sample structure in '/tmp/test_live-g-file_QN1BK3/testdir_live-g-file'... 1889s # Testing file 'dir1'... 1889s # Testing file 'dir1/subdir'... 1889s # Testing file 'dir2'... 1889s # Testing file 'dir-target'... 1889s # Testing file 'dir_no-access'... 1889s # Testing file 'dir_no-write'... 1889s # Testing file 'target-file'... 1889s # Testing file 'normal_file'... 1889s # Testing file 'normal_file-symlink'... 1889s # Testing file 'executable_file'... 1889s # Testing file 'private_file'... 1889s # Testing file 'normal_file2'... 1889s # Testing file 'readonly_file'... 1889s # Testing file 'UTF_příliš z'... 1889s # Testing file 'dir_příliš z'... 1889s # Testing file 'lost_symlink'... 1889s # Testing file 'dir_hidden'... 1889s # Testing file 'dir_hidden/.a-hidden-file'... 1889s # Testing file 'dir_hidden/file-in-.hidden1'... 1889s # Testing file 'dir_hidden/file-in-.hidden2'... 1889s # Testing pattern file... 1889s # read 65536 bytes, total = 65536 of 65536. 1889s ok 3 /live-g-file/test_initial_structure 1889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_traverse_structure/.dirs/home 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_traverse_structure/.dirs/cache 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_traverse_structure/.dirs/system-config2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_traverse_structure/.dirs/config 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_traverse_structure/.dirs/system-data2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_traverse_structure/.dirs/data 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_traverse_structure/.dirs/state 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QN1BK3/live-g-file/test_traverse_structure/.dirs/runtime 1889s # Traversing through the sample structure in '/tmp/test_live-g-file_QN1BK3/testdir_live-g-file'... 1889s # Found file dir1, relative to root: dir1 1889s # Found file subdir, relative to root: dir1/subdir 1889s # Found file dir2, relative to root: dir2 1889s # Found file dir-target, relative to root: dir-target 1889s # Found file dir_no-access, relative to root: dir_no-access 1889s # Found file dir_no-write, relative to root: dir_no-write 1889s # Found file target-file, relative to root: target-file 1889s # Found file normal_file, relative to root: normal_file 1889s # Found file normal_file-symlink, relative to root: normal_file-symlink 1889s # Found file executable_file, relative to root: executable_file 1889s # Found file private_file, relative to root: private_file 1889s # Found file normal_file2, relative to root: normal_file2 1889s # Found file readonly_file, relative to root: readonly_file 1889s # Found file UTF_příliš z, relative to root: UTF_příliš z 1889s # Found file dir_příliš z, relative to root: dir_příliš z 1889s # Found file lost_symlink, relative to root: lost_symlink 1889s # Found file dir_hidden, relative to root: dir_hidden 1889s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1889s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1889s # Found file .hidden, relative to root: dir_hidden/.hidden 1889s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1889s # Found file pattern_file, relative to root: pattern_file 1889s ok 4 /live-g-file/test_traverse_structure 1889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_enumerate/.dirs/home 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_enumerate/.dirs/cache 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_enumerate/.dirs/system-config2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_enumerate/.dirs/config 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_enumerate/.dirs/system-data2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_enumerate/.dirs/data 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_enumerate/.dirs/state 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QN1BK3/live-g-file/test_enumerate/.dirs/runtime 1889s # Test enumerate '/tmp/test_live-g-file_QN1BK3/testdir_live-g-file'... 1889s # Testing file 'dir_no-access' 1889s # Testing file 'normal_file' 1889s # Testing file 'normal_file-symlink' 1889s # Testing file 'not_exists' 1889s # Testing file 'not_exists' 1889s # Testing file 'not_exists2' 1889s # Testing file 'not_exists3' 1889s # Testing file 'not_exists4' 1889s # Testing file 'dir_no-execute/file' 1889s ok 5 /live-g-file/test_enumerate 1889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_open/.dirs/home 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_open/.dirs/cache 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_open/.dirs/system-config2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_open/.dirs/config 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_open/.dirs/system-data2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_open/.dirs/data 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_open/.dirs/state 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QN1BK3/live-g-file/test_open/.dirs/runtime 1889s # test_open: 'dir1' 1889s # test_open: 'dir_no-access' 1889s # test_open: 'target-file' 1889s # test_open: 'normal_file-symlink' 1889s # test_open: 'executable_file' 1889s # test_open: 'private_file' 1889s # test_open: 'readonly_file' 1889s # test_open: 'UTF_příliš z' 1889s # test_open: 'pattern_file' 1889s # test_open: 'not_exists' 1889s # test_open: 'dir_no-execute/file' 1889s # test_open: 'lost_symlink' 1889s ok 6 /live-g-file/test_open 1889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_create/.dirs/home 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_create/.dirs/cache 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_create/.dirs/system-config2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_create/.dirs/config 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_create/.dirs/system-data2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_create/.dirs/data 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_create/.dirs/state 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QN1BK3/live-g-file/test_create/.dirs/runtime 1889s # test_create: 'dir1' 1889s # error code 3 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir1”: Is a directory 1889s # test_create: 'dir1/subdir' 1889s # error code 3 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir1/subdir”: Is a directory 1889s # test_create: 'dir2' 1889s # error code 2 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir2”: File exists 1889s # test_create: 'normal_file' 1889s # error code 2 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/normal_file”: File exists 1889s # test_create: 'executable_file' 1889s # test_create: 'private_file' 1889s # test_create: 'normal_file2' 1889s # test_create: 'UTF_příliš z' 1889s # error code 2 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/UTF_příliš z”: File exists 1889s # test_create: 'dir_příliš z' 1889s # error code 2 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_příliš z”: File exists 1889s # test_create: 'pattern_file' 1889s # test_create: 'not_exists2' 1889s # test_create: 'not_exists3' 1889s # test_create: 'not_exists4' 1889s ok 7 /live-g-file/test_create 1889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_copy_move/.dirs/home 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_copy_move/.dirs/cache 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_copy_move/.dirs/system-config2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_copy_move/.dirs/config 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_copy_move/.dirs/system-data2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_copy_move/.dirs/data 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_copy_move/.dirs/state 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QN1BK3/live-g-file/test_copy_move/.dirs/runtime 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1889s # res = 0, error code 25 = Can’t recursively copy directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'dir1/subdir' --> '.' 1889s # res = 0, error code 2 = Target file exists 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'dir1/subdir' --> 'target-file' 1889s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1889s # res = 0, error code 25 = Can’t recursively copy directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1889s # res = 0, error code 25 = Can’t recursively copy directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1889s # res = 0, error code 25 = Can’t recursively copy directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'dir2' --> 'dir-target' 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'dir-target' --> 'dir-target' 1889s # res = 0, error code 25 = Can’t recursively copy directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'dir-target' --> '.' 1889s # res = 0, error code 2 = Target file exists 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'dir-target' --> 'target-file' 1889s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/target-file/dir-target”: Not a directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'dir-target' --> 'not_exists' 1889s # res = 0, error code 25 = Can’t recursively copy directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'dir-target' --> 'dir_no-access' 1889s # res = 0, error code 25 = Can’t recursively copy directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'dir-target' --> 'dir_no-write' 1889s # res = 0, error code 25 = Can’t recursively copy directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'target-file' --> 'dir-target' 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'target-file' --> '.' 1889s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/target-file”: File exists 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'target-file' --> 'target-file' 1889s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/target-file/target-file”: Not a directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'target-file' --> 'not_exists' 1889s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists/target-file”: No such file or directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'target-file' --> 'dir_no-access' 1889s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-access/target-file”: Permission denied 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'target-file' --> 'dir_no-write' 1889s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-write/target-file”: Permission denied 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'normal_file-symlink' --> '.' 1889s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/normal_file-symlink: File exists 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1889s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1889s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1889s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1889s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'executable_file' --> 'dir-target' 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'executable_file' --> 'dir-target' 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'executable_file' --> '.' 1889s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/executable_file”: File exists 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'executable_file' --> 'target-file' 1889s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/target-file/executable_file”: Not a directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'executable_file' --> 'not_exists' 1889s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists/executable_file”: No such file or directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'executable_file' --> 'dir_no-access' 1889s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'executable_file' --> 'dir_no-write' 1889s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'private_file' --> 'dir-target' 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'private_file' --> 'dir-target' 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'private_file' --> '.' 1889s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/private_file”: File exists 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'private_file' --> 'target-file' 1889s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/target-file/private_file”: Not a directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'private_file' --> 'not_exists' 1889s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists/private_file”: No such file or directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'private_file' --> 'dir_no-access' 1889s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-access/private_file”: Permission denied 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'private_file' --> 'dir_no-write' 1889s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-write/private_file”: Permission denied 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'normal_file2' --> 'dir-target' 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'normal_file2' --> 'dir-target' 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'normal_file2' --> '.' 1889s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/normal_file2”: File exists 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'normal_file2' --> 'target-file' 1889s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/target-file/normal_file2”: Not a directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'normal_file2' --> 'not_exists' 1889s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1889s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1889s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'UTF_příliš z' --> '.' 1889s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/UTF_příliš z”: File exists 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'UTF_příliš z' --> 'target-file' 1889s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'UTF_příliš z' --> 'not_exists' 1889s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access' 1889s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write' 1889s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'pattern_file' --> 'dir-target' 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'pattern_file' --> '.' 1889s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/pattern_file”: File exists 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'pattern_file' --> 'target-file' 1889s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/target-file/pattern_file”: Not a directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'pattern_file' --> 'not_exists' 1889s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1889s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1889s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'not_exists' --> 'dir-target' 1889s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists”: No such file or directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'not_exists' --> '.' 1889s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists”: No such file or directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'not_exists' --> 'target-file' 1889s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists”: No such file or directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'not_exists' --> 'not_exists' 1889s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists”: No such file or directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'not_exists' --> 'dir_no-access' 1889s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists”: No such file or directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'not_exists' --> 'dir_no-write' 1889s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists”: No such file or directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'not_exists' --> 'dir-target' 1889s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists: No such file or directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'lost_symlink' --> 'dir-target' 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'lost_symlink' --> '.' 1889s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/lost_symlink: File exists 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'lost_symlink' --> 'target-file' 1889s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/target-file/lost_symlink: Not a directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'lost_symlink' --> 'not_exists' 1889s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1889s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1889s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1889s ok 8 /live-g-file/test_copy_move 1889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_delete/.dirs/home 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_delete/.dirs/cache 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_delete/.dirs/system-config2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_delete/.dirs/config 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_delete/.dirs/system-data2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_delete/.dirs/data 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_delete/.dirs/state 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QN1BK3/live-g-file/test_delete/.dirs/runtime 1889s # Deleting dir1, path = /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir1 1889s # result = 0, error = Error removing file /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir1: Directory not empty 1889s # Deleting dir2, path = /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir2 1889s # result = 0, error = Error removing file /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir2: No such file or directory 1889s # Deleting executable_file, path = /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/executable_file 1889s # result = 0, error = Error trashing file /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/executable_file: No such file or directory 1889s # Deleting readonly_file, path = /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/readonly_file 1889s # Deleting dir_příliš z, path = /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_příliš z 1889s # Deleting not_exists, path = /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists 1889s # result = 0, error = Error removing file /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists: No such file or directory 1889s # Deleting not_exists, path = /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists 1889s # result = 0, error = Error trashing file /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/not_exists: No such file or directory 1889s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-execute/file 1889s # result = 0, error = Error removing file /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/dir_no-execute/file: No such file or directory 1889s # Deleting lost_symlink, path = /tmp/test_live-g-file_QN1BK3/testdir_live-g-file/lost_symlink 1889s ok 9 /live-g-file/test_delete 1889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_make_directory_with_parents/.dirs/home 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_make_directory_with_parents/.dirs/cache 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_make_directory_with_parents/.dirs/system-config2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_make_directory_with_parents/.dirs/config 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_make_directory_with_parents/.dirs/system-data2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_make_directory_with_parents/.dirs/data 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_make_directory_with_parents/.dirs/state 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QN1BK3/live-g-file/test_make_directory_with_parents/.dirs/runtime 1889s # We do not have CAP_DAC_OVERRIDE or equivalent 1889s ok 10 /live-g-file/test_make_directory_with_parents 1889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/final_clean/.dirs/home 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/final_clean/.dirs/cache 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_QN1BK3/live-g-file/final_clean/.dirs/system-config2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/final_clean/.dirs/config 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_QN1BK3/live-g-file/final_clean/.dirs/system-data2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/final_clean/.dirs/data 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/final_clean/.dirs/state 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QN1BK3/live-g-file/final_clean/.dirs/runtime 1889s # Cleaning target testing structure in '/tmp/test_live-g-file_QN1BK3/testdir_live-g-file'... 1889s # deleting 'dir1' 1889s # deleting 'subdir' 1889s # deleting 'dir-target' 1889s # deleting 'dir2' 1889s # deleting 'target-file' 1889s # deleting 'normal_file-symlink' 1889s # deleting 'pattern_file' 1889s # deleting 'executable_file' 1889s # deleting 'private_file' 1889s # deleting 'normal_file2' 1889s # deleting 'UTF_příliš z' 1889s # deleting 'lost_symlink' 1889s # deleting 'dir_no-access' 1889s # deleting 'dir_no-write' 1889s # deleting 'target-file' 1889s # deleting 'normal_file' 1889s # deleting 'normal_file-symlink' 1889s # deleting 'executable_file~' 1889s # deleting 'private_file' 1889s # deleting 'normal_file2~' 1889s # deleting 'a' 1889s # deleting 'UTF_příliš z' 1889s # deleting 'dir_hidden' 1889s # deleting '.a-hidden-file' 1889s # deleting 'file-in-.hidden1' 1889s # deleting '.hidden' 1889s # deleting 'file-in-.hidden2' 1889s # deleting 'pattern_file' 1889s # deleting 'executable_file' 1889s # deleting 'normal_file2' 1889s # deleting 'not_exists2' 1889s # deleting 'not_exists3' 1889s # deleting 'not_exists4' 1889s ok 11 /live-g-file/final_clean 1889s # Start of test_unix_is_mountpoint tests 1889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 1889s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 1889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QN1BK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 1889s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1889s # End of test_unix_is_mountpoint tests 1889s # End of live-g-file tests 1889s TAP version 14 1889s # random seed: R02S138340c171bc5f3523562d76a3b30868 1889s 1..17 1889s # Start of converter tests 1889s ok 1 /converter/basics 1889s # End of converter tests 1889s # Start of converter-input-stream tests 1889s ok 2 /converter-input-stream/expander 1889s ok 3 /converter-input-stream/compressor 1889s # Start of truncation tests 1889s ok - glib/live-g-file.test 1889s # Running test: glib/converter-stream.test 1889s ok 4 /converter-input-stream/truncation/zlib 1889s ok 5 /converter-input-stream/truncation/gzip 1889s ok 6 /converter-input-stream/truncation/raw 1889s # End of truncation tests 1889s # Start of charset tests 1889s ok 7 /converter-input-stream/charset/utf8->latin1 1889s ok 8 /converter-input-stream/charset/latin1->utf8 1889s ok 9 /converter-input-stream/charset/fallbacks 1889s # End of charset tests 1889s # End of converter-input-stream tests 1889s # Start of converter-output-stream tests 1889s # Start of roundtrip tests 1889s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1889s ok 10 /converter-output-stream/roundtrip/zlib-0 1889s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1889s ok 11 /converter-output-stream/roundtrip/zlib-9 1889s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1889s ok 12 /converter-output-stream/roundtrip/gzip-0 1889s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1889s ok 13 /converter-output-stream/roundtrip/gzip-9 1889s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1889s ok 14 /converter-output-stream/roundtrip/raw-0 1889s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1890s ok 15 /converter-output-stream/roundtrip/raw-9 1890s ok - glib/converter-stream.test 1890s # End of roundtrip tests 1890s # End of converter-output-stream tests 1890s # Start of converter-stream tests 1890s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1890s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x637accae8ae0 and GSocketClientAsyncConnectData 0x637accae1240 1890s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1890s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1890s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x637acc727bd0 for GSocketClientAsyncConnectData 0x637accae1240 1890s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1890s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1890s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1890s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1890s ok 16 /converter-stream/pollable 1890s ok 17 /converter-stream/leftover 1890s # End of converter-stream tests 1890s TAP version 14 1890s # random seed: R02S124939076cb1d953bf3afef87192f9de 1890s 1..1 1890s # Start of memory-monitor tests 1890s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1890s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’ 1890s ok 1 /memory-monitor/default 1890s # End of memory-monitor tests 1890s TAP version 14 1890s # random seed: R02Sd5617709aee21e07e8518e73f8ba9122 1890s 1..30 1890s # Start of socket tests 1890s # Running test: glib/memory-monitor.test 1890s ok - glib/memory-monitor.test 1890s # Running test: glib/socket.test 1890s ok 1 /socket/ipv4_sync 1890s # slow test /socket/ipv4_sync executed in 1.00 secs 1891s ok 2 /socket/ipv4_async 1891s # slow test /socket/ipv4_async executed in 1.00 secs 1891s ok 3 /socket/ipv6_sync 1891s ok 4 /socket/ipv6_async 1891s ok 5 /socket/ipv6_v4mapped 1892s # Executing: glib/socket.test 1892s ok 6 /socket/close_graceful 1892s # slow test /socket/close_graceful executed in 1.00 secs 1892s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1892s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1892s ok 8 /socket/fd_reuse 1892s ok 9 /socket/address 1892s ok 10 /socket/unix-from-fd 1892s ok 11 /socket/unix-connection 1892s ok 12 /socket/unix-connection-ancillary-data 1892s ok 13 /socket/source-postmortem 1892s ok 14 /socket/read_write 1892s ok 15 /socket/read_writev 1892s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1892s ok 16 /socket/receive_bytes 1892s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1892s ok 17 /socket/receive_bytes_from 1892s # Start of ipv4_sync tests 1892s ok 18 /socket/ipv4_sync/datagram 1892s # Start of datagram tests 1893s ok 19 /socket/ipv4_sync/datagram/timeouts 1893s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1893s # End of datagram tests 1893s # End of ipv4_sync tests 1893s # Start of ipv6_sync tests 1893s ok 20 /socket/ipv6_sync/datagram 1893s # Start of datagram tests 1894s ok 21 /socket/ipv6_sync/datagram/timeouts 1894s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1894s # End of datagram tests 1894s # End of ipv6_sync tests 1894s # Start of reuse tests 1894s ok 22 /socket/reuse/tcp 1894s ok 23 /socket/reuse/udp 1894s # End of reuse tests 1894s # Start of get_available tests 1894s ok 24 /socket/get_available/datagram 1894s ok 25 /socket/get_available/stream 1894s # End of get_available tests 1894s # Start of credentials tests 1894s # Supported on this OS: GCredentials:linux-ucred:pid=0 1894s ok 26 /socket/credentials/tcp_client 1894s # Supported on this OS: GCredentials:linux-ucred:pid=0 1894s ok 27 /socket/credentials/tcp_server 1894s # Supported on this OS: GCredentials:linux-ucred:pid=38758,uid=1000,gid=1000 1894s ok 28 /socket/credentials/unix_socketpair 1894s # End of credentials tests 1894s # Start of accept tests 1894s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1894s ok 29 /socket/accept/cancelled 1894s # End of accept tests 1894s # Start of connect tests 1894s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1894s ok 30 /socket/connect/cancelled 1894s # End of connect tests 1894s # End of socket tests 1894s ok - glib/socket.test 1894s # Running test: glib/cxx-17.test 1894s TAP version 14 1894s # random seed: R02S7e9f2371594a14ac154493191a4f991f 1894s 1..2 1894s # Start of gtask tests 1894s # 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. 1894s ok 1 /gtask/name 1894s # Start of name tests 1894s # 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. 1894s ok 2 /gtask/name/macro-wrapper 1894s # End of name tests 1894s # End of gtask tests 1895s ok - glib/cxx-17.test 1895s # Running test: glib/module-test-plugin.test 1895s ok - glib/module-test-plugin.test 1895s # Running test: glib/type-flags.test 1895s ok - glib/type-flags.test 1895s # Running test: glib/shell.test 1895s TAP version 14 1895s # random seed: R02S12452d8b8030309a864e989d35240778 1895s 1..3 1895s # Start of module tests 1895s ok 1 /module/basics 1895s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1895s ok 2 /module/invalid-libtool-archive 1895s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1895s ok 3 /module/local-binding 1895s # End of module tests 1895s TAP version 14 1895s # random seed: R02Saf4c6abf2c428451f1cc7d545c3e170c 1895s 1..4 1895s # Start of type tests 1895s # Start of flags tests 1895s ok 1 /type/flags/interface 1895s ok 2 /type/flags/final 1895s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1895s ok 3 /type/flags/deprecated 1895s # Start of final tests 1895s ok 4 /type/flags/final/instance-check 1895s # End of final tests 1895s # End of flags tests 1895s # End of type tests 1895s TAP version 14 1895s # random seed: R02Sb1073775d8c99b6064d02071d3d00864 1895s 1..52 1895s # Start of shell tests 1895s # Start of cmdline tests 1895s test cmdline: foo bar 1895s ok 1 /shell/cmdline/0 1895s test cmdline: foo 'bar' 1895s ok 2 /shell/cmdline/1 1895s test cmdline: foo "bar" 1895s ok 3 /shell/cmdline/2 1895s test cmdline: foo '' 'bar' 1895s ok 4 /shell/cmdline/3 1895s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1895s ok 5 /shell/cmdline/4 1895s test cmdline: foo blah foo bar baz 1895s ok 6 /shell/cmdline/5 1895s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1895s ok 7 /shell/cmdline/6 1895s test cmdline: foo \ 1895s bar 1895s ok 8 /shell/cmdline/7 1895s test cmdline: foo '' '' 1895s ok 9 /shell/cmdline/8 1895s test cmdline: foo \" la la la 1895s ok 10 /shell/cmdline/9 1895s test cmdline: foo \ foo woo woo\ 1895s ok 11 /shell/cmdline/10 1895s test cmdline: foo "yada yada \$\"" 1895s ok 12 /shell/cmdline/11 1895s test cmdline: foo "c:\\" 1895s ok 13 /shell/cmdline/12 1895s test cmdline: foo # bla bla bla 1895s bar 1895s ok 14 /shell/cmdline/13 1895s test cmdline: foo a#b 1895s ok 15 /shell/cmdline/14 1895s test cmdline: #foo 1895s ok 16 /shell/cmdline/15 1895s test cmdline: foo bar \ 1895s ok 17 /shell/cmdline/16 1895s test cmdline: foo 'bar baz 1895s ok 18 /shell/cmdline/17 1895s test cmdline: foo '"bar" baz 1895s ok 19 /shell/cmdline/18 1895s test cmdline: 1895s ok 20 /shell/cmdline/19 1895s test cmdline: 1895s ok 21 /shell/cmdline/20 1895s test cmdline: # foo bar 1895s ok 22 /shell/cmdline/21 1895s test cmdline: # 1895s ok 23 /shell/cmdline/22 1895s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1895s ok 24 /shell/cmdline/23 1895s # End of cmdline tests 1895s # Start of quote tests 1895s ok 25 /shell/quote/0 1895s ok 26 /shell/quote/1 1895s ok 27 /shell/quote/2 1895s ok 28 /shell/quote/3 1895s ok 29 /shell/quote/4 1895s ok 30 /shell/quote/5 1895s ok 31 /shell/quote/6 1895s # End of quote tests 1895s # Start of unquote tests 1895s ok 32 /shell/unquote/0 1895s ok 33 /shell/unquote/1 1895s ok 34 /shell/unquote/2 1895s ok 35 /shell/unquote/3 1895s ok 36 /shell/unquote/4 1895s ok 37 /shell/unquote/5 1895s ok 38 /shell/unquote/6 1895s ok 39 /shell/unquote/7 1895s ok 40 /shell/unquote/8 1895s ok 41 /shell/unquote/9 1895s ok 42 /shell/unquote/10 1895s ok 43 /shell/unquote/11 1895s ok 44 /shell/unquote/12 1895s ok 45 /shell/unquote/13 1895s ok 46 /shell/unquote/14 1895s ok 47 /shell/unquote/15 1895s ok 48 /shell/unquote/16 1895s ok 49 /shell/unquote/17 1895s ok 50 /shell/unquote/18 1895s ok 51 /shell/unquote/19 1895s ok 52 /shell/unquote/20 1895s # End of unquote tests 1895s # End of shell tests 1895s TAP version 14 1895s # random seed: R02S23025b2c1a0fb9f7dc6562264176b475 1895s 1..3 1895s # Start of io-stream tests 1895s ok 1 /io-stream/copy-chunks 1895s # Start of close tests 1895s # Start of async tests 1895s ok 2 /io-stream/close/async/memory 1895s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1895s ok 3 /io-stream/close/async/file 1895s # End of async tests 1895s # End of close tests 1895s # End of io-stream tests 1895s TAP version 14 1895s # random seed: R02S3f90aecee8322aac1e5b8c6eae6d8a49 1895s 1..3 1895s # Start of converter tests 1895s ok 1 /converter/bytes 1895s ok 2 /converter/extra-bytes-at-end 1895s ok 3 /converter/gzip-os-property 1895s # End of converter tests 1895s TAP version 14 1895s # random seed: R02Sc093767a7349fe9081764fa4a8baf6d8 1895s 1..1 1895s # Start of portal-support tests 1895s # Start of flatpak tests 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_HB1AK3/portal-support/flatpak/none/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_HB1AK3/portal-support/flatpak/none/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_HB1AK3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_HB1AK3/portal-support/flatpak/none/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_HB1AK3/portal-support/flatpak/none/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_HB1AK3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_HB1AK3/portal-support/flatpak/none/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_HB1AK3/portal-support/flatpak/none/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_HB1AK3/portal-support/flatpak/none/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_HB1AK3/portal-support/flatpak/none/.dirs/runtime 1895s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_HB1AK3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1895s ok 1 /portal-support/flatpak/none 1895s # End of flatpak tests 1895s # End of portal-support tests 1895s TAP version 14 1895s # random seed: R02Sce8e80df73321a8389c1016bc6c2d277 1895s 1..2 1895s # Start of GObject tests 1895s ok 1 /GObject/threaded-dynamic-ref-unref-init 1895s ok 2 /GObject/dynamic-interface-properties 1895s # End of GObject tests 1895s TAP version 14 1895s # random seed: R02Sa2d24021a5b2ea6dcad88ac25076808b 1895s 1..90 1895s # Start of pattern tests 1895s # Start of compile tests 1895s ok 1 /pattern/compile/0 1895s ok 2 /pattern/compile/1 1895s ok 3 /pattern/compile/2 1895s ok 4 /pattern/compile/3 1895s ok 5 /pattern/compile/4 1895s ok 6 /pattern/compile/5 1895s ok 7 /pattern/compile/6 1895s ok 8 /pattern/compile/7 1895s ok 9 /pattern/compile/8 1895s ok 10 /pattern/compile/9 1895s ok 11 /pattern/compile/10 1895s ok 12 /pattern/compile/11 1895s ok 13 /pattern/compile/12 1895s ok 14 /pattern/compile/13 1895s # End of compile tests 1895s # Start of copy tests 1895s ok 15 /pattern/copy/0 1895s ok 16 /pattern/copy/1 1895s ok 17 /pattern/copy/2 1895s ok 18 /pattern/copy/3 1895s ok 19 /pattern/copy/4 1895s ok 20 /pattern/copy/5 1895s ok 21 /pattern/copy/6 1895s ok 22 /pattern/copy/7 1895s ok 23 /pattern/copy/8 1895s ok 24 /pattern/copy/9 1895s ok 25 /pattern/copy/10 1895s ok 26 /pattern/copy/11 1895s ok 27 /pattern/copy/12 1895s ok 28 /pattern/copy/13 1895s # End of copy tests 1895s # Start of match tests 1895s ok 29 /pattern/match/0 1895s ok 30 /pattern/match/1 1895s ok 31 /pattern/match/2 1895s ok 32 /pattern/match/3 1895s ok 33 /pattern/match/4 1895s ok 34 /pattern/match/5 1895s ok 35 /pattern/match/6 1895s ok 36 /pattern/match/7 1895s ok 37 /pattern/match/8 1895s ok 38 /pattern/match/9 1895s ok 39 /pattern/match/10 1895s ok 40 /pattern/match/11 1895s ok 41 /pattern/match/12 1895s ok 42 /pattern/match/13 1895s ok 43 /pattern/match/14 1895s ok 44 /pattern/match/15 1895s ok 45 /pattern/match/16 1895s ok 46 /pattern/match/17 1895s ok 47 /pattern/match/18 1895s ok 48 /pattern/match/19 1895s ok 49 /pattern/match/20 1895s ok 50 /pattern/match/21 1895s ok 51 /pattern/match/22 1895s ok 52 /pattern/match/23 1895s ok 53 /pattern/match/24 1895s ok 54 /pattern/match/25 1895s ok 55 /pattern/match/26 1895s ok 56 /pattern/match/27 1895s ok 57 /pattern/match/28 1895s ok 58 /pattern/match/29 1895s ok 59 /pattern/match/30 1895s ok 60 /pattern/match/31 1895s ok 61 /pattern/match/32 1895s ok 62 /pattern/match/33 1895s ok 63 /pattern/match/34 1895s ok 64 /pattern/match/35 1895s ok 65 /pattern/match/36 1895s ok 66 /pattern/match/37 1895s ok 67 /pattern/match/38 1895s ok 68 /pattern/match/39 1895s ok 69 /pattern/match/40 1895s ok 70 /pattern/match/41 1895s ok 71 /pattern/match/42 1895s ok 72 /pattern/match/43 1895s ok 73 /pattern/match/44 1895s ok 74 /pattern/match/45 1895s ok 75 /pattern/match/46 1895s ok 76 /pattern/match/47 1895s ok 77 /pattern/match/48 1895s ok 78 /pattern/match/49 1895s ok 79 /pattern/match/50 1895s # End of match tests 1895s # Start of equal tests 1895s ok 80 /pattern/equal/0 1895s ok 81 /pattern/equal/1 1895s ok 82 /pattern/equal/2 1895s ok 83 /pattern/equal/3 1895s ok 84 /pattern/equal/4 1895s ok 85 /pattern/equal/5 1895s ok 86 /pattern/equal/6 1895s ok 87 /pattern/equal/7 1895s ok 88 /pattern/equal/8 1895s ok 89 /pattern/equal/9 1895s ok 90 /pattern/equal/10 1895s # End of equal tests 1895s # End of pattern tests 1895s TAP version 14 1895s # random seed: R02S200a1d2bf4c2c9a93e382262e6f71bab 1895s 1..3 1895s # Start of gvfs tests 1895s ok 1 /gvfs/local 1895s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1895s ok 2 /gvfs/register-scheme 1895s # Start of resource tests 1895s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1895s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1895s ok 3 /gvfs/resource/malformed-escaping 1895s # End of resource tests 1895s # End of gvfs tests 1895s ok - glib/shell.test 1895s # Running test: glib/io-stream.test 1895s ok - glib/io-stream.test 1895s # Running test: glib/converter.test 1895s ok - glib/converter.test 1895s # Running test: glib/portal-support-flatpak-none.test 1895s ok - glib/portal-support-flatpak-none.test 1895s # Running test: glib/dynamictests.test 1895s ok - glib/dynamictests.test 1895s # Running test: glib/pattern.test 1895s ok - glib/pattern.test 1895s # Running test: glib/vfs.test 1895s ok - glib/vfs.test 1895s # Running test: glib/autoptr.test 1895s TAP version 14 1895s # random seed: R02S0fad4da292a4edd93dac0913999594e6 1895s ok - glib/autoptr.test 1895s # Running test: glib/data-output-stream.test 1895s 1..6 1895s # Start of autoptr tests 1895s ok 1 /autoptr/autoptr 1895s ok 2 /autoptr/autoptr_steal 1895s ok 3 /autoptr/autolist 1895s ok 4 /autoptr/autoslist 1895s ok 5 /autoptr/autoqueue 1895s ok 6 /autoptr/autoclass 1895s # End of autoptr tests 1895s TAP version 14 1895s # random seed: R02Sa506a20cb9e2c50bb9866927d925c9d1 1895s 1..7 1895s # Start of data-output-stream tests 1895s ok 1 /data-output-stream/basic 1895s ok 2 /data-output-stream/write-lines-LF 1895s ok 3 /data-output-stream/write-lines-CR 1895s ok - glib/data-output-stream.test 1895s # Running test: glib/qdata.test 1895s ok 4 /data-output-stream/write-lines-CR-LF 1895s ok 5 /data-output-stream/write-int 1895s ok 6 /data-output-stream/seek 1895s ok 7 /data-output-stream/truncate 1895s # End of data-output-stream tests 1895s TAP version 14 1895s # random seed: R02Sfc828421327bc4f5b3e6838a0c51c7e3 1895s 1..2 1895s # Start of qdata tests 1895s ok 1 /qdata/threaded 1895s ok 2 /qdata/dup 1895s # End of qdata tests 1895s ok - glib/qdata.test 1895s # Running test: glib/volumemonitor.test 1895s TAP version 14 1895s # random seed: R02Scd8259df974465e7e9a1ed82df46ca9d 1895s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1895s 1..3 1895s # Start of volumemonitor tests 1895s ok 1 /volumemonitor/connected_drives 1895s ok 2 /volumemonitor/volumes 1895s ok 3 /volumemonitor/mounts 1895s # End of volumemonitor tests 1895s ok - glib/volumemonitor.test 1895s # Running test: glib/utils-c-23.test 1895s TAP version 14 1895s # random seed: R02S979532664f13552d01a1ef9eddae894f 1895s 1..41 1895s # Start of utils tests 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/language-names/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/language-names/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/language-names/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/language-names/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/language-names/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/language-names/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/language-names/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/language-names/.dirs/runtime 1895s ok 1 /utils/language-names 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/locale-variants/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/locale-variants/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/locale-variants/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/locale-variants/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/locale-variants/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/locale-variants/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/locale-variants/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/locale-variants/.dirs/runtime 1895s # Testing locale ‘en’ 1895s # Testing locale ‘sr@latin’ 1895s # Testing locale ‘fr_BE’ 1895s # Testing locale ‘sr_SR@latin’ 1895s # Testing locale ‘sr_SR@latin.UTF-8’ 1895s # Testing locale ‘sr@latin_invalid’ 1895s # Testing locale ‘sr.UTF-8@latin’ 1895s # Testing locale ‘sr.UTF-8_latin’ 1895s # Testing locale ‘sr.UTF-8@latin_invalid’ 1895s ok 2 /utils/locale-variants 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/version/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/version/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/version/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/version/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/version/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/version/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/version/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/version/.dirs/runtime 1895s ok 3 /utils/version 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/appname/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/appname/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/appname/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/appname/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/appname/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/appname/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/appname/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/appname/.dirs/runtime 1895s ok 4 /utils/appname 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/prgname-thread-safety/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/prgname-thread-safety/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/prgname-thread-safety/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/prgname-thread-safety/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/prgname-thread-safety/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/prgname-thread-safety/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/prgname-thread-safety/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/prgname-thread-safety/.dirs/runtime 1895s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1895s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1895s ok 5 /utils/prgname-thread-safety 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/tmpdir/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/tmpdir/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/tmpdir/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/tmpdir/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/tmpdir/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/tmpdir/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/tmpdir/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/tmpdir/.dirs/runtime 1895s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1895s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1895s Unable to clean up temporary directory /tmp/test_utils-c-23_FQBEK3/utils/tmpdir: No such file or directory 1895s ok 6 /utils/tmpdir 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/basic_bits/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/basic_bits/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/basic_bits/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/basic_bits/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/basic_bits/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/basic_bits/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/basic_bits/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/basic_bits/.dirs/runtime 1895s ok 7 /utils/basic_bits 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/bits/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/bits/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/bits/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/bits/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/bits/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/bits/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/bits/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/bits/.dirs/runtime 1895s ok 8 /utils/bits 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/swap/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/swap/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/swap/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/swap/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/swap/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/swap/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/swap/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/swap/.dirs/runtime 1895s ok 9 /utils/swap 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/find-program/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/find-program/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/find-program/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/find-program/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/find-program/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/find-program/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/find-program/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/find-program/.dirs/runtime 1895s ok 10 /utils/find-program 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/find-program-for-path/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/find-program-for-path/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/find-program-for-path/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/find-program-for-path/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/find-program-for-path/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/find-program-for-path/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/find-program-for-path/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/find-program-for-path/.dirs/runtime 1895s ok 11 /utils/find-program-for-path 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/debug/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/debug/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/debug/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/debug/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/debug/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/debug/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/debug/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/debug/.dirs/runtime 1895s Unable to clean up temporary directory /tmp/test_utils-c-23_FQBEK3/utils/debug: No such file or directory 1895s ok 12 /utils/debug 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/codeset/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/codeset/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/codeset/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/codeset/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/codeset/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/codeset/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/codeset/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/codeset/.dirs/runtime 1895s ok 13 /utils/codeset 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/codeset2/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/codeset2/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/codeset2/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/codeset2/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/codeset2/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/codeset2/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/codeset2/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/codeset2/.dirs/runtime 1895s Unable to clean up temporary directory /tmp/test_utils-c-23_FQBEK3/utils/codeset2: No such file or directory 1895s ok 14 /utils/codeset2 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/console-charset/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/console-charset/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/console-charset/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/console-charset/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/console-charset/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/console-charset/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/console-charset/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/console-charset/.dirs/runtime 1895s ok 15 /utils/console-charset 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/gettext/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/gettext/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/gettext/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/gettext/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/gettext/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/gettext/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/gettext/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/gettext/.dirs/runtime 1895s ok 16 /utils/gettext 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/username/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/username/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/username/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/username/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/username/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/username/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/username/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/username/.dirs/runtime 1895s ok 17 /utils/username 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/realname/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/realname/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/realname/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/realname/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/realname/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/realname/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/realname/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/realname/.dirs/runtime 1895s ok 18 /utils/realname 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/hostname/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/hostname/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/hostname/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/hostname/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/hostname/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/hostname/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/hostname/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/hostname/.dirs/runtime 1895s ok 19 /utils/hostname 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/os-info/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/os-info/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/os-info/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/os-info/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/os-info/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/os-info/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/os-info/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/os-info/.dirs/runtime 1895s # NAME: Ubuntu 1895s ok 20 /utils/os-info 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/.dirs/runtime 1895s ok 21 /utils/clear-pointer 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer-cast/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer-cast/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/clear-pointer-cast/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer-cast/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/clear-pointer-cast/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer-cast/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer-cast/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer-cast/.dirs/runtime 1895s ok 22 /utils/clear-pointer-cast 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/take-pointer/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/take-pointer/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/take-pointer/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/take-pointer/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/take-pointer/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/take-pointer/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/take-pointer/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/take-pointer/.dirs/runtime 1895s ok 23 /utils/take-pointer 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-source/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-source/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/clear-source/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-source/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/clear-source/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-source/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-source/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/clear-source/.dirs/runtime 1895s ok 24 /utils/clear-source 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/misc-mem/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/misc-mem/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/misc-mem/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/misc-mem/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/misc-mem/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/misc-mem/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/misc-mem/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/misc-mem/.dirs/runtime 1895s ok 25 /utils/misc-mem 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/.dirs/runtime 1895s # /utils/aligned-mem summary: Aligned memory allocator 1895s # Alignment must not be zero 1895s # Alignment must be a power of two 1895s # Alignment must be a multiple of sizeof(void*) 1895s ok 26 /utils/aligned-mem 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/free-sized/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/free-sized/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/free-sized/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/free-sized/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/free-sized/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/free-sized/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/free-sized/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/free-sized/.dirs/runtime 1895s # /utils/free-sized summary: Check that g_free_sized() works 1895s ok 27 /utils/free-sized 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/nullify/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/nullify/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/nullify/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/nullify/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/nullify/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/nullify/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/nullify/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/nullify/.dirs/runtime 1895s ok 28 /utils/nullify 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/atexit/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/atexit/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/atexit/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/atexit/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/atexit/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/atexit/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/atexit/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/atexit/.dirs/runtime 1895s Unable to clean up temporary directory /tmp/test_utils-c-23_FQBEK3/utils/atexit: No such file or directory 1895s ok 29 /utils/atexit 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/check-setuid/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/check-setuid/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/check-setuid/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/check-setuid/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/check-setuid/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/check-setuid/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/check-setuid/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/check-setuid/.dirs/runtime 1895s ok 30 /utils/check-setuid 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/int-limits/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/int-limits/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/int-limits/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/int-limits/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/int-limits/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/int-limits/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/int-limits/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/int-limits/.dirs/runtime 1895s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1895s ok 31 /utils/int-limits 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-list/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-list/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/clear-list/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-list/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/clear-list/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-list/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-list/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/clear-list/.dirs/runtime 1895s ok 32 /utils/clear-list 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-slist/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-slist/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/clear-slist/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-slist/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/clear-slist/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-slist/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-slist/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/clear-slist/.dirs/runtime 1895s ok 33 /utils/clear-slist 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/steal-handle-id/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/steal-handle-id/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/steal-handle-id/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/steal-handle-id/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/steal-handle-id/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/steal-handle-id/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/steal-handle-id/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/steal-handle-id/.dirs/runtime 1895s ok 34 /utils/steal-handle-id 1895s # Start of user-special-dirs tests 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/desktop/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/desktop/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/desktop/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/desktop/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/desktop/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/desktop/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/desktop/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/desktop/.dirs/runtime 1895s ok 35 /utils/user-special-dirs/desktop 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/load-unlocked/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/load-unlocked/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/load-unlocked/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/load-unlocked/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1895s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1895s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1895s Unable to clean up temporary directory /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/load-unlocked: No such file or directory 1895s ok 36 /utils/user-special-dirs/load-unlocked 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/reload-leaks/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/reload-leaks/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/reload-leaks/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/reload-leaks/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1895s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1895s Unable to clean up temporary directory /tmp/test_utils-c-23_FQBEK3/utils/user-special-dirs/reload-leaks: No such file or directory 1895s ok 37 /utils/user-special-dirs/reload-leaks 1895s # End of user-special-dirs tests 1895s # Start of clear-pointer tests 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/side-effects/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/side-effects/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/side-effects/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/side-effects/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/side-effects/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/side-effects/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/side-effects/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/clear-pointer/side-effects/.dirs/runtime 1895s ok 38 /utils/clear-pointer/side-effects 1895s # End of clear-pointer tests 1895s # Start of aligned-mem tests 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/alignment/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/alignment/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/alignment/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/alignment/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/alignment/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/alignment/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/alignment/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/alignment/.dirs/runtime 1895s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1895s ok 39 /utils/aligned-mem/alignment 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/zeroed/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/zeroed/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/zeroed/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/zeroed/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/zeroed/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/zeroed/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/zeroed/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/zeroed/.dirs/runtime 1895s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1895s ok 40 /utils/aligned-mem/zeroed 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/free-sized/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/free-sized/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/free-sized/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/free-sized/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/free-sized/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/free-sized/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/free-sized/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FQBEK3/utils/aligned-mem/free-sized/.dirs/runtime 1895s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1895s ok 41 /utils/aligned-mem/free-sized 1895s # Start of subprocess tests 1895s # End of subprocess tests 1895s # End of aligned-mem tests 1895s # End of utils tests 1895s TAP version 14 1895s # random seed: R02S45edbf6e86f55441913d3a15a51e7932 1895s 1..1 1895s # Start of gdbus tests 1895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_54DFK3/gdbus/bz627724/.dirs/home 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_54DFK3/gdbus/bz627724/.dirs/cache 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_54DFK3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_54DFK3/gdbus/bz627724/.dirs/system-config2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_54DFK3/gdbus/bz627724/.dirs/config 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_54DFK3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_54DFK3/gdbus/bz627724/.dirs/system-data2 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_54DFK3/gdbus/bz627724/.dirs/data 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_54DFK3/gdbus/bz627724/.dirs/state 1895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_54DFK3/gdbus/bz627724/.dirs/runtime 1895s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1895s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1895s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1895s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1895s # GLib-DEBUG: unsetenv() is not thread-safe andok - glib/utils-c-23.test 1895s # Running test: glib/gdbus-bz627724.test 1895s should not be used after threads are created 1895s ok 1 /gdbus/bz627724 1895s # End of gdbus tests 1895s ok - glib/gdbus-bz627724.test 1895s # Running test: glib/network-monitor.test 1895s TAP version 14 1895s # random seed: R02S5e0709a37ccc5d647fa0f283d32477e3 1895s 1..4 1895s # Start of network-monitor tests 1895s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1895s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1895s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1895s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1895s ok 1 /network-monitor/default 1895s ok 2 /network-monitor/remove_default 1895s ok 3 /network-monitor/add_networks 1895s ok 4 /network-monitor/remove_networks 1895s # End of network-monitor tests 1895s ok - glib/network-monitor.test 1895s # Running test: glib/atomic-c-89.test 1895s TAP version 14 1895s # random seed: R02S0fe80a4376c2274f3199cff90cc3744a 1895s 1..2 1895s # Start of atomic tests 1895s ok 1 /atomic/types 1895s ok 2 /atomic/threaded 1895s # End of atomic tests 1895s ok - glib/atomic-c-89.test 1895s # Running test: glib/binding.test 1895s TAP version 14 1895s # random seed: R02Sbb557df415a020152542bbd29501add4 1895s 1..19 1895s # Start of binding tests 1895s ok 1 /binding/default 1895s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1895s ok 2 /binding/canonicalisation 1895s ok 3 /binding/bidirectional 1895s ok 4 /binding/transform 1895s ok 5 /binding/transform-default 1895s ok 6 /binding/transform-closure 1895s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1895s ok 7 /binding/chain 1895s ok 8 /binding/sync-create 1895s ok 9 /binding/invert-boolean 1895s ok 10 /binding/same-object 1895s ok 11 /binding/unbind 1895s ok 12 /binding/unbind-weak 1895s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1895s ok 13 /binding/unbind-multiple 1895s ok 14 /binding/fail 1895s ok 15 /binding/interface 1895s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1895s ok 16 /binding/concurrent-unbind 1895s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1895s ok 17 /binding/concurrent-finalizing 1895s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1895s ok 18 /binding/dispose-source 1895s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1895s ok 19 /binding/dispose-target 1895s # End of binding tests 1895s ok - glib/binding.test 1895s # Running test: glib/cond.test 1895s TAP version 14 1895s # random seed: R02Sb52f70e8443a0f75fdb1fabe41a21936 1895s 1..4 1895s # Start of thread tests 1895s ok 1 /thread/cond1 1895s ok 2 /thread/cond2 1895s # Start of cond tests 1896s ok 3 /thread/cond/wait-until 1896s # slow test /thread/cond/wait-until executed in 1.02 secs 1896s # Start of wait-until tests 1896s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1896s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1897s ok 4 /thread/cond/wait-until/contended-and-interrupted 1897s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1897s # End of wait-until tests 1897s # End of cond tests 1897s # End of thread tests 1897s ok - glib/cond.test 1897s # Running test: glib/spawn-singlethread.test 1897s TAP version 14 1897s # random seed: R02S1726493585d55cac361235ccc0ce7054 1897s 1..9 1897s # Start of gthread tests 1897s ok 1 /gthread/spawn-single-sync 1897s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1897s ok 2 /gthread/spawn-stderr-socket 1897s ok 3 /gthread/spawn-single-async 1897s ok - glib/spawn-singlethread.test 1897s # Running test: glib/actions.test 1897s # thread 1 1897s # thread 1 1897s ok 4 /gthread/spawn-single-async-with-fds 1897s ok 5 /gthread/spawn-async-with-invalid-fds 1897s ok 6 /gthread/spawn-script 1897s ok 7 /gthread/spawn-posix-spawn 1897s # Start of spawn tests 1897s ok 8 /gthread/spawn/nonexistent 1897s # FD map: 1897s # • 5 → 15 1897s # • 6 → 16 1897s # • 7 → 17 1897s # • 8 → 18 1897s # • 9 → 19 1897s # • 10 → 20 1897s # • 11 → 21 1897s # • 12 → 22 1897s # • 13 → 23 1897s # • 3 → 13 1897s ok 9 /gthread/spawn/fd-assignment-clash 1897s # End of spawn tests 1897s # End of gthread tests 1897s TAP version 14 1897s # random seed: R02Safea632d4d9ad09cfeab4a5830f4c844 1897s 1..13 1897s # Start of actions tests 1897s ok 1 /actions/basic 1897s ok 2 /actions/name 1897s ok 3 /actions/simplegroup 1897s ok 4 /actions/stateful 1897s ok 5 /actions/default-activate 1897s ok 6 /actions/entries 1897s ok 7 /actions/parse-detailed 1897s ok 8 /actions/property 1897s ok 9 /actions/no-properties 1897s # Start of dbus tests 1897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1897s ok 10 /actions/dbus/export 1897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1897s # Executing: glib/actions.test 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s ok 11 /actions/dbus/threaded 1898s # slow test /actions/dbus/threaded executed in 0.67 secs 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s ok 12 /actions/dbus/bug679509 1898s # Start of export tests 1898s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1898s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1898s ok 13 /actions/dbus/export/error-handling 1898s # End of export tests 1898s # End of dbus tests 1898s # End of actions tests 1898s ok - glib/actions.test 1898s # Running test: glib/gdbus-proxy-threads.test 1898s TAP version 14 1898s # random seed: R02Sc2ed0f5a196b9da8a6868dd1697a2238 1898s 1..1 1898s # Start of gdbus tests 1898s # Start of proxy tests 1898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_N1AFK3/gdbus/proxy/vs-threads/.dirs/home 1898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_N1AFK3/gdbus/proxy/vs-threads/.dirs/cache 1898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_N1AFK3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_N1AFK3/gdbus/proxy/vs-threads/.dirs/system-config2 1898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_N1AFK3/gdbus/proxy/vs-threads/.dirs/config 1898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_N1AFK3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_N1AFK3/gdbus/proxy/vs-threads/.dirs/system-data2 1898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_N1AFK3/gdbus/proxy/vs-threads/.dirs/data 1898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_N1AFK3/gdbus/proxy/vs-threads/.dirs/state 1898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_N1AFK3/gdbus/proxy/vs-threads/.dirs/runtime 1898s ok 1 /gdbus/proxy/vs-threads 1898s # End of proxy tests 1898s # End of gdbus tests 1898s cleaning up pid 39614 1898s ok - glib/gdbus-proxy-threads.test 1898s # Running test: glib/strvbuilder.test 1898s TAP version 14 1898s # random seed: R02S230f778167e66c457b1308fc8cac7cc3 1898s 1..7 1898s # Start of strvbuilder tests 1898s ok 1 /strvbuilder/empty 1898s ok 2 /strvbuilder/add 1898s ok 3 /strvbuilder/addv 1898s ok 4 /strvbuilder/add_many 1898s ok 5 /strvbuilder/take 1898s ok 6 /strvbuilder/ref 1898s ok 7 /strvbuilder/unref_to_strv 1898s # End of strvbuilder tests 1898s ok - glib/strvbuilder.test 1898s # Running test: glib/memory-monitor-portal.test 1898s TAP version 13 1898s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1898s 1..1 1898s ok - glib/memory-monitor-portal.test 1898s # Running test: glib/thread-deprecated.test 1898s TAP version 14 1898s # random seed: R02Sbba07a3ab7b7f78019c67c2c193d8909 1898s 1..6 1898s # Start of thread tests 1898s ok 1 /thread/mutex 1899s ok 2 /thread/static-rec-mutex 1902s # Executing: glib/thread-deprecated.test 1903s ok 3 /thread/static-private 1903s # slow test /thread/static-private executed in 4.20 secs 1907s # Executing: glib/thread-deprecated.test 1908s ok 4 /thread/static-rw-lock 1908s # slow test /thread/static-rw-lock executed in 5.00 secs 1908s ok 5 /thread/once 1912s # Executing: glib/thread-deprecated.test 1917s # Executing: glib/thread-deprecated.test 1918s ok - glib/thread-deprecated.test 1918s ok 6 /thread/rerun-all 1918s # slow test /thread/rerun-all executed in 10.02 secs 1918s # End of thread tests 1918s # Running test: glib/resolver-parsing.test 1918s TAP version 14 1918s # random seed: R02S36140c43ded34b04b5ff61c327a204a6 1918s 1..21 1918s # Start of gresolver tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/invalid-header/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/invalid-header/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/invalid-header/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/invalid-header/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/invalid-header/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/invalid-header/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/invalid-header/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/invalid-header/.dirs/runtime 1918s ok 1 /gresolver/invalid-header 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/record-ownership/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/record-ownership/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/record-ownership/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/record-ownership/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/record-ownership/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/record-ownership/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/record-ownership/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/record-ownership/.dirs/runtime 1918s ok 2 /gresolver/record-ownership 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/unknown-record-type/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/unknown-record-type/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/unknown-record-type/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/unknown-record-type/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/unknown-record-type/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/unknown-record-type/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/unknown-record-type/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/unknown-record-type/.dirs/runtime 1918s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1918s ok 3 /gresolver/unknown-record-type 1918s # Start of mx tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/valid/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/valid/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/mx/valid/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/valid/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/mx/valid/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/valid/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/valid/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/valid/.dirs/runtime 1918s ok 4 /gresolver/mx/valid 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/.dirs/runtime 1918s ok 5 /gresolver/mx/invalid 1918s # Start of invalid tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short/.dirs/runtime 1918s ok 6 /gresolver/mx/invalid/too-short 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short2/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short2/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short2/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short2/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short2/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short2/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short2/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/mx/invalid/too-short2/.dirs/runtime 1918s ok 7 /gresolver/mx/invalid/too-short2 1918s # End of invalid tests 1918s # End of mx tests 1918s # Start of ns tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/valid/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/valid/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/ns/valid/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/valid/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/ns/valid/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/valid/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/valid/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/valid/.dirs/runtime 1918s ok 8 /gresolver/ns/valid 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/invalid/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/invalid/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/ns/invalid/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/invalid/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/ns/invalid/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/invalid/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/invalid/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/ns/invalid/.dirs/runtime 1918s ok 9 /gresolver/ns/invalid 1918s # End of ns tests 1918s # Start of soa tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/valid/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/valid/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/soa/valid/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/valid/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/soa/valid/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/valid/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/valid/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/valid/.dirs/runtime 1918s ok 10 /gresolver/soa/valid 1918s # Start of invalid tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/mname/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/mname/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/mname/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/mname/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/mname/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/mname/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/mname/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/mname/.dirs/runtime 1918s ok 11 /gresolver/soa/invalid/mname 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/rname/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/rname/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/rname/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/rname/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/rname/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/rname/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/rname/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/rname/.dirs/runtime 1918s ok 12 /gresolver/soa/invalid/rname 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/too-short/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/too-short/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/too-short/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/too-short/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/too-short/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/too-short/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/too-short/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/soa/invalid/too-short/.dirs/runtime 1918s ok 13 /gresolver/soa/invalid/too-short 1918s # End of invalid tests 1918s # End of soa tests 1918s # Start of srv tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/valid/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/valid/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/srv/valid/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/valid/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/srv/valid/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/valid/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/valid/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/valid/.dirs/runtime 1918s ok 14 /gresolver/srv/valid 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/.dirs/system-data2 1918s ok - glib/resolver-parsing.test 1918s # Running test: glib/bytes.test 1918s ok - glib/bytes.test 1918s # Running test: glib/properties-refcount3.test 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/.dirs/runtime 1918s ok 15 /gresolver/srv/invalid 1918s # Start of invalid tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short/.dirs/runtime 1918s ok 16 /gresolver/srv/invalid/too-short 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short2/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short2/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short2/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short2/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short2/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short2/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short2/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/srv/invalid/too-short2/.dirs/runtime 1918s ok 17 /gresolver/srv/invalid/too-short2 1918s # End of invalid tests 1918s # End of srv tests 1918s # Start of txt tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/.dirs/runtime 1918s ok 18 /gresolver/txt/valid 1918s # Start of valid tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/multiple-strings/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/multiple-strings/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/multiple-strings/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/multiple-strings/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/multiple-strings/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/valid/multiple-strings/.dirs/runtime 1918s ok 19 /gresolver/txt/valid/multiple-strings 1918s # End of valid tests 1918s # Start of invalid tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/empty/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/empty/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/empty/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/empty/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/empty/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/empty/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/empty/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/empty/.dirs/runtime 1918s ok 20 /gresolver/txt/invalid/empty 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/overflow/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/overflow/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/overflow/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/overflow/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/overflow/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/overflow/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/overflow/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_AMOOK3/gresolver/txt/invalid/overflow/.dirs/runtime 1918s ok 21 /gresolver/txt/invalid/overflow 1918s # End of invalid tests 1918s # End of txt tests 1918s # End of gresolver tests 1918s TAP version 14 1918s # random seed: R02Sdcfb7d7374fd1d157c73677e34f3b405 1918s 1..21 1918s # Start of bytes tests 1918s ok 1 /bytes/new 1918s ok 2 /bytes/new-take 1918s ok 3 /bytes/new-static 1918s ok 4 /bytes/new-with-free-func 1918s ok 5 /bytes/new-from-bytes 1918s ok 6 /bytes/new-from-bytes-slice 1918s ok 7 /bytes/new-from-bytes-shared-ref 1918s ok 8 /bytes/hash 1918s ok 9 /bytes/equal 1918s ok 10 /bytes/compare 1918s ok 11 /bytes/null 1918s ok 12 /bytes/get-region 1918s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1918s ok 13 /bytes/unref-null 1918s # Start of to-data tests 1918s ok 14 /bytes/to-data/transferred 1918s ok 15 /bytes/to-data/two-refs 1918s ok 16 /bytes/to-data/non-malloc 1918s ok 17 /bytes/to-data/different-free-func 1918s # End of to-data tests 1918s # Start of to-array tests 1918s ok 18 /bytes/to-array/transferred 1918s ok 19 /bytes/to-array/two-refs 1918s ok 20 /bytes/to-array/non-malloc 1918s # Start of transferred tests 1918s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1918s ok 21 /bytes/to-array/transferred/oversize 1918s # End of transferred tests 1918s # End of to-array tests 1918s # End of bytes tests 1918s TAP version 14 1918s # random seed: R02S3739ef65254a4805dcea430183da0311 1918s 1..1 1918s # Start of gobject tests 1918s # Start of refcount tests 1922s # Executing: glib/properties-refcount3.test 1927s # Executing: glib/properties-refcount3.test 1932s # Executing: glib/properties-refcount3.test 1937s # Executing: glib/properties-refcount3.test 1942s # Executing: glib/properties-refcount3.test 1947s # Executing: glib/properties-refcount3.test 1948s # 1948s # stopping 1948s # 1948s # stopped 1948s # 1948s # 27324064 126952 1948s # 1948s ok 1 /gobject/refcount/properties-3 1948s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1948s # End of refcount tests 1948s # End of gobject tests 1948s ok - glib/properties-refcount3.test 1948s # Running test: glib/signals.test 1948s TAP version 14 1948s # random seed: R02Sc18f771dd3b67c827a3a8605152f314a 1948s 1..32 1948s # Start of gobject tests 1948s # Start of signals tests 1948s ok 1 /gobject/signals/all-types 1948s ok 2 /gobject/signals/variant 1948s ok 3 /gobject/signals/destroy-target-object 1948s ok 4 /gobject/signals/generic-marshaller-1 1948s ok 5 /gobject/signals/generic-marshaller-2 1948s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1948s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1948s ok 8 /gobject/signals/generic-marshaller-int-return 1948s ok 9 /gobject/signals/generic-marshaller-uint-return 1948s ok 10 /gobject/signals/generic-marshaller-interface-return 1948s ok 11 /gobject/signals/custom-marshaller 1948s ok 12 /gobject/signals/connect 1948s ok 13 /gobject/signals/is-connected 1948s ok 14 /gobject/signals/emission-hook 1948s ok 15 /gobject/signals/emitv 1948s ok 16 /gobject/signals/accumulator 1948s # Signal: accumulator-class-first 1948s # Signal: accumulator-class-last 1948s # Signal: accumulator-class-cleanup 1948s # Signal: accumulator-class-first-last 1948s # Signal: accumulator-class-first-last-cleanup 1948s # Signal: accumulator-class-last-cleanup 1948s ok 17 /gobject/signals/accumulator-class 1948s ok 18 /gobject/signals/introspection 1948s ok 19 /gobject/signals/block-handler 1948s ok 20 /gobject/signals/stop-emission 1948s ok 21 /gobject/signals/invocation-hint 1948s ok 22 /gobject/signals/test-disconnection-wrong-object 1948s ok 23 /gobject/signals/clear-signal-handler 1948s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1948s ok 24 /gobject/signals/lookup 1948s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1948s ok 25 /gobject/signals/parse-name 1948s ok 26 /gobject/signals/is-valid-name 1948s ok 27 /gobject/signals/weak-ref-disconnect 1948s # Start of lookup tests 1948s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1948s ok 28 /gobject/signals/lookup/invalid 1948s # End of lookup tests 1948s # Start of parse-name tests 1948s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1948s # Parser input: 1948s # Parser input: 7zip 1948s ok - glib/signals.test 1948s # Running test: glib/unix.test 1948s # Parser input: invalid:signal 1948s # Parser input: simple-detailed:: 1948s # Parser input: simple-detailed: 1948s # Parser input: : 1948s # Parser input: :: 1948s # Parser input: :valid-detail 1948s # Parser input: ::valid-detail 1948s ok 29 /gobject/signals/parse-name/invalid 1948s # End of parse-name tests 1948s # Start of invalid-name tests 1948s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1948s ok 30 /gobject/signals/invalid-name/colon 1948s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1948s ok 31 /gobject/signals/invalid-name/first-char 1948s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1948s ok 32 /gobject/signals/invalid-name/empty 1948s # End of invalid-name tests 1948s # End of signals tests 1948s # End of gobject tests 1948s TAP version 14 1948s # random seed: R02Sa39fa571a7390be57215971bf8758de6 1948s 1..22 1948s # Start of glib-unix tests 1948s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1948s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1948s ok 1 /glib-unix/closefrom 1948s ok 2 /glib-unix/pipe 1948s # /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 1948s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1948s ok 3 /glib-unix/pipe-stdio-overwrite 1948s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1948s ok 4 /glib-unix/pipe-struct 1948s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1948s ok 5 /glib-unix/pipe-struct-auto 1948s ok 6 /glib-unix/error 1948s ok 7 /glib-unix/nonblocking 1949s ok 8 /glib-unix/sighup 1949s # slow test /glib-unix/sighup executed in 0.50 secs 1949s ok 9 /glib-unix/sigterm 1949s # slow test /glib-unix/sigterm executed in 0.50 secs 1950s ok 10 /glib-unix/sighup_again 1950s # slow test /glib-unix/sighup_again executed in 0.50 secs 1950s ok 11 /glib-unix/sighup_add_remove 1950s ok 12 /glib-unix/sighup_nested 1952s ok 13 /glib-unix/callback_after_signal 1952s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1952s ok 14 /glib-unix/child-wait 1952s # Checking FD 5 for /dev/null 1952s ok 15 /glib-unix/fd-query-path 1952s ok 16 /glib-unix/fd-query-path-error 1952s # Start of closefrom tests 1952s # Start of subprocess tests 1952s # End of subprocess tests 1952s # End of closefrom tests 1952s # Start of pipe tests 1952s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1952s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1952s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1952s ok 17 /glib-unix/pipe/fd-cloexec 1952s # End of pipe tests 1952s # Start of sighup tests 1952s # Executing: glib/unix.test 1953s ok 18 /glib-unix/sighup/alternate-stack 1953s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1953s # End of sighup tests 1953s # Start of sigterm tests 1954s ok 19 /glib-unix/sigterm/alternate-stack 1954s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1954s # End of sigterm tests 1954s # Start of sighup_again tests 1955s ok - glib/unix.test 1955s ok 20 /glib-unix/sighup_again/alternate-stack 1955s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1955s # End of sighup_again tests 1955s # Start of get-passwd-entry tests 1955s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1955s ok 21 /glib-unix/get-passwd-entry/root 1955s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1955s ok 22 /glib-unix/get-passwd-entry/nonexistent 1955s # End of get-passwd-entry tests 1955s # End of glib-unix tests 1955s # Running test: glib/sequence.test 1955s TAP version 14 1955s # random seed: R02Sd506bcfeb60ab8b98f72f4e40ec63fc5 1955s 1..16 1955s # Start of sequence tests 1955s ok 1 /sequence/out-of-range-jump 1955s ok 2 /sequence/iter-move 1955s ok 3 /sequence/insert-sorted-non-pointer 1955s ok 4 /sequence/stable-sort 1955s ok 5 /sequence/is_empty 1955s # Start of random tests 1955s ok 6 /sequence/random/seed:825541564 1956s ok 7 /sequence/random/seed:801678400 1956s ok 8 /sequence/random/seed:1477639090 1956s ok 9 /sequence/random/seed:3369132895 1957s ok 10 /sequence/random/seed:1192944867 1957s # Executing: glib/sequence.test 1957s ok 11 /sequence/random/seed:770458294 1957s ok 12 /sequence/random/seed:1099575817 1958s ok 13 /sequence/random/seed:590523467 1958s ok 14 /sequence/random/seed:3583571454 1959s ok 15 /sequence/random/seed:579241222 1959s ok - glib/sequence.test 1959s # Running test: glib/proxy-test.test 1959s ok 16 /sequence/random/seed:1811462948 1959s # End of random tests 1959s # End of sequence tests 1959s TAP version 14 1959s # random seed: R02Sa79f196bbba405f79832a3483221e772 1959s 1..11 1959s # Start of proxy tests 1959s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’ 1959s ok 1 /proxy/direct_sync 1959s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1959s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x588c46707f40 and GSocketClientAsyncConnectData 0x588c46707460 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1959s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x588c46708a60 for GSocketClientAsyncConnectData 0x588c46707460 1959s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1959s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1959s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1959s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1959s ok 2 /proxy/direct_async 1959s ok 3 /proxy/single_sync 1959s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1959s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x588c46708520 and GSocketClientAsyncConnectData 0x588c46707460 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1959s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x588c46709bc0 for GSocketClientAsyncConnectData 0x588c46707460 1959s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1959s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1959s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1959s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1959s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1959s ok 4 /proxy/single_async 1959s ok 5 /proxy/multiple_sync 1959s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1959s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x588c46708810 and GSocketClientAsyncConnectData 0x588c467087a0 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1959s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x588c4670a100 for GSocketClientAsyncConnectData 0x588c467087a0 1959s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1959s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1959s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1959s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1959s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x588c4670a0a0 for GSocketClientAsyncConnectData 0x588c467087a0 1959s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1959s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1959s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1959s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1959s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1959s ok 6 /proxy/multiple_async 1959s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1959s ok 7 /proxy/invalid-uris-sync 1959s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1959s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1959s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x588c46708400 and GSocketClientAsyncConnectData 0x588c4670a290 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1959s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1959s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1959s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x588c46708520 and GSocketClientAsyncConnectData 0x588c467087a0 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1959s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1959s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1959s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x588c46708400 and GSocketClientAsyncConnectData 0x588c4670a290 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1959s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x588c46708ac0 for GSocketClientAsyncConnectData 0x588c4670a290 1959s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1959s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1959s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1959s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1959s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1959s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x588c46708520 and GSocketClientAsyncConnectData 0x588c4670a290 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1959s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x588c4670a300 for GSocketClientAsyncConnectData 0x588c4670a290 1959s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1959s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1959s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1959s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1959s ok 8 /proxy/invalid-uris-async 1959s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1959s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x588c46707f40 and GSocketClientAsyncConnectData 0x588c4670a290 1959s ok - glib/proxy-test.test 1959s # Running test: glib/field-info.test 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1959s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1959s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1959s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1959s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x588c4670a420 and GSocketClientAsyncConnectData 0x588c467089b0 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1959s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x588c46709a20 for GSocketClientAsyncConnectData 0x588c467089b0 1959s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1959s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1959s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1959s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1959s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1959s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1959s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x588c46708400 and GSocketClientAsyncConnectData 0x588c467087a0 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1959s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x588c46708ac0 for GSocketClientAsyncConnectData 0x588c467087a0 1959s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1959s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1959s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1959s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1959s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1959s ok 9 /proxy/dns 1959s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1959s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x588c46707f40 and GSocketClientAsyncConnectData 0x588c467087a0 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1959s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x588c46708ac0 for GSocketClientAsyncConnectData 0x588c467087a0 1959s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1959s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1959s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1959s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1959s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1959s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1959s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x588c46708400 and GSocketClientAsyncConnectData 0x588c467085e0 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1959s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x588c46709a20 for GSocketClientAsyncConnectData 0x588c467085e0 1959s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1959s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1959s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1959s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1959s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1959s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1959s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x588c46707f40 and GSocketClientAsyncConnectData 0x588c4670a290 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1959s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x588c4670a0a0 for GSocketClientAsyncConnectData 0x588c4670a290 1959s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1959s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1959s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1959s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1959s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1959s ok 10 /proxy/override 1959s ok 11 /proxy/enumerator-ports 1959s # End of proxy tests 1959s TAP version 14 1959s # random seed: R02S0c38d12a84c067ee5207fc048d76e808 1959s 1..4 1959s # Start of field-info tests 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_S7JPK3/field-info/basic-struct-field/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_S7JPK3/field-info/basic-struct-field/.dirs/cache 1959s ok - glib/field-info.test 1959s # Running test: glib/gdbus-proxy.test 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_S7JPK3/field-info/basic-struct-field/.dirs/system-config1:/tmp/test_field-info_S7JPK3/field-info/basic-struct-field/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_S7JPK3/field-info/basic-struct-field/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_S7JPK3/field-info/basic-struct-field/.dirs/system-data1:/tmp/test_field-info_S7JPK3/field-info/basic-struct-field/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_S7JPK3/field-info/basic-struct-field/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_S7JPK3/field-info/basic-struct-field/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_S7JPK3/field-info/basic-struct-field/.dirs/runtime 1959s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1959s # /field-info/basic-struct-field summary: Test basic properties of a GIFieldInfo from a C struct 1959s ok 1 /field-info/basic-struct-field 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_S7JPK3/field-info/basic-union-field/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_S7JPK3/field-info/basic-union-field/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_S7JPK3/field-info/basic-union-field/.dirs/system-config1:/tmp/test_field-info_S7JPK3/field-info/basic-union-field/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_S7JPK3/field-info/basic-union-field/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_S7JPK3/field-info/basic-union-field/.dirs/system-data1:/tmp/test_field-info_S7JPK3/field-info/basic-union-field/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_S7JPK3/field-info/basic-union-field/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_S7JPK3/field-info/basic-union-field/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_S7JPK3/field-info/basic-union-field/.dirs/runtime 1959s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1959s # /field-info/basic-union-field summary: Test basic properties of a GIFieldInfo from a C union 1959s ok 2 /field-info/basic-union-field 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_S7JPK3/field-info/read-write-struct-field/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_S7JPK3/field-info/read-write-struct-field/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_S7JPK3/field-info/read-write-struct-field/.dirs/system-config1:/tmp/test_field-info_S7JPK3/field-info/read-write-struct-field/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_S7JPK3/field-info/read-write-struct-field/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_S7JPK3/field-info/read-write-struct-field/.dirs/system-data1:/tmp/test_field-info_S7JPK3/field-info/read-write-struct-field/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_S7JPK3/field-info/read-write-struct-field/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_S7JPK3/field-info/read-write-struct-field/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_S7JPK3/field-info/read-write-struct-field/.dirs/runtime 1959s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1959s # /field-info/read-write-struct-field summary: Test reading and writing of a GIFieldInfo from a C union 1959s ok 3 /field-info/read-write-struct-field 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_S7JPK3/field-info/read-write-union-field/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_S7JPK3/field-info/read-write-union-field/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_S7JPK3/field-info/read-write-union-field/.dirs/system-config1:/tmp/test_field-info_S7JPK3/field-info/read-write-union-field/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_S7JPK3/field-info/read-write-union-field/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_S7JPK3/field-info/read-write-union-field/.dirs/system-data1:/tmp/test_field-info_S7JPK3/field-info/read-write-union-field/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_S7JPK3/field-info/read-write-union-field/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_S7JPK3/field-info/read-write-union-field/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_S7JPK3/field-info/read-write-union-field/.dirs/runtime 1959s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1959s # /field-info/read-write-union-field summary: Test reading and writing of a GIFieldInfo from a C union 1959s ok 4 /field-info/read-write-union-field 1959s # End of field-info tests 1959s TAP version 14 1959s # random seed: R02Sc619de9db16a5870249358bc824b5be6 1959s 1..5 1959s # Start of gdbus tests 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/.dirs/runtime 1961s ok 1 /gdbus/proxy 1961s # slow test /gdbus/proxy executed in 1.71 secs 1961s # Start of proxy tests 1961s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-properties/.dirs/home 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-properties/.dirs/cache 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-properties/.dirs/system-config2 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-properties/.dirs/config 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-properties/.dirs/system-data2 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-properties/.dirs/data 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-properties/.dirs/state 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-properties/.dirs/runtime 1961s ok 2 /gdbus/proxy/no-properties 1961s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/wellknown-noauto/.dirs/home 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/wellknown-noauto/.dirs/cache 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/wellknown-noauto/.dirs/config 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/wellknown-noauto/.dirs/data 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/wellknown-noauto/.dirs/state 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/wellknown-noauto/.dirs/runtime 1961s ok 3 /gdbus/proxy/wellknown-noauto 1961s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/async/.dirs/home 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/async/.dirs/cache 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/async/.dirs/system-config2 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/async/.dirs/config 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/async/.dirs/system-data2 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/async/.dirs/data 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/async/.dirs/state 1961s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/async/.dirs/runtime 1962s # Executing: glib/gdbus-proxy.test 1962s ok 4 /gdbus/proxy/async 1962s # slow test /gdbus/proxy/async executed in 1.71 secs 1962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-match-rule/.dirs/home 1962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-match-rule/.dirs/cache 1962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-match-rule/.dirs/system-config2 1962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-match-rule/.dirs/config 1962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-match-rule/.dirs/system-data2 1962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-match-rule/.dirs/data 1962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-match-rule/.dirs/state 1962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_S1GPK3/gdbus/proxy/no-match-rule/.dirs/runtime 1962s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1962s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1964s ok 5 /gdbus/proxy/no-match-rule 1964s # slow test /gdbus/proxy/no-match-rule executed in 1.71 secs 1964s # End of proxy tests 1964s # End of gdbus tests 1964s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1964s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1964s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1964s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1964s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1964s ok - glib/gdbus-proxy.test 1964s # Running test: glib/option-context.test 1964s TAP version 14 1964s # random seed: R02S7d31de205284381770acefeaab7f4ed1 1964s 1..61 1964s # Start of option tests 1964s ok 1 /option/basic 1964s ok 2 /option/translate 1964s ok 3 /option/strict-posix 1964s # Testing command: program --double abc 1964s # Testing command: program --double 2e309 1964s # Testing command: program --int abc 1964s # Testing command: program --int 99999999999999999999999999999999999 1964s # Testing command: program --int64 abc 1964s # Testing command: program --int64 99999999999999999999999999999999999 1964s ok 4 /option/parsing-errors 1964s # Start of help tests 1964s ok 5 /option/help/options 1964s ok 6 /option/help/no-options 1964s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1964s ok 7 /option/help/no-help-options 1964s # Usage: 1964s # /usr/libexec/installed-tests/glib/option-context [OPTION…] blabla 1964s # 1964s # Summary 1964s # 1964s # Help Options: 1964s # -h, --help Show help options 1964s # 1964s # Application Options: 1964s # -t, --test=Argument to use in test (deprecated) Test tests 1964s # --test2 Tests also 1964s # 1964s # Description 1964s # 1964s ok 8 /option/help/deprecated 1964s ok 9 /option/help/main-get_help-format 1964s ok 10 /option/help/group-get_help-format 1964s # End of help tests 1964s # Start of group tests 1964s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1964s ok 11 /option/group/captions 1964s ok 12 /option/group/main 1964s ok 13 /option/group/error-hook 1964s ok 14 /option/group/parse 1964s # Start of captions tests 1964s # Start of subprocess tests 1964s ok - glib/option-context.test 1964s # SUMMARY: total=337; passed=336; skipped=1; failed=0; user=146.2s; system=74.7s; maxrss=153916 1964s # End of subprocess tests 1964s # End of captions tests 1964s # End of group tests 1964s # Start of restoration tests 1964s ok 15 /option/restoration/int 1964s ok 16 /option/restoration/string 1964s ok 17 /option/restoration/boolean 1964s # End of restoration tests 1964s # Start of arg tests 1964s ok 18 /option/arg/reverse-string 1964s ok 19 /option/arg/optional-int 1964s # Start of repetition tests 1964s ok 20 /option/arg/repetition/int 1964s ok 21 /option/arg/repetition/string 1964s ok 22 /option/arg/repetition/filename 1964s ok 23 /option/arg/repetition/double 1964s ok 24 /option/arg/repetition/locale 1964s ok 25 /option/arg/repetition/int64 1964s # End of repetition tests 1964s # Start of array tests 1964s ok 26 /option/arg/array/string 1964s # End of array tests 1964s # Start of callback tests 1964s ok 27 /option/arg/callback/string 1964s ok 28 /option/arg/callback/count 1964s ok 29 /option/arg/callback/optional1 1964s ok 30 /option/arg/callback/optional2 1964s ok 31 /option/arg/callback/optional3 1964s ok 32 /option/arg/callback/optional4 1964s ok 33 /option/arg/callback/optional5 1964s ok 34 /option/arg/callback/optional6 1964s ok 35 /option/arg/callback/optional7 1964s ok 36 /option/arg/callback/optional8 1964s # End of callback tests 1964s # Start of remaining tests 1964s ok 37 /option/arg/remaining/callback 1964s ok 38 /option/arg/remaining/callback-false 1964s ok 39 /option/arg/remaining/non-option 1964s ok 40 /option/arg/remaining/separator 1964s ok 41 /option/arg/remaining/array 1964s # End of remaining tests 1964s # Start of ignore tests 1964s ok 42 /option/arg/ignore/long 1964s ok 43 /option/arg/ignore/short 1964s ok 44 /option/arg/ignore/arg 1964s # End of ignore tests 1964s # Start of rest tests 1964s ok 45 /option/arg/rest/non-option 1964s ok 46 /option/arg/rest/separator1 1964s ok 47 /option/arg/rest/separator2 1964s ok 48 /option/arg/rest/separator3 1964s ok 49 /option/arg/rest/separator4 1964s ok 50 /option/arg/rest/separator5 1964s # End of rest tests 1964s # End of arg tests 1964s # Start of context tests 1964s ok 51 /option/context/add 1964s ok 52 /option/context/empty2 1964s ok 53 /option/context/empty3 1964s # End of context tests 1964s # Start of bug tests 1964s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1964s ok 54 /option/bug/unknown-short 1964s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1964s ok 55 /option/bug/lonely-dash 1964s ok 56 /option/bug/triple-dash 1964s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1964s ok 57 /option/bug/missing-arg 1964s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1964s ok 58 /option/bug/dash-arg 1964s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1964s ok 59 /option/bug/short-remaining 1964s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1964s ok 60 /option/bug/double-free 1964s ok 61 /option/bug/double-zero 1964s # End of bug tests 1964s # End of option tests 1965s autopkgtest [16:28:40]: test installed-tests: -----------------------] 1965s autopkgtest [16:28:40]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1965s installed-tests PASS 1966s autopkgtest [16:28:41]: test closure-refcount: preparing testbed 1966s Reading package lists... 1966s Building dependency tree... 1966s Reading state information... 1966s Solving dependencies... 1966s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1967s autopkgtest [16:28:42]: test closure-refcount: [----------------------- 1967s Running test: glib/closure-refcount.test 1967s TAP version 14 1967s # random seed: R02Saf5e940a097ec95235ac44f3ebc630d5 1967s 1..1 1967s # Start of closure tests 1967s # Init 0x6277f8d41db0 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from thread1 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from thread2 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from thread1 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from thread2 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from thread1 1967s # Yielding from main thread 1967s # Yielding from thread2 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from thread2 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from thread1 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from thread2 1967s # Yielding from thread1 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1967s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from thread2 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from thread1 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from thread2 1968s # Yielding from main thread 1968s # Yielding from thread1 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from thread1 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from thread2 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from thread1 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from thread1 1968s # Yielding from main thread 1968s # Yielding from thread2 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from thread2 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from thread1 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Yielding from thread2 1968s # Yielding from main thread 1968s # Yielding from main thread 1968s # Stopping 1968s # Stopped 1968s ok 1 /closure/refcount 1968s # slow test /closure/refcount executed in 1.32 secs 1968s # End of closure tests 1968s PASS: glib/closure-refcount.test 1968s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.6s; system=0.0s; maxrss=3928 1969s autopkgtest [16:28:44]: test closure-refcount: -----------------------] 1969s autopkgtest [16:28:44]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1969s closure-refcount PASS 1969s autopkgtest [16:28:44]: test debugcontroller: preparing testbed 1969s Reading package lists... 1969s Building dependency tree... 1969s Reading state information... 1969s Solving dependencies... 1970s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1970s autopkgtest [16:28:45]: test debugcontroller: [----------------------- 1970s Running test: glib/debugcontroller.test 1970s TAP version 14 1970s # random seed: R02S09d443a8dc06a2be67843bc0cb00300d 1970s 1..3 1970s # Start of debug-controller tests 1970s # Start of dbus tests 1970s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1970s # GLib-GIO-DEBUG: Debug output enabled 1970s # GLib-GIO-DEBUG: Debug output disabled 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s ok 1 /debug-controller/dbus/basic 1970s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s ok 2 /debug-controller/dbus/duplicate 1970s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1970s # GLib-GIO-DEBUG: Debug output enabled 1970s # GLib-GIO-DEBUG: Debug output disabled 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1970s ok 3 /debug-controller/dbus/properties 1970s # End of dbus tests 1970s # End of debug-controller tests 1970s PASS: glib/debugcontroller.test 1970s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6608 1971s autopkgtest [16:28:46]: test debugcontroller: -----------------------] 1971s debugcontroller PASS 1971s autopkgtest [16:28:46]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1971s autopkgtest [16:28:46]: test gdbus-server-auth: preparing testbed 1971s Reading package lists... 1972s Building dependency tree... 1972s Reading state information... 1972s Solving dependencies... 1972s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1972s autopkgtest [16:28:47]: test gdbus-server-auth: [----------------------- 1973s Running test: glib/gdbus-server-auth.test 1973s TAP version 14 1973s # random seed: R02S1176260d961c3b02e2d4b25617d6b86b 1973s 1..10 1973s # Start of gdbus tests 1973s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/.dirs/home 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/.dirs/cache 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/.dirs/system-config2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/.dirs/config 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/.dirs/system-data2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/.dirs/data 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/.dirs/state 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/.dirs/runtime 1973s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_8WXCK3/gdbus-server-auth-1KYCK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1973s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8WXCK3/gdbus-server-auth-1KYCK3/dbus-KetFUIQa 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40325 1973s ok 1 /gdbus/server-auth 1973s # Start of server-auth tests 1973s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/abstract/.dirs/home 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/abstract/.dirs/cache 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/abstract/.dirs/system-config2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/abstract/.dirs/config 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/abstract/.dirs/system-data2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/abstract/.dirs/data 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/abstract/.dirs/state 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/abstract/.dirs/runtime 1973s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_8WXCK3/gdbus-server-auth-801BK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1973s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8WXCK3/gdbus-server-auth-801BK3/dbus-wX2E5ug4 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40325 1973s ok 2 /gdbus/server-auth/abstract 1973s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/tcp/.dirs/home 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/tcp/.dirs/cache 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/tcp/.dirs/system-config2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/tcp/.dirs/config 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/tcp/.dirs/system-data2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/tcp/.dirs/data 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/tcp/.dirs/state 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/tcp/.dirs/runtime 1973s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1973s # Connectable address: tcp:host=127.0.0.1,port=44685 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1973s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1973s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1973s ok 3 /gdbus/server-auth/tcp 1973s # slow test /gdbus/server-auth/tcp executed in 0.83 secs 1973s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/.dirs/home 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/.dirs/cache 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/.dirs/system-config2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/.dirs/config 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/.dirs/system-data2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/.dirs/data 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/.dirs/state 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/.dirs/runtime 1973s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_8WXCK3/gdbus-server-auth-K8Y9J3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1973s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8WXCK3/gdbus-server-auth-K8Y9J3/dbus-Jm3k2RYe 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40325 1973s ok 4 /gdbus/server-auth/anonymous 1973s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/.dirs/home 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/.dirs/cache 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/.dirs/system-config2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/.dirs/config 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/.dirs/system-data2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/.dirs/data 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/.dirs/state 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/.dirs/runtime 1973s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_8WXCK3/gdbus-server-auth-PRS9J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1973s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8WXCK3/gdbus-server-auth-PRS9J3/dbus-4hr9r5o1 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1973s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40325 1973s ok 5 /gdbus/server-auth/external 1973s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/.dirs/home 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/.dirs/cache 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/.dirs/system-config2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/.dirs/config 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/.dirs/system-data2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/.dirs/data 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/.dirs/state 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/.dirs/runtime 1973s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_8WXCK3/gdbus-server-auth-BLBAK3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1973s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8WXCK3/gdbus-server-auth-BLBAK3/dbus-c9QB4x8T 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40325 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1973s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40325 1973s ok 6 /gdbus/server-auth/sha1 1973s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/path-in-use/.dirs/home 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/path-in-use/.dirs/cache 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/path-in-use/.dirs/system-config1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/path-in-use/.dirs/system-config2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/path-in-use/.dirs/config 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/path-in-use/.dirs/system-data1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/path-in-use/.dirs/system-data2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/path-in-use/.dirs/data 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/path-in-use/.dirs/state 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/path-in-use/.dirs/runtime 1973s ok 7 /gdbus/server-auth/path-in-use 1973s # Start of anonymous tests 1973s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/tcp/.dirs/home 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/tcp/.dirs/config 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/tcp/.dirs/data 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/tcp/.dirs/state 1973s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1973s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1973s # Connectable address: tcp:host=127.0.0.1,port=44053 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1973s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1973s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1973s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1973s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1973s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1974s ok 8 /gdbus/server-auth/anonymous/tcp 1974s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.82 secs 1974s # End of anonymous tests 1974s # Start of external tests 1974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/require-same-user/.dirs/home 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/require-same-user/.dirs/cache 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/require-same-user/.dirs/config 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/require-same-user/.dirs/data 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/require-same-user/.dirs/state 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1974s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_8WXCK3/gdbus-server-auth-ZC84J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1974s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8WXCK3/gdbus-server-auth-ZC84J3/dbus-ujORJ3mV 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40325 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1974s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40325,uid=1000,gid=1000 1974s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40325 1974s ok 9 /gdbus/server-auth/external/require-same-user 1974s # End of external tests 1974s # Start of sha1 tests 1974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/tcp/.dirs/home 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/tcp/.dirs/cache 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/tcp/.dirs/config 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/tcp/.dirs/data 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/tcp/.dirs/state 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8WXCK3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1974s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1974s # Connectable address: tcp:host=127.0.0.1,port=36505 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1974s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1974s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1974s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1974s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1975s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1975s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1975s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1975s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1975s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1975s ok 10 /gdbus/server-auth/sha1/tcp 1975s # slow test /gdbus/server-auth/sha1/tcp executed in 0.83 secs 1975s # End of sha1 tests 1975s # End of server-auth tests 1975s # End of gdbus tests 1975s PASS: glib/gdbus-server-auth.test 1975s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8764 1975s autopkgtest [16:28:50]: test gdbus-server-auth: -----------------------] 1976s gdbus-server-auth PASS 1976s autopkgtest [16:28:51]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1976s autopkgtest [16:28:51]: test gdbus-threading: preparing testbed 1976s Reading package lists... 1976s Building dependency tree... 1976s Reading state information... 1976s Solving dependencies... 1977s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1977s autopkgtest [16:28:52]: test gdbus-threading: [----------------------- 1977s Running test: glib/gdbus-threading.test 1977s TAP version 14 1977s # random seed: R02S584de6409cbf89bca70e8c62b588e248 1977s 1..3 1977s # Start of gdbus tests 1977s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_GSX7J3/gdbus/delivery-in-thread/.dirs/home 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_GSX7J3/gdbus/delivery-in-thread/.dirs/cache 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_GSX7J3/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_GSX7J3/gdbus/delivery-in-thread/.dirs/system-config2 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_GSX7J3/gdbus/delivery-in-thread/.dirs/config 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_GSX7J3/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_GSX7J3/gdbus/delivery-in-thread/.dirs/system-data2 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_GSX7J3/gdbus/delivery-in-thread/.dirs/data 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_GSX7J3/gdbus/delivery-in-thread/.dirs/state 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_GSX7J3/gdbus/delivery-in-thread/.dirs/runtime 1977s ok 1 /gdbus/delivery-in-thread 1977s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_GSX7J3/gdbus/method-calls-in-thread/.dirs/home 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_GSX7J3/gdbus/method-calls-in-thread/.dirs/cache 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_GSX7J3/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_GSX7J3/gdbus/method-calls-in-thread/.dirs/system-config2 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_GSX7J3/gdbus/method-calls-in-thread/.dirs/config 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_GSX7J3/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_GSX7J3/gdbus/method-calls-in-thread/.dirs/system-data2 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_GSX7J3/gdbus/method-calls-in-thread/.dirs/data 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_GSX7J3/gdbus/method-calls-in-thread/.dirs/state 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_GSX7J3/gdbus/method-calls-in-thread/.dirs/runtime 1978s ok 2 /gdbus/method-calls-in-thread 1978s # slow test /gdbus/method-calls-in-thread executed in 0.82 secs 1978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_GSX7J3/gdbus/threaded-singleton/.dirs/home 1978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_GSX7J3/gdbus/threaded-singleton/.dirs/cache 1978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_GSX7J3/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_GSX7J3/gdbus/threaded-singleton/.dirs/system-config2 1978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_GSX7J3/gdbus/threaded-singleton/.dirs/config 1978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_GSX7J3/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_GSX7J3/gdbus/threaded-singleton/.dirs/system-data2 1978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_GSX7J3/gdbus/threaded-singleton/.dirs/data 1978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_GSX7J3/gdbus/threaded-singleton/.dirs/state 1978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_GSX7J3/gdbus/threaded-singleton/.dirs/runtime 1978s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: refcount of 0x732124005d00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: refcount of 0x732124000b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: refcount of 0x7321240050f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: refcount of 0x7321240049c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: refcount of 0x732124002410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: refcount of 0x732124006220 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: refcount of 0x732124006080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: refcount of 0x732124005ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: refcount of 0x732124000bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: refcount of 0x732124006e40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: refcount of 0x732124004810 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: refcount of 0x732124004810 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: refcount of 0x732124004810 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124000ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124000ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124000ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124000ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124000ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124000ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124000ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124000ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124000ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124000ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124000ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124007570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124007570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124007570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124000ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x7321240082b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124006f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124001500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s Executing: glib/gdbus-threading.test 1982s # GLib-GIO-DEBUG: refcount of 0x732124007fe0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005e50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124008370 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124008370 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124008370 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124008370 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124008370 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124007570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124007570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124007570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124007570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124007570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124007570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s Executing: glib/gdbus-threading.test 1987s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124002c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124007eb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124007eb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s Executing: glib/gdbus-threading.test 1992s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0x7321240080c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x7321240080c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124005640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124007e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124007e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124007e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124007e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124004c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124004c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124004c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124004c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124004c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124004c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124004c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124004c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124004c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124007da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124007da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1995s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x7321240081b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1996s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124004bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124007d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124007d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124007d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124007d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124007d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124007d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s Executing: glib/gdbus-threading.test 1997s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124007d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1997s # GLib-GIO-DEBUG: refcount of 0x732124007d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1998s # GLib-GIO-DEBUG: refcount of 0x732124007d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1998s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1998s # GLib-GIO-DEBUG: refcount of 0x732124005680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1998s # GLib-GIO-DEBUG: refcount of 0x732124007d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1998s # GLib-GIO-DEBUG: refcount of 0x732124007510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1998s # GLib-GIO-DEBUG: refcount of 0x732124006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1998s # GLib-GIO-DEBUG: refcount of 0x732124006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1998s # GLib-GIO-DEBUG: refcount of 0x732124006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1998s # GLib-GIO-DEBUG: refcount of 0x732124006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1998s # GLib-GIO-DEBUG: refcount of 0x732124006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1998s # GLib-GIO-DEBUG: refcount of 0x732124006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1998s # GLib-GIO-DEBUG: refcount of 0x732124006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1998s # GLib-GIO-DEBUG: refcount of 0x732124006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1998s ok 3 /gdbus/threaded-singleton 1998s # slow test /gdbus/threaded-singleton executed in 20.01 secs 1998s # End of gdbus tests 1998s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1998s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1998s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1998s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1998s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1998s PASS: glib/gdbus-threading.test 1998s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.3s; maxrss=6644 1999s autopkgtest [16:29:14]: test gdbus-threading: -----------------------] 1999s autopkgtest [16:29:14]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1999s gdbus-threading PASS 1999s autopkgtest [16:29:14]: test gmenumodel: preparing testbed 1999s Reading package lists... 1999s Building dependency tree... 1999s Reading state information... 2000s Solving dependencies... 2000s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2000s autopkgtest [16:29:15]: test gmenumodel: [----------------------- 2000s Running test: glib/gmenumodel.test 2000s TAP version 14 2000s # random seed: R02S9e83cc5bd491a67cd3cb68f27b209bfa 2000s 1..15 2000s # Start of gmenu tests 2001s ok 1 /gmenu/equality 2001s ok 2 /gmenu/random 2001s ok 3 /gmenu/attributes 2001s ok 4 /gmenu/links 2001s ok 5 /gmenu/mutable 2001s ok 6 /gmenu/convenience 2001s ok 7 /gmenu/menuitem 2001s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 2001s ok 8 /gmenu/input-validation 2001s # Start of dbus tests 2002s ok 9 /gmenu/dbus/roundtrip 2002s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 2002s ok 10 /gmenu/dbus/subscriptions 2003s ok 11 /gmenu/dbus/threaded 2003s # Start of peer tests 2004s ok 12 /gmenu/dbus/peer/roundtrip 2004s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 2004s ok 13 /gmenu/dbus/peer/subscriptions 2004s # End of peer tests 2004s # Start of export tests 2004s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 2004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 2004s ok 14 /gmenu/dbus/export/error-handling 2004s # End of export tests 2004s # End of dbus tests 2004s # Start of attributes tests 2004s ok 15 /gmenu/attributes/iterate 2004s # End of attributes tests 2004s # End of gmenu tests 2004s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2004s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2004s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2004s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2004s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2004s PASS: glib/gmenumodel.test 2004s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.2s; system=0.2s; maxrss=21364 2005s autopkgtest [16:29:20]: test gmenumodel: -----------------------] 2005s gmenumodel PASS 2005s autopkgtest [16:29:20]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 2005s autopkgtest [16:29:20]: test mainloop: preparing testbed 2005s Reading package lists... 2006s Building dependency tree... 2006s Reading state information... 2006s Solving dependencies... 2006s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2006s autopkgtest [16:29:21]: test mainloop: [----------------------- 2006s Running test: glib/mainloop.test 2006s TAP version 14 2006s # random seed: R02S689b380c6f17584e6f249bb9ae99b9ed 2006s 1..48 2006s # Start of maincontext tests 2006s ok 1 /maincontext/basic 2006s # Add same-priority sources: 9 2006s # Find each source: 1 2006s # Remove in random order: 8 2006s ok 2 /maincontext/nsources_same_priority 2006s # Add different-priority sources: 10 2006s # Find each source: 1 2006s # Remove in random order: 12 2006s ok 3 /maincontext/nsources_different_priority 2007s # Add sources from threads: 31 2007s # Remove sources from threads: 27 2007s ok 4 /maincontext/nsources_threadpool 2007s ok 5 /maincontext/source_finalization 2007s # /maincontext/idle-once summary: Test g_idle_add_once() works 2007s ok 6 /maincontext/idle-once 2007s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 2007s ok 7 /maincontext/timeout-once 2007s # /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. 2007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 2007s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 2007s # Start of source_finalization_from_source tests 2007s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2007s ok 9 /maincontext/source_finalization_from_source/0 2007s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2007s ok 10 /maincontext/source_finalization_from_source/1 2007s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2007s ok 11 /maincontext/source_finalization_from_source/2 2007s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2007s ok 12 /maincontext/source_finalization_from_source/3 2007s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2007s ok 13 /maincontext/source_finalization_from_source/4 2007s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2007s ok 14 /maincontext/source_finalization_from_source/5 2007s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2007s ok 15 /maincontext/source_finalization_from_source/6 2007s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2007s ok 16 /maincontext/source_finalization_from_source/7 2007s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2007s ok 17 /maincontext/source_finalization_from_source/8 2007s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2007s ok 18 /maincontext/source_finalization_from_source/9 2007s # End of source_finalization_from_source tests 2007s # Start of source_finalization_from_dispatch tests 2007s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2007s ok 19 /maincontext/source_finalization_from_dispatch/0 2007s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2007s ok 20 /maincontext/source_finalization_from_dispatch/1 2007s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2007s ok 21 /maincontext/source_finalization_from_dispatch/2 2007s # End of source_finalization_from_dispatch tests 2007s # End of maincontext tests 2007s # Start of mainloop tests 2007s ok 22 /mainloop/basic 2007s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 2007s ok 24 /mainloop/priorities 2007s ok 25 /mainloop/invoke 2007s # slow test /mainloop/invoke executed in 0.50 secs 2008s ok 26 /mainloop/child_sources 2008s # slow test /mainloop/child_sources executed in 1.17 secs 2010s ok 27 /mainloop/recursive_child_sources 2010s # slow test /mainloop/recursive_child_sources executed in 2.14 secs 2010s ok 28 /mainloop/recursive_loop_child_sources 2010s ok 29 /mainloop/swapping_child_sources 2010s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 2010s ok 30 /mainloop/blocked_child_sources 2011s Executing: glib/mainloop.test 2011s ok 31 /mainloop/source_time 2011s # slow test /mainloop/source_time executed in 1.00 secs 2011s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 2011s ok 32 /mainloop/overflow 2012s ok 33 /mainloop/ready-time 2012s # slow test /mainloop/ready-time executed in 0.50 secs 2012s ok 34 /mainloop/wakeup 2012s ok 35 /mainloop/remove-invalid 2012s ok 36 /mainloop/unref-while-pending 2012s # Test that the global default main context is used if NULL is passed to various methods 2012s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3818 2012s ok 37 /mainloop/null-default-context 2012s ok 38 /mainloop/unix-fd 2012s ok 39 /mainloop/unix-fd-source 2012s ok 40 /mainloop/source-unix-fd-api 2012s ok 41 /mainloop/wait 2012s ok 42 /mainloop/unix-file-poll 2012s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 2012s ok 43 /mainloop/unix-fd-priority 2012s ok 44 /mainloop/nfds 2012s ok 45 /mainloop/steal-fd 2013s ok 46 /mainloop/simultaneous-source-context-destruction 2013s # slow test /mainloop/simultaneous-source-context-destruction executed in 0.76 secs 2013s # Start of ownerless-polling tests 2013s ok 47 /mainloop/ownerless-polling/attach-first 2013s ok 48 /mainloop/ownerless-polling/pop-first 2013s # End of ownerless-polling tests 2013s # End of mainloop tests 2013s PASS: glib/mainloop.test 2013s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=1.4s; maxrss=16696 2014s autopkgtest [16:29:29]: test mainloop: -----------------------] 2014s autopkgtest [16:29:29]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 2014s mainloop PASS 2014s autopkgtest [16:29:29]: test memory-monitor-dbus: preparing testbed 2014s Reading package lists... 2014s Building dependency tree... 2014s Reading state information... 2015s Solving dependencies... 2015s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2015s autopkgtest [16:29:30]: test memory-monitor-dbus: [----------------------- 2015s Running test: glib/memory-monitor-dbus.test 2016s TAP version 13 2016s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 2016s # Received memory warning signal, level 0 2016s # Received memory warning signal, level 0 2016s # Received memory warning signal, level 100 2016s # Received memory warning signal, level 255 2016s 1..1 2016s PASS: glib/memory-monitor-dbus.test 2016s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.0s; maxrss=31676 2016s autopkgtest [16:29:31]: test memory-monitor-dbus: -----------------------] 2016s memory-monitor-dbus PASS 2016s autopkgtest [16:29:31]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 2016s autopkgtest [16:29:31]: test socket: preparing testbed 2017s Reading package lists... 2017s Building dependency tree... 2017s Reading state information... 2017s Solving dependencies... 2017s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2017s autopkgtest [16:29:32]: test socket: [----------------------- 2018s Running test: glib/socket.test 2018s TAP version 14 2018s # random seed: R02Sdb316a8f2d9f12771ae5eea53261bdbf 2018s 1..30 2018s # Start of socket tests 2019s ok 1 /socket/ipv4_sync 2019s # slow test /socket/ipv4_sync executed in 1.00 secs 2020s ok 2 /socket/ipv4_async 2020s # slow test /socket/ipv4_async executed in 1.00 secs 2020s ok 3 /socket/ipv6_sync 2020s ok 4 /socket/ipv6_async 2020s ok 5 /socket/ipv6_v4mapped 2021s ok 6 /socket/close_graceful 2021s # slow test /socket/close_graceful executed in 1.00 secs 2021s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 2021s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 2021s ok 8 /socket/fd_reuse 2021s ok 9 /socket/address 2021s ok 10 /socket/unix-from-fd 2021s ok 11 /socket/unix-connection 2021s ok 12 /socket/unix-connection-ancillary-data 2021s ok 13 /socket/source-postmortem 2021s ok 14 /socket/read_write 2021s ok 15 /socket/read_writev 2021s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 2021s ok 16 /socket/receive_bytes 2021s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 2021s ok 17 /socket/receive_bytes_from 2021s # Start of ipv4_sync tests 2021s ok 18 /socket/ipv4_sync/datagram 2021s # Start of datagram tests 2022s ok 19 /socket/ipv4_sync/datagram/timeouts 2022s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 2022s # End of datagram tests 2022s # End of ipv4_sync tests 2022s # Start of ipv6_sync tests 2022s ok 20 /socket/ipv6_sync/datagram 2022s # Start of datagram tests 2023s ok 21 /socket/ipv6_sync/datagram/timeouts 2023s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 2023s # End of datagram tests 2023s # End of ipv6_sync tests 2023s # Start of reuse tests 2023s ok 22 /socket/reuse/tcp 2023s ok 23 /socket/reuse/udp 2023s # End of reuse tests 2023s # Start of get_available tests 2023s ok 24 /socket/get_available/datagram 2023s ok 25 /socket/get_available/stream 2023s # End of get_available tests 2023s # Start of credentials tests 2023s # Supported on this OS: GCredentials:linux-ucred:pid=0 2023s ok 26 /socket/credentials/tcp_client 2023s # Supported on this OS: GCredentials:linux-ucred:pid=0 2023s ok 27 /socket/credentials/tcp_server 2023s # Supported on this OS: GCredentials:linux-ucred:pid=66325,uid=1000,gid=1000 2023s ok 28 /socket/credentials/unix_socketpair 2023s # End of credentials tests 2023s # Start of accept tests 2023s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 2023s ok 29 /socket/accept/cancelled 2023s # End of accept tests 2023s # Start of connect tests 2023s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 2023s ok 30 /socket/connect/cancelled 2023s # End of connect tests 2023s # End of socket tests 2023s PASS: glib/socket.test 2023s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6132 2023s autopkgtest [16:29:38]: test socket: -----------------------] 2024s socket PASS 2024s autopkgtest [16:29:39]: test socket: - - - - - - - - - - results - - - - - - - - - - 2024s autopkgtest [16:29:39]: test testfilemonitor: preparing testbed 2024s Reading package lists... 2024s Building dependency tree... 2024s Reading state information... 2024s Solving dependencies... 2024s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2025s autopkgtest [16:29:40]: test testfilemonitor: [----------------------- 2025s Running test: glib/testfilemonitor.test 2025s TAP version 14 2025s # random seed: R02S1e4c836ac52a2a090020e450edeb10e8 2025s 1..8 2025s # Start of monitor tests 2025s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 2025s # Using temporary directory: /tmp/gio-test-testfilemonitor_7YIPK3 2025s # Using GFileMonitor GInotifyFileMonitor 2027s ok 1 /monitor/atomic-replace 2027s # slow test /monitor/atomic-replace executed in 2.00 secs 2027s # Using temporary directory: /tmp/gio-test-testfilemonitor_8CEPK3 2027s # Using GFileMonitor GInotifyFileMonitor 2030s ok 2 /monitor/file-changes 2030s # slow test /monitor/file-changes executed in 2.50 secs 2030s # Using temporary directory: /tmp/gio-test-testfilemonitor_KHKCK3 2030s # Using GFileMonitor GInotifyFileMonitor 2030s Executing: glib/testfilemonitor.test 2033s ok 3 /monitor/dir-monitor 2033s # slow test /monitor/dir-monitor executed in 3.50 secs 2033s # Using temporary directory: /tmp/gio-test-testfilemonitor_G87OK3 2033s # Using GFileMonitor GInotifyFileMonitor 2035s Executing: glib/testfilemonitor.test 2040s Executing: glib/testfilemonitor.test 2045s Executing: glib/testfilemonitor.test 2050s Executing: glib/testfilemonitor.test 2055s Executing: glib/testfilemonitor.test 2058s ok 4 /monitor/dir-not-existent 2058s # slow test /monitor/dir-not-existent executed in 25.02 secs 2058s # Using temporary directory: /tmp/gio-test-testfilemonitor_LCTOK3 2058s # Using GFileMonitor 0 GInotifyFileMonitor 2058s # Using GFileMonitor 1 GInotifyFileMonitor 2060s ok 5 /monitor/cross-dir-moves 2060s # slow test /monitor/cross-dir-moves executed in 2.00 secs 2060s # Using temporary directory: /tmp/gio-test-testfilemonitor_P3OOK3 2060s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock. 2060s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 2060s ok 6 /monitor/finalize-in-callback 2060s # Using temporary directory: /tmp/gio-test-testfilemonitor_PYNOK3 2060s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 2060s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 2060s ok 7 /monitor/root 2060s # Start of file tests 2060s # Using temporary directory: /tmp/gio-test-testfilemonitor_Q0NOK3 2060s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 2060s # Running with hard link tests 2060s # Using GFileMonitor GInotifyFileMonitor 2060s Executing: glib/testfilemonitor.test 2064s # Event 0 at expected index 7 skipped because it is marked as optional 2064s # Event 2 at expected index 11 skipped because it is marked as optional 2064s ok 8 /monitor/file/hard-links 2064s # slow test /monitor/file/hard-links executed in 3.50 secs 2064s # End of file tests 2064s # End of monitor tests 2064s PASS: glib/testfilemonitor.test 2064s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6116 2064s autopkgtest [16:30:19]: test testfilemonitor: -----------------------] 2064s testfilemonitor PASS 2064s autopkgtest [16:30:19]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 2064s autopkgtest [16:30:19]: test thread-pool-slow: preparing testbed 2065s Reading package lists... 2065s Building dependency tree... 2065s Reading state information... 2065s Solving dependencies... 2065s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2066s autopkgtest [16:30:21]: test thread-pool-slow: [----------------------- 2066s Running test: glib/thread-pool-slow.test 2066s TAP version 14 2066s # random seed: R02S7cc7bbebe880b11575f7067de86b6ef7 2066s 1..7 2066s # Start of threadpool tests 2066s ok 1 /threadpool/functions 2066s ok 2 /threadpool/stop-unused 2066s # slow test /threadpool/stop-unused executed in 0.50 secs 2066s ok 3 /threadpool/pools 2066s # [unsorted] ===> pushed new thread with id:86, number of threads:1, unprocessed:1 2066s # [unsorted] ===> pushed new thread with id:39, number of threads:2, unprocessed:2 2066s # [unsorted] ===> pushed new thread with id:25, number of threads:3, unprocessed:3 2066s # [unsorted] ===> pushed new thread with id:44, number of threads:4, unprocessed:4 2066s # [unsorted] ===> pushed new thread with id:100, number of threads:5, unprocessed:5 2066s # [unsorted] ===> pushed new thread with id:38, number of threads:6, unprocessed:6 2066s # [unsorted] ===> pushed new thread with id:49, number of threads:7, unprocessed:7 2066s # [unsorted] ===> pushed new thread with id:99, number of threads:8, unprocessed:8 2066s # [unsorted] ===> pushed new thread with id:43, number of threads:9, unprocessed:9 2066s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:9 2066s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:10 2066s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:11 2066s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:12 2066s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:13 2066s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:14 2066s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:15 2066s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:16 2066s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:17 2066s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:18 2066s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:19 2066s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:20 2066s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:21 2066s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:22 2066s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:23 2066s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:24 2066s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:25 2066s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:26 2066s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:27 2066s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:28 2066s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:29 2066s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:30 2066s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:31 2066s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:32 2066s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:33 2066s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:34 2066s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:35 2066s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:36 2066s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:37 2066s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:38 2066s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:39 2066s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:40 2066s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:41 2066s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:42 2066s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:43 2066s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:44 2066s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:45 2066s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:46 2066s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:47 2066s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:48 2066s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:49 2066s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:50 2066s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:51 2066s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:52 2066s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:53 2066s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:54 2066s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:55 2066s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:56 2066s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:57 2066s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:58 2066s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:59 2066s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:60 2066s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:61 2066s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:62 2066s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:63 2066s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:64 2066s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:65 2066s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:66 2066s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:67 2066s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:68 2066s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:69 2066s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:70 2066s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:71 2066s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:72 2066s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:73 2066s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:74 2066s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:75 2066s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:76 2066s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:77 2066s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:78 2066s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:79 2066s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:80 2066s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:81 2066s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:82 2066s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:83 2066s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:84 2066s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:85 2066s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:86 2066s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:87 2066s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:88 2066s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:89 2066s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:90 2066s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:91 2066s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:92 2066s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:93 2066s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:94 2066s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:95 2066s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:96 2066s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:97 2066s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:98 2066s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:99 2066s ok 4 /threadpool/no-sort 2066s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:1 2066s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:2 2066s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:3 2066s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:4 2066s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:5 2066s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:6 2066s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:7 2066s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:8 2066s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:9 2066s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:10 2066s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:11 2066s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:12 2066s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:13 2066s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:14 2066s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:15 2066s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:16 2066s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:17 2066s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:18 2066s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:19 2066s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:20 2066s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:21 2066s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:22 2066s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:23 2066s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:24 2066s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:25 2066s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:26 2066s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:27 2066s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:28 2066s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:29 2066s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:30 2066s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:31 2066s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:32 2066s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:33 2066s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:34 2066s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:35 2066s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:36 2066s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:37 2066s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:38 2066s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:39 2066s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:40 2066s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:41 2066s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:42 2066s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:43 2066s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:44 2066s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:45 2066s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:46 2066s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:47 2066s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:48 2066s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:49 2066s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:50 2066s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:51 2066s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:52 2066s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:53 2066s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:54 2066s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:55 2066s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:56 2066s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:57 2066s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:58 2066s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:59 2066s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:60 2066s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:61 2066s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:62 2066s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:63 2066s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:64 2066s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:65 2066s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:66 2066s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:67 2066s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:68 2066s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:69 2066s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:70 2066s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:71 2066s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:72 2066s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:73 2066s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:74 2066s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:75 2066s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:76 2066s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:77 2066s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:78 2066s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:79 2066s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:80 2066s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:81 2066s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:82 2066s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:83 2066s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:84 2066s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:85 2066s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:86 2066s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:87 2066s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:88 2066s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:89 2066s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:90 2066s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:91 2066s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:92 2066s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:93 2066s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:94 2066s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:95 2066s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:96 2066s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:97 2066s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:98 2066s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:99 2066s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:100 2066s # Starting thread pool processing 2066s ok 5 /threadpool/sort 2067s ok 6 /threadpool/stop-unused-multiple 2067s # slow test /threadpool/stop-unused-multiple executed in 0.50 secs 2067s # Pool idle thread count: 0, unprocessed jobs: 41 2067s # Pool idle thread count: 0, unprocessed jobs: 0 2067s # Pool idle thread count: 0, unprocessed jobs: 0 2068s # Pool idle thread count: 10, unprocessed jobs: 0 2068s # Pool idle thread count: 10, unprocessed jobs: 0 2068s # Pool idle thread count: 10, unprocessed jobs: 0 2068s # Pool idle thread count: 10, unprocessed jobs: 0 2069s # Pool idle thread count: 10, unprocessed jobs: 0 2069s # Pool idle thread count: 10, unprocessed jobs: 0 2069s # Pool idle thread count: 10, unprocessed jobs: 0 2069s # Pool idle thread count: 10, unprocessed jobs: 0 2070s # Pool idle thread count: 10, unprocessed jobs: 0 2070s # Pool idle thread count: 10, unprocessed jobs: 0 2070s # Pool idle thread count: 10, unprocessed jobs: 0 2070s # Pool idle thread count: 10, unprocessed jobs: 0 2071s # Pool idle thread count: 10, unprocessed jobs: 0 2071s # Pool idle thread count: 10, unprocessed jobs: 0 2071s Executing: glib/thread-pool-slow.test 2071s # Pool idle thread count: 10, unprocessed jobs: 0 2071s # Pool idle thread count: 10, unprocessed jobs: 0 2072s # Pool idle thread count: 10, unprocessed jobs: 0 2072s # Pool idle thread count: 10, unprocessed jobs: 0 2072s # Pool idle thread count: 10, unprocessed jobs: 0 2072s # Pool idle thread count: 10, unprocessed jobs: 0 2073s # Pool idle thread count: 10, unprocessed jobs: 0 2073s # Pool idle thread count: 10, unprocessed jobs: 0 2073s # Pool idle thread count: 10, unprocessed jobs: 0 2073s # Pool idle thread count: 10, unprocessed jobs: 0 2074s # Pool idle thread count: 10, unprocessed jobs: 0 2074s # Pool idle thread count: 10, unprocessed jobs: 0 2074s # Pool idle thread count: 10, unprocessed jobs: 0 2074s # Pool idle thread count: 10, unprocessed jobs: 0 2075s # Pool idle thread count: 10, unprocessed jobs: 0 2075s # Pool idle thread count: 10, unprocessed jobs: 0 2075s # Pool idle thread count: 10, unprocessed jobs: 0 2075s # Pool idle thread count: 10, unprocessed jobs: 0 2076s # Pool idle thread count: 10, unprocessed jobs: 2 2076s # Pool idle thread count: 8, unprocessed jobs: 0 2076s # Pool idle thread count: 8, unprocessed jobs: 0 2076s # Pool idle thread count: 8, unprocessed jobs: 0 2076s Executing: glib/thread-pool-slow.test 2076s # Pool idle thread count: 10, unprocessed jobs: 0 2076s # Pool idle thread count: 10, unprocessed jobs: 0 2077s # Pool idle thread count: 10, unprocessed jobs: 0 2077s # Pool idle thread count: 10, unprocessed jobs: 0 2077s # Pool idle thread count: 10, unprocessed jobs: 0 2077s # Pool idle thread count: 10, unprocessed jobs: 0 2078s # Pool idle thread count: 2, unprocessed jobs: 0 2078s # Pool idle thread count: 2, unprocessed jobs: 0 2078s # Pool idle thread count: 2, unprocessed jobs: 0 2078s # Pool idle thread count: 2, unprocessed jobs: 0 2079s # Pool idle thread count: 2, unprocessed jobs: 0 2079s # Pool idle thread count: 2, unprocessed jobs: 0 2079s # Pool idle thread count: 2, unprocessed jobs: 0 2079s # Pool idle thread count: 2, unprocessed jobs: 0 2080s # Pool idle thread count: 2, unprocessed jobs: 0 2080s # Pool idle thread count: 2, unprocessed jobs: 0 2080s # Pool idle thread count: 2, unprocessed jobs: 0 2080s # Pool idle thread count: 2, unprocessed jobs: 0 2081s # Pool idle thread count: 2, unprocessed jobs: 0 2081s # Pool idle thread count: 2, unprocessed jobs: 0 2081s Executing: glib/thread-pool-slow.test 2081s # Pool idle thread count: 2, unprocessed jobs: 0 2081s # Pool idle thread count: 2, unprocessed jobs: 0 2082s # Pool idle thread count: 2, unprocessed jobs: 0 2082s # Pool idle thread count: 2, unprocessed jobs: 0 2082s # Pool idle thread count: 2, unprocessed jobs: 0 2082s # Pool idle thread count: 2, unprocessed jobs: 0 2083s # Pool idle thread count: 2, unprocessed jobs: 0 2083s # Pool idle thread count: 2, unprocessed jobs: 0 2083s # Pool idle thread count: 2, unprocessed jobs: 0 2083s # Pool idle thread count: 2, unprocessed jobs: 0 2084s # Pool idle thread count: 2, unprocessed jobs: 0 2084s # Pool idle thread count: 2, unprocessed jobs: 0 2084s # Pool idle thread count: 2, unprocessed jobs: 0 2084s # Pool idle thread count: 2, unprocessed jobs: 0 2085s # Pool idle thread count: 2, unprocessed jobs: 0 2085s # Pool idle thread count: 2, unprocessed jobs: 0 2085s # Pool idle thread count: 2, unprocessed jobs: 0 2085s # Pool idle thread count: 2, unprocessed jobs: 0 2086s # Pool idle thread count: 2, unprocessed jobs: 0 2086s # Pool idle thread count: 2, unprocessed jobs: 0 2086s Executing: glib/thread-pool-slow.test 2086s ok 7 /threadpool/idle-time 2086s # slow test /threadpool/idle-time executed in 19.52 secs 2086s # End of threadpool tests 2086s PASS: glib/thread-pool-slow.test 2086s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=4100 2087s autopkgtest [16:30:42]: test thread-pool-slow: -----------------------] 2087s thread-pool-slow PASS 2087s autopkgtest [16:30:42]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 2087s autopkgtest [16:30:42]: test threadtests: preparing testbed 2087s Reading package lists... 2088s Building dependency tree... 2088s Reading state information... 2088s Solving dependencies... 2088s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2088s autopkgtest [16:30:43]: test threadtests: [----------------------- 2089s Running test: glib/threadtests.test 2089s TAP version 14 2089s # random seed: R02Sb6ff10adf0c2c2d933aa680bedc1d5c2 2089s 1..5 2089s # Start of GObject tests 2089s ok 1 /GObject/threaded-object-init 2089s ok 2 /GObject/threaded-weak-ref 2089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 2089s # /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 2089s ok 3 /GObject/threaded-toggle-notify 2089s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 2089s # Start of threaded-weak-ref tests 2089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 2089s # /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. 2089s ok 5 /GObject/threaded-weak-ref/on-finalization 2089s # End of threaded-weak-ref tests 2089s # End of GObject tests 2089s PASS: glib/threadtests.test 2089s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.2s; maxrss=4068 2090s autopkgtest [16:30:45]: test threadtests: -----------------------] 2090s threadtests PASS 2090s autopkgtest [16:30:45]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 2090s autopkgtest [16:30:45]: test timeout: preparing testbed 2090s Reading package lists... 2090s Building dependency tree... 2090s Reading state information... 2091s Solving dependencies... 2091s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2091s autopkgtest [16:30:46]: test timeout: [----------------------- 2091s Running test: glib/timeout.test 2091s TAP version 14 2091s # random seed: R02S2a369b439253496ea9d13cd70a44a8d2 2091s 1..5 2091s # Start of timeout tests 2091s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 2094s ok 1 /timeout/seconds 2094s # slow test /timeout/seconds executed in 2.10 secs 2096s ok 2 /timeout/seconds-once 2096s # slow test /timeout/seconds-once executed in 2.10 secs 2096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 2096s Executing: glib/timeout.test 2098s ok 3 /timeout/weeks-overflow 2098s # slow test /timeout/weeks-overflow executed in 2.10 secs 2098s ok 4 /timeout/far-future-ready-time 2101s Executing: glib/timeout.test 2106s Executing: glib/timeout.test 2108s ok 5 /timeout/rounding 2108s # slow test /timeout/rounding executed in 10.67 secs 2108s # End of timeout tests 2108s PASS: glib/timeout.test 2108s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3368 2109s autopkgtest [16:31:04]: test timeout: -----------------------] 2109s autopkgtest [16:31:04]: test timeout: - - - - - - - - - - results - - - - - - - - - - 2109s timeout PASS 2109s autopkgtest [16:31:04]: test timer: preparing testbed 2109s Reading package lists... 2110s Building dependency tree... 2110s Reading state information... 2110s Solving dependencies... 2110s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2110s autopkgtest [16:31:05]: test timer: [----------------------- 2110s Running test: glib/timer.test 2110s TAP version 14 2110s # random seed: R02Sf0655a50df462f3771ab953aa300a446 2110s 1..10 2110s # Start of timer tests 2110s ok 1 /timer/basic 2110s ok 2 /timer/stop 2110s ok 3 /timer/continue 2110s ok 4 /timer/reset 2110s ok 5 /timer/is_active 2110s # End of timer tests 2110s # Start of timeval tests 2110s ok 6 /timeval/add 2110s ok 7 /timeval/from-iso8601 2110s ok 8 /timeval/to-iso8601 2110s # Start of to-iso8601 tests 2110s ok 9 /timeval/to-iso8601/overflow 2110s # End of to-iso8601 tests 2110s # End of timeval tests 2110s # Start of usleep tests 2110s ok 10 /usleep/with-zero-wait 2110s # End of usleep tests 2110s PASS: glib/timer.test 2110s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3428 2111s autopkgtest [16:31:06]: test timer: -----------------------] 2111s timer PASS 2111s autopkgtest [16:31:06]: test timer: - - - - - - - - - - results - - - - - - - - - - 2111s autopkgtest [16:31:06]: test 1065022-futureproofing: preparing testbed 2130s Creating nova instance adt-resolute-amd64-glib2.0-20260208-155554-juju-7f2275-prod-proposed-migration-environment-15-8a20b40f-8d6f-4a9f-9024-8d72ab1e3145 from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)... 2198s autopkgtest [16:32:33]: testbed dpkg architecture: amd64 2198s autopkgtest [16:32:33]: testbed apt version: 3.1.14 2198s autopkgtest [16:32:33]: @@@@@@@@@@@@@@@@@@@@ test bed setup 2199s autopkgtest [16:32:34]: testbed release detected to be: resolute 2199s autopkgtest [16:32:34]: updating testbed package index (apt update) 2199s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 2199s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 2199s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 2199s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 2200s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 2200s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 2200s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 2200s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [201 kB] 2200s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [263 kB] 2200s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6524 B] 2200s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [120 B] 2200s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [561 kB] 2200s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1458 kB] 2200s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [31.2 kB] 2200s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4320 B] 2200s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [25.2 kB] 2200s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [996 B] 2201s Fetched 4378 kB in 1s (5055 kB/s) 2201s Reading package lists... 2202s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 2202s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 2202s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 2202s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 2202s Reading package lists... 2202s Reading package lists... 2203s Building dependency tree... 2203s Reading state information... 2203s Calculating upgrade... 2203s The following package was automatically installed and is no longer required: 2203s libpython3.13 2203s Use 'sudo apt autoremove' to remove it. 2203s The following NEW packages will be installed: 2203s libpython3.14 libpython3.14-minimal libpython3.14-stdlib 2203s linux-headers-6.19.0-3 linux-headers-6.19.0-3-generic 2203s linux-image-6.19.0-3-generic linux-modules-6.19.0-3-generic 2203s linux-tools-6.19.0-3 linux-tools-6.19.0-3-generic 2203s The following packages will be upgraded: 2203s 3cpio amd64-microcode apt bpftool busybox-initramfs busybox-static dash 2203s debianutils dmsetup dpkg dpkg-dev ethtool findutils gir1.2-girepository-3.0 2203s gir1.2-glib-2.0 hwdata less libapt-pkg7.0 libattr1 libbpf1 libbsd0 2203s libdevmapper1.02.1 libdpkg-perl libdrm-amdgpu1 libdrm-common libdrm2 2203s libevent-core-2.1-7t64 libgdbm-compat4t64 libgdbm6t64 libgirepository-2.0-0 2203s libglib2.0-0t64 libglib2.0-data libgpm2 libgudev-1.0-0 libidn2-0 2203s libkeyutils1 liblsof0 libmaxminddb0 libnetfilter-conntrack3 libnpth0t64 2203s libonig5 libpcap0.8t64 libpci3 libsensors-config libsensors5 libusb-1.0-0 2203s libwrap0 libxau6 libxkbcommon0 linux-generic linux-headers-generic 2203s linux-headers-virtual linux-image-generic linux-image-virtual linux-perf 2203s linux-tools-common linux-virtual lsof man-db mawk patch pciutils pnp.ids 2203s pollinate python3-linkify-it python3-markdown-it python3-referencing sed 2203s shared-mime-info tar tcpdump ubuntu-kernel-accessories ubuntu-standard 2203s 73 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 2203s Need to get 236 MB of archives. 2203s After this operation, 338 MB of additional disk space will be used. 2203s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 debianutils amd64 5.23.2build1 [93.3 kB] 2203s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 dash amd64 0.5.12-12ubuntu3 [96.0 kB] 2203s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB] 2203s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB] 2203s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 dpkg amd64 1.23.5ubuntu1 [1288 kB] 2203s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB] 2203s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB] 2203s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB] 2203s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libbsd0 amd64 0.12.2-2build2 [42.3 kB] 2203s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB] 2203s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB] 2203s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB] 2203s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB] 2203s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 ethtool amd64 1:6.15-3build1 [318 kB] 2203s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-girepository-3.0 amd64 2.87.2-2 [25.2 kB] 2203s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 libgirepository-2.0-0 amd64 2.87.2-2 [76.1 kB] 2203s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0 amd64 2.87.2-2 [182 kB] 2203s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-0t64 amd64 2.87.2-2 [1613 kB] 2203s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB] 2203s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libbpf1 amd64 1:1.6.2-1build1 [184 kB] 2203s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-data all 2.87.2-2 [58.2 kB] 2203s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libidn2-0 amd64 2.3.8-4build1 [67.6 kB] 2203s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB] 2203s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 2203s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB] 2203s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 shared-mime-info amd64 2.4-5build3 [476 kB] 2203s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB] 2203s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B] 2203s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB] 2203s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm6t64 amd64 1.26-1build1 [36.5 kB] 2203s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB] 2203s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 lsof amd64 4.99.4+dfsg-2build2 [239 kB] 2203s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsof0 amd64 4.99.4+dfsg-2build2 [56.5 kB] 2203s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB] 2203s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libnetfilter-conntrack3 amd64 1.1.1-1 [47.5 kB] 2203s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcap0.8t64 amd64 1.10.5-2ubuntu3 [154 kB] 2203s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 pciutils amd64 1:3.14.0-1build2 [95.5 kB] 2203s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libpci3 amd64 1:3.14.0-1build2 [38.1 kB] 2203s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B] 2203s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB] 2203s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 libusb-1.0-0 amd64 2:1.0.29-2build1 [56.9 kB] 2203s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 libxau6 amd64 1:1.0.11-1build2 [7502 B] 2203s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 libxkbcommon0 amd64 1.13.1-1 [159 kB] 2204s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 man-db amd64 2.13.1-1build1 [1392 kB] 2204s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 tcpdump amd64 4.99.5-2ubuntu3 [477 kB] 2204s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-standard amd64 1.564 [13.3 kB] 2204s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 3cpio amd64 0.14.0-1ubuntu1 [285 kB] 2204s Get:48 http://ftpmaster.internal/ubuntu resolute/main amd64 bpftool amd64 7.7.0+6.19.0-3.3 [1229 kB] 2204s Get:49 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB] 2204s Get:50 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 dpkg-dev all 1.23.5ubuntu1 [1062 kB] 2204s Get:51 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libdpkg-perl all 1.23.5ubuntu1 [289 kB] 2204s Get:52 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB] 2204s Get:53 http://ftpmaster.internal/ubuntu resolute/main amd64 hwdata all 0.394-1build1 [1566 B] 2204s Get:54 http://ftpmaster.internal/ubuntu resolute/main amd64 pnp.ids all 0.394-1build1 [29.6 kB] 2204s Get:55 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB] 2204s Get:56 http://ftpmaster.internal/ubuntu resolute/main amd64 libevent-core-2.1-7t64 amd64 2.1.12-stable-10build2 [93.1 kB] 2204s Get:57 http://ftpmaster.internal/ubuntu resolute/main amd64 libgdbm-compat4t64 amd64 1.26-1build1 [6796 B] 2204s Get:58 http://ftpmaster.internal/ubuntu resolute/main amd64 libgudev-1.0-0 amd64 1:238-7build1 [15.9 kB] 2204s Get:59 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B] 2204s Get:60 http://ftpmaster.internal/ubuntu resolute/main amd64 libonig5 amd64 6.9.10-1build1 [174 kB] 2204s Get:61 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.2-1 [920 kB] 2204s Get:62 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.2-1 [2398 kB] 2204s Get:63 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14 amd64 3.14.2-1 [2568 kB] 2204s Get:64 http://ftpmaster.internal/ubuntu resolute/main amd64 libwrap0 amd64 7.6.q-36build2 [48.5 kB] 2204s Get:65 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-modules-6.19.0-3-generic amd64 6.19.0-3.3 [171 MB] 2206s Get:66 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-6.19.0-3-generic amd64 6.19.0-3.3+1 [16.8 MB] 2207s Get:67 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB] 2207s Get:68 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-generic amd64 6.19.0-3.3 [1698 B] 2207s Get:69 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-generic amd64 6.19.0-3.3 [12.2 kB] 2207s Get:70 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-virtual amd64 6.19.0-3.3 [1700 B] 2207s Get:71 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-image-virtual amd64 6.19.0-3.3 [12.1 kB] 2207s Get:72 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-virtual amd64 6.19.0-3.3 [1646 B] 2207s Get:73 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3 all 6.19.0-3.3 [14.9 MB] 2207s Get:74 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-6.19.0-3-generic amd64 6.19.0-3.3 [4330 kB] 2207s Get:75 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-headers-generic amd64 6.19.0-3.3 [12.0 kB] 2207s Get:76 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-perf amd64 6.19.0-3.3 [4480 kB] 2207s Get:77 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-common all 6.19.0-3.3 [345 kB] 2207s Get:78 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3 amd64 6.19.0-3.3 [1455 kB] 2207s Get:79 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-tools-6.19.0-3-generic amd64 6.19.0-3.3 [1612 B] 2207s Get:80 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB] 2207s Get:81 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 2207s Get:82 http://ftpmaster.internal/ubuntu resolute/main amd64 ubuntu-kernel-accessories amd64 1.564 [13.1 kB] 2207s dpkg-preconfigure: unable to re-open stdin: No such file or directory 2207s Fetched 236 MB in 4s (57.2 MB/s) 2207s (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 ... 83957 files and directories currently installed.) 2207s Preparing to unpack .../debianutils_5.23.2build1_amd64.deb ... 2207s Unpacking debianutils (5.23.2build1) over (5.23.2) ... 2207s Setting up debianutils (5.23.2build1) ... 2208s (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 ... 83957 files and directories currently installed.) 2208s Preparing to unpack .../dash_0.5.12-12ubuntu3_amd64.deb ... 2208s Unpacking dash (0.5.12-12ubuntu3) over (0.5.12-12ubuntu2) ... 2208s Setting up dash (0.5.12-12ubuntu3) ... 2208s (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 ... 83957 files and directories currently installed.) 2208s Preparing to unpack .../libapt-pkg7.0_3.1.15_amd64.deb ... 2208s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ... 2208s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ... 2208s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ... 2208s Setting up tar (1.35+dfsg-3.1build2) ... 2208s (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 ... 83957 files and directories currently installed.) 2208s Preparing to unpack .../dpkg_1.23.5ubuntu1_amd64.deb ... 2208s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 2208s Setting up dpkg (1.23.5ubuntu1) ... 2208s (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 ... 83958 files and directories currently installed.) 2208s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ... 2208s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ... 2208s Setting up findutils (4.10.0-3build2) ... 2208s (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 ... 83958 files and directories currently installed.) 2208s Preparing to unpack .../sed_4.9-2build3_amd64.deb ... 2208s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 2208s Setting up sed (4.9-2build3) ... 2208s (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 ... 83958 files and directories currently installed.) 2208s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ... 2208s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ... 2208s Setting up libattr1:amd64 (1:2.5.2-3build2) ... 2208s (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 ... 83958 files and directories currently installed.) 2208s Preparing to unpack .../00-libbsd0_0.12.2-2build2_amd64.deb ... 2208s Unpacking libbsd0:amd64 (0.12.2-2build2) over (0.12.2-2build1) ... 2208s Preparing to unpack .../01-mawk_1.3.4.20260129-1_amd64.deb ... 2208s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ... 2208s Preparing to unpack .../02-apt_3.1.15_amd64.deb ... 2208s Unpacking apt (3.1.15) over (3.1.14) ... 2209s Preparing to unpack .../03-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ... 2209s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 2209s Preparing to unpack .../04-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ... 2209s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ... 2209s Preparing to unpack .../05-ethtool_1%3a6.15-3build1_amd64.deb ... 2209s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 2209s Preparing to unpack .../06-gir1.2-girepository-3.0_2.87.2-2_amd64.deb ... 2209s Unpacking gir1.2-girepository-3.0:amd64 (2.87.2-2) over (2.86.3-4) ... 2209s Preparing to unpack .../07-libgirepository-2.0-0_2.87.2-2_amd64.deb ... 2209s Unpacking libgirepository-2.0-0:amd64 (2.87.2-2) over (2.86.3-4) ... 2209s Preparing to unpack .../08-gir1.2-glib-2.0_2.87.2-2_amd64.deb ... 2209s Unpacking gir1.2-glib-2.0:amd64 (2.87.2-2) over (2.86.3-4) ... 2209s Preparing to unpack .../09-libglib2.0-0t64_2.87.2-2_amd64.deb ... 2209s Unpacking libglib2.0-0t64:amd64 (2.87.2-2) over (2.86.3-4) ... 2209s Preparing to unpack .../10-less_668-1build1_amd64.deb ... 2209s Unpacking less (668-1build1) over (668-1) ... 2209s Preparing to unpack .../11-libbpf1_1%3a1.6.2-1build1_amd64.deb ... 2209s Unpacking libbpf1:amd64 (1:1.6.2-1build1) over (1:1.6.2-1) ... 2209s Preparing to unpack .../12-libglib2.0-data_2.87.2-2_all.deb ... 2209s Unpacking libglib2.0-data (2.87.2-2) over (2.86.3-4) ... 2209s Preparing to unpack .../13-libidn2-0_2.3.8-4build1_amd64.deb ... 2209s Unpacking libidn2-0:amd64 (2.3.8-4build1) over (2.3.8-4) ... 2209s Preparing to unpack .../14-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ... 2209s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ... 2209s Preparing to unpack .../15-python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 2209s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 2209s Preparing to unpack .../16-python3-markdown-it_3.0.0-3build1_all.deb ... 2209s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ... 2209s Preparing to unpack .../17-shared-mime-info_2.4-5build3_amd64.deb ... 2209s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 2209s Preparing to unpack .../18-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ... 2209s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 2209s Preparing to unpack .../19-libdrm-common_2.4.131-1_all.deb ... 2209s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ... 2209s Preparing to unpack .../20-libdrm2_2.4.131-1_amd64.deb ... 2209s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ... 2209s Preparing to unpack .../21-libgdbm6t64_1.26-1build1_amd64.deb ... 2209s Unpacking libgdbm6t64:amd64 (1.26-1build1) over (1.26-1) ... 2209s Preparing to unpack .../22-libgpm2_1.20.7-12build1_amd64.deb ... 2209s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ... 2209s Preparing to unpack .../23-lsof_4.99.4+dfsg-2build2_amd64.deb ... 2209s Unpacking lsof (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 2209s Preparing to unpack .../24-liblsof0_4.99.4+dfsg-2build2_amd64.deb ... 2209s Unpacking liblsof0 (4.99.4+dfsg-2build2) over (4.99.4+dfsg-2build1) ... 2209s Preparing to unpack .../25-libmaxminddb0_1.12.2-1build2_amd64.deb ... 2209s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ... 2209s Preparing to unpack .../26-libnetfilter-conntrack3_1.1.1-1_amd64.deb ... 2209s Unpacking libnetfilter-conntrack3:amd64 (1.1.1-1) over (1.1.0-1build1) ... 2209s Preparing to unpack .../27-libpcap0.8t64_1.10.5-2ubuntu3_amd64.deb ... 2209s Unpacking libpcap0.8t64:amd64 (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 2209s Preparing to unpack .../28-pciutils_1%3a3.14.0-1build2_amd64.deb ... 2209s Unpacking pciutils (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 2209s Preparing to unpack .../29-libpci3_1%3a3.14.0-1build2_amd64.deb ... 2209s Unpacking libpci3:amd64 (1:3.14.0-1build2) over (1:3.14.0-1build1) ... 2210s Preparing to unpack .../30-libsensors-config_1%3a3.6.2-2build1_all.deb ... 2210s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ... 2210s Preparing to unpack .../31-libsensors5_1%3a3.6.2-2build1_amd64.deb ... 2210s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ... 2210s Preparing to unpack .../32-libusb-1.0-0_2%3a1.0.29-2build1_amd64.deb ... 2210s Unpacking libusb-1.0-0:amd64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 2210s Preparing to unpack .../33-libxau6_1%3a1.0.11-1build2_amd64.deb ... 2210s Unpacking libxau6:amd64 (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 2210s Preparing to unpack .../34-libxkbcommon0_1.13.1-1_amd64.deb ... 2210s Unpacking libxkbcommon0:amd64 (1.13.1-1) over (1.12.3-1) ... 2210s Preparing to unpack .../35-man-db_2.13.1-1build1_amd64.deb ... 2210s Unpacking man-db (2.13.1-1build1) over (2.13.1-1) ... 2210s Preparing to unpack .../36-tcpdump_4.99.5-2ubuntu3_amd64.deb ... 2210s Unpacking tcpdump (4.99.5-2ubuntu3) over (4.99.5-2ubuntu2) ... 2210s Preparing to unpack .../37-ubuntu-standard_1.564_amd64.deb ... 2210s Unpacking ubuntu-standard (1.564) over (1.563) ... 2210s Preparing to unpack .../38-3cpio_0.14.0-1ubuntu1_amd64.deb ... 2210s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 2210s Preparing to unpack .../39-bpftool_7.7.0+6.19.0-3.3_amd64.deb ... 2210s Unpacking bpftool (7.7.0+6.19.0-3.3) over (7.7.0+6.18.0-9.9) ... 2210s Preparing to unpack .../40-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ... 2210s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ... 2210s Preparing to unpack .../41-dpkg-dev_1.23.5ubuntu1_all.deb ... 2210s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 2210s Preparing to unpack .../42-libdpkg-perl_1.23.5ubuntu1_all.deb ... 2210s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 2210s Preparing to unpack .../43-patch_2.8-2build1_amd64.deb ... 2210s Unpacking patch (2.8-2build1) over (2.8-2) ... 2210s Preparing to unpack .../44-hwdata_0.394-1build1_all.deb ... 2210s Unpacking hwdata (0.394-1build1) over (0.394-1) ... 2210s Preparing to unpack .../45-pnp.ids_0.394-1build1_all.deb ... 2210s Unpacking pnp.ids (0.394-1build1) over (0.394-1) ... 2210s Preparing to unpack .../46-libdrm-amdgpu1_2.4.131-1_amd64.deb ... 2210s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ... 2210s Preparing to unpack .../47-libevent-core-2.1-7t64_2.1.12-stable-10build2_amd64.deb ... 2210s Unpacking libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 2210s Preparing to unpack .../48-libgdbm-compat4t64_1.26-1build1_amd64.deb ... 2210s Unpacking libgdbm-compat4t64:amd64 (1.26-1build1) over (1.26-1) ... 2210s Preparing to unpack .../49-libgudev-1.0-0_1%3a238-7build1_amd64.deb ... 2210s Unpacking libgudev-1.0-0:amd64 (1:238-7build1) over (1:238-7) ... 2210s Preparing to unpack .../50-libnpth0t64_1.8-3build1_amd64.deb ... 2210s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ... 2210s Preparing to unpack .../51-libonig5_6.9.10-1build1_amd64.deb ... 2210s Unpacking libonig5:amd64 (6.9.10-1build1) over (6.9.10-1) ... 2210s Selecting previously unselected package libpython3.14-minimal:amd64. 2210s Preparing to unpack .../52-libpython3.14-minimal_3.14.2-1_amd64.deb ... 2210s Unpacking libpython3.14-minimal:amd64 (3.14.2-1) ... 2210s Selecting previously unselected package libpython3.14-stdlib:amd64. 2210s Preparing to unpack .../53-libpython3.14-stdlib_3.14.2-1_amd64.deb ... 2210s Unpacking libpython3.14-stdlib:amd64 (3.14.2-1) ... 2211s Selecting previously unselected package libpython3.14:amd64. 2211s Preparing to unpack .../54-libpython3.14_3.14.2-1_amd64.deb ... 2211s Unpacking libpython3.14:amd64 (3.14.2-1) ... 2211s Preparing to unpack .../55-libwrap0_7.6.q-36build2_amd64.deb ... 2211s Unpacking libwrap0:amd64 (7.6.q-36build2) over (7.6.q-36build1) ... 2211s Selecting previously unselected package linux-modules-6.19.0-3-generic. 2211s Preparing to unpack .../56-linux-modules-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 2211s Unpacking linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 2211s Selecting previously unselected package linux-image-6.19.0-3-generic. 2211s Preparing to unpack .../57-linux-image-6.19.0-3-generic_6.19.0-3.3+1_amd64.deb ... 2211s Unpacking linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 2211s Preparing to unpack .../58-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ... 2211s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ... 2211s Preparing to unpack .../59-linux-generic_6.19.0-3.3_amd64.deb ... 2211s Unpacking linux-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 2211s Preparing to unpack .../60-linux-image-generic_6.19.0-3.3_amd64.deb ... 2211s Unpacking linux-image-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 2211s Preparing to unpack .../61-linux-virtual_6.19.0-3.3_amd64.deb ... 2211s Unpacking linux-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 2212s Preparing to unpack .../62-linux-image-virtual_6.19.0-3.3_amd64.deb ... 2212s Unpacking linux-image-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 2212s Preparing to unpack .../63-linux-headers-virtual_6.19.0-3.3_amd64.deb ... 2212s Unpacking linux-headers-virtual (6.19.0-3.3) over (6.18.0-9.9+1) ... 2212s Selecting previously unselected package linux-headers-6.19.0-3. 2212s Preparing to unpack .../64-linux-headers-6.19.0-3_6.19.0-3.3_all.deb ... 2212s Unpacking linux-headers-6.19.0-3 (6.19.0-3.3) ... 2213s Selecting previously unselected package linux-headers-6.19.0-3-generic. 2213s Preparing to unpack .../65-linux-headers-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 2213s Unpacking linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 2213s Preparing to unpack .../66-linux-headers-generic_6.19.0-3.3_amd64.deb ... 2213s Unpacking linux-headers-generic (6.19.0-3.3) over (6.18.0-9.9+1) ... 2213s Preparing to unpack .../67-linux-perf_6.19.0-3.3_amd64.deb ... 2213s Unpacking linux-perf (6.19.0-3.3) over (6.18.0-9.9) ... 2213s Preparing to unpack .../68-linux-tools-common_6.19.0-3.3_all.deb ... 2213s Unpacking linux-tools-common (6.19.0-3.3) over (6.18.0-9.9) ... 2213s Selecting previously unselected package linux-tools-6.19.0-3. 2213s Preparing to unpack .../69-linux-tools-6.19.0-3_6.19.0-3.3_amd64.deb ... 2213s Unpacking linux-tools-6.19.0-3 (6.19.0-3.3) ... 2213s Selecting previously unselected package linux-tools-6.19.0-3-generic. 2213s Preparing to unpack .../70-linux-tools-6.19.0-3-generic_6.19.0-3.3_amd64.deb ... 2213s Unpacking linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 2213s Preparing to unpack .../71-pollinate_4.33-4ubuntu5_all.deb ... 2213s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 2213s Preparing to unpack .../72-python3-referencing_0.36.2-1ubuntu2_all.deb ... 2214s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 2214s Preparing to unpack .../73-ubuntu-kernel-accessories_1.564_amd64.deb ... 2214s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 2214s Setting up 3cpio (0.14.0-1ubuntu1) ... 2214s Setting up libxau6:amd64 (1:1.0.11-1build2) ... 2214s Setting up libnpth0t64:amd64 (1.8-3build1) ... 2214s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ... 2214s Setting up ubuntu-kernel-accessories (1.564) ... 2214s Setting up libgpm2:amd64 (1.20.7-12build1) ... 2214s Setting up libgdbm6t64:amd64 (1.26-1build1) ... 2214s Setting up linux-modules-6.19.0-3-generic (6.19.0-3.3) ... 2215s Setting up libgdbm-compat4t64:amd64 (1.26-1build1) ... 2215s Setting up bpftool (7.7.0+6.19.0-3.3) ... 2215s Setting up liblsof0 (4.99.4+dfsg-2build2) ... 2215s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ... 2215s Setting up libpython3.14-minimal:amd64 (3.14.2-1) ... 2215s Setting up libsensors-config (1:3.6.2-2build1) ... 2215s Setting up less (668-1build1) ... 2215s Setting up linux-headers-6.19.0-3 (6.19.0-3.3) ... 2215s Setting up libidn2-0:amd64 (2.3.8-4build1) ... 2215s Setting up amd64-microcode (3.20251202.1ubuntu1) ... 2215s amd64-microcode: microcode will be updated at next boot 2215s Setting up man-db (2.13.1-1build1) ... 2215s Updating database of manual pages ... 2216s man-db.service is a disabled or a static unit not running, not starting it. 2216s Setting up libglib2.0-0t64:amd64 (2.87.2-2) ... 2216s No schema files found: doing nothing. 2216s Setting up libglib2.0-data (2.87.2-2) ... 2216s Setting up pollinate (4.33-4ubuntu5) ... 2227s Setting up busybox-static (1:1.37.0-7ubuntu1) ... 2227s Setting up libwrap0:amd64 (7.6.q-36build2) ... 2227s Setting up linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 2228s I: /boot/vmlinuz is now a symlink to vmlinuz-6.19.0-3-generic 2228s I: /boot/initrd.img is now a symlink to initrd.img-6.19.0-3-generic 2228s Setting up shared-mime-info (2.4-5build3) ... 2229s Setting up patch (2.8-2build1) ... 2229s Setting up gir1.2-glib-2.0:amd64 (2.87.2-2) ... 2229s Setting up libsensors5:amd64 (1:3.6.2-2build1) ... 2229s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ... 2229s Setting up libdpkg-perl (1.23.5ubuntu1) ... 2229s Setting up lsof (4.99.4+dfsg-2build2) ... 2229s Setting up libpci3:amd64 (1:3.14.0-1build2) ... 2229s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ... 2229s Setting up dmsetup (2:1.02.205-2ubuntu3) ... 2229s Setting up libnetfilter-conntrack3:amd64 (1.1.1-1) ... 2229s Setting up pnp.ids (0.394-1build1) ... 2229s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 2229s Setting up libpcap0.8t64:amd64 (1.10.5-2ubuntu3) ... 2229s Setting up mawk (1.3.4.20260129-1) ... 2229s Setting up libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build2) ... 2229s Setting up libusb-1.0-0:amd64 (2:1.0.29-2build1) ... 2229s Setting up libapt-pkg7.0:amd64 (3.1.15) ... 2229s Setting up linux-image-virtual (6.19.0-3.3) ... 2229s Setting up libbsd0:amd64 (0.12.2-2build2) ... 2229s Setting up libdrm-common (2.4.131-1) ... 2229s Setting up libonig5:amd64 (6.9.10-1build1) ... 2229s Setting up libgudev-1.0-0:amd64 (1:238-7build1) ... 2229s Setting up libbpf1:amd64 (1:1.6.2-1build1) ... 2229s Setting up ethtool (1:6.15-3build1) ... 2229s Setting up python3-referencing (0.36.2-1ubuntu2) ... 2229s Setting up libxkbcommon0:amd64 (1.13.1-1) ... 2229s Setting up linux-headers-6.19.0-3-generic (6.19.0-3.3) ... 2229s Setting up tcpdump (4.99.5-2ubuntu3) ... 2229s Setting up linux-image-generic (6.19.0-3.3) ... 2229s Setting up apt (3.1.15) ... 2229s Setting up libgirepository-2.0-0:amd64 (2.87.2-2) ... 2229s Setting up libpython3.14-stdlib:amd64 (3.14.2-1) ... 2229s Setting up linux-headers-generic (6.19.0-3.3) ... 2229s Setting up gir1.2-girepository-3.0:amd64 (2.87.2-2) ... 2229s Setting up dpkg-dev (1.23.5ubuntu1) ... 2229s Setting up hwdata (0.394-1build1) ... 2229s Setting up pciutils (1:3.14.0-1build2) ... 2229s Setting up python3-markdown-it (3.0.0-3build1) ... 2230s Setting up libdrm2:amd64 (2.4.131-1) ... 2230s Setting up libpython3.14:amd64 (3.14.2-1) ... 2230s Setting up linux-tools-common (6.19.0-3.3) ... 2230s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ... 2230s Setting up linux-headers-virtual (6.19.0-3.3) ... 2230s Setting up linux-generic (6.19.0-3.3) ... 2230s Setting up linux-tools-6.19.0-3 (6.19.0-3.3) ... 2230s Setting up ubuntu-standard (1.564) ... 2230s Setting up linux-virtual (6.19.0-3.3) ... 2230s Setting up linux-perf (6.19.0-3.3) ... 2230s Setting up linux-tools-6.19.0-3-generic (6.19.0-3.3) ... 2230s Processing triggers for debianutils (5.23.2build1) ... 2230s Processing triggers for install-info (7.2-5) ... 2230s Processing triggers for initramfs-tools (0.150ubuntu7) ... 2230s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 2234s Processing triggers for libc-bin (2.42-2ubuntu4) ... 2234s Processing triggers for linux-image-6.19.0-3-generic (6.19.0-3.3+1) ... 2234s /etc/kernel/postinst.d/initramfs-tools: 2234s update-initramfs: Generating /boot/initrd.img-6.19.0-3-generic 2238s /etc/kernel/postinst.d/zz-update-grub: 2238s Sourcing file `/etc/default/grub' 2238s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 2238s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 2238s Generating grub configuration file ... 2238s Found linux image: /boot/vmlinuz-6.19.0-3-generic 2238s Found initrd image: /boot/initrd.img-6.19.0-3-generic 2238s Found linux image: /boot/vmlinuz-6.18.0-9-generic 2238s Found initrd image: /boot/initrd.img-6.18.0-9-generic 2238s Warning: os-prober will not be executed to detect other bootable partitions. 2238s Systems on them will not be added to the GRUB boot configuration. 2238s Check GRUB_DISABLE_OS_PROBER documentation entry. 2238s Adding boot menu entry for UEFI Firmware Settings ... 2238s done 2238s autopkgtest [16:33:13]: upgrading testbed (apt dist-upgrade and autopurge) 2239s Reading package lists... 2239s Building dependency tree... 2239s Reading state information... 2239s Calculating upgrade... 2239s The following package was automatically installed and is no longer required: 2239s libpython3.13 2239s Use 'sudo apt autoremove' to remove it. 2239s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2239s Reading package lists... 2239s Building dependency tree... 2239s Reading state information... 2239s Solving dependencies... 2240s The following packages will be REMOVED: 2240s libpython3.13* 2240s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 2240s After this operation, 7599 kB disk space will be freed. 2240s (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 ... 125259 files and directories currently installed.) 2240s Removing libpython3.13:amd64 (3.13.11-1) ... 2240s Processing triggers for libc-bin (2.42-2ubuntu4) ... 2240s autopkgtest [16:33:15]: rebooting testbed after setup commands that affected boot 2270s Reading package lists... 2271s Building dependency tree... 2271s Reading state information... 2271s Solving dependencies... 2271s The following NEW packages will be installed: 2271s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 2271s libdconf1 2271s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 2271s Need to get 141 kB of archives. 2271s After this operation, 638 kB of additional disk space will be used. 2271s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libdconf1 amd64 0.49.0-4 [40.5 kB] 2271s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 dconf-service amd64 0.49.0-4 [27.7 kB] 2271s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 dconf-gsettings-backend amd64 0.49.0-4 [22.2 kB] 2271s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 dpkg-repack all 1.54build1 [11.2 kB] 2271s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 gsettings-desktop-schemas all 50~alpha-1ubuntu1 [38.9 kB] 2271s Fetched 141 kB in 0s (8549 kB/s) 2271s Selecting previously unselected package libdconf1:amd64. 2271s (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 ... 125255 files and directories currently installed.) 2271s Preparing to unpack .../libdconf1_0.49.0-4_amd64.deb ... 2271s Unpacking libdconf1:amd64 (0.49.0-4) ... 2271s Selecting previously unselected package dconf-service. 2271s Preparing to unpack .../dconf-service_0.49.0-4_amd64.deb ... 2271s Unpacking dconf-service (0.49.0-4) ... 2271s Selecting previously unselected package dconf-gsettings-backend:amd64. 2271s Preparing to unpack .../dconf-gsettings-backend_0.49.0-4_amd64.deb ... 2271s Unpacking dconf-gsettings-backend:amd64 (0.49.0-4) ... 2271s Selecting previously unselected package dpkg-repack. 2271s Preparing to unpack .../dpkg-repack_1.54build1_all.deb ... 2271s Unpacking dpkg-repack (1.54build1) ... 2271s Selecting previously unselected package gsettings-desktop-schemas. 2271s Preparing to unpack .../gsettings-desktop-schemas_50~alpha-1ubuntu1_all.deb ... 2271s Unpacking gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 2271s Setting up dpkg-repack (1.54build1) ... 2271s Setting up libdconf1:amd64 (0.49.0-4) ... 2271s Setting up dconf-service (0.49.0-4) ... 2271s Setting up dconf-gsettings-backend:amd64 (0.49.0-4) ... 2271s Setting up gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 2271s Processing triggers for man-db (2.13.1-1build1) ... 2272s Processing triggers for libglib2.0-0t64:amd64 (2.87.2-2) ... 2272s Processing triggers for libc-bin (2.42-2ubuntu4) ... 2278s autopkgtest [16:33:53]: test 1065022-futureproofing: [----------------------- 2279s + export DEBIAN_FRONTEND=noninteractive 2279s + n=0 2279s + failed=0 2279s + binary_package=libglib2.0-0t64 2279s + future_binary_package=libglib2.0-0xyz 2279s + pwd 2279s + srcdir=/tmp/autopkgtest.xqX1sv/build.k9e/src 2279s + mktemp -d 2279s + tmpdir=/tmp/tmp.q3IdlzzQZX 2279s + cd /tmp/tmp.q3IdlzzQZX 2279s + exec 2279s + [ -e /tmp/autopkgtest.xqX1sv/build.k9e/src/debian/tests/manual/local-1065022.sources ] 2279s + dpkg-query -W dpkg-repack 2279s dpkg-repack 1.54build1 2279s + dpkg-query -s libglib2.0-0t64 2279s Package: libglib2.0-0t64 2279s Status: install ok installed 2279s Priority: important 2279s Section: libs 2279s Installed-Size: 4345 2279s Maintainer: Ubuntu Developers 2279s Architecture: amd64 2279s Multi-Arch: same 2279s Source: glib2.0 2279s Version: 2.87.2-2 2279s Replaces: libglib2.0-0 (<< 2.80.0-7~) 2279s Provides: libgio-2.0-0 (= 2.87.2-2), libglib-2.0-0 (= 2.87.2-2), libglib2.0-0 (= 2.87.2-2), libgmodule-2.0-0 (= 2.87.2-2), libgobject-2.0-0 (= 2.87.2-2), libgthread-2.0-0 (= 2.87.2-2) 2279s 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) 2279s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 2279s Suggests: low-memory-monitor 2279s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~) 2279s Description: GLib library of C routines 2279s GLib is a library containing many useful C routines for things such 2279s as trees, hashes, lists, and strings. It is a useful general-purpose 2279s C library used by projects such as GTK+, GIMP, and GNOME. 2279s . 2279s This package contains the shared libraries. 2279s Original-Maintainer: Debian GNOME Maintainers 2279s Homepage: https://gitlab.gnome.org/GNOME/glib 2279s + dpkg-query -W -f ${Version} libglib2.0-0t64 2279s + binary_version=2.87.2-2 2279s + dpkg-repack --generate libglib2.0-0t64 2279s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 2279s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.pt5HpG for libglib2.0-0t64 2279s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.pt5HpG ." 2279s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.pt5HpG/DEBIAN/control 2279s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.pt5HpG/DEBIAN/control 2279s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.pt5HpG/DEBIAN/control 2279s + env binary_package=libglib2.0-0t64 binary_version=2.87.2-2 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package} (= $ENV{binary_version})/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.pt5HpG/DEBIAN/control 2279s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.pt5HpG libglib2.0-0xyz.deb 2279s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 2280s + dpkg-deb --info libglib2.0-0xyz.deb 2280s new Debian package, version 2.0. 2280s size 1613450 bytes: control archive=25788 bytes. 2280s 1218 bytes, 24 lines control 2280s 1144 bytes, 14 lines md5sums 2280s 1288 bytes, 44 lines * postinst #!/bin/sh 2280s 2577 bytes, 87 lines * postrm #!/bin/sh 2280s 2408 bytes, 53 lines * preinst #!/bin/sh 2280s 466 bytes, 10 lines shlibs 2280s 172758 bytes, 4531 lines symbols 2280s 171 bytes, 4 lines triggers 2280s Package: libglib2.0-0xyz 2280s Source: glib2.0 2280s Version: 2.87.2-2 2280s Architecture: amd64 2280s Maintainer: Ubuntu Developers 2280s Installed-Size: 4345 2280s 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) 2280s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 2280s Suggests: low-memory-monitor 2280s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 2280s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 2280s Provides: libgio-2.0-0 (= 2.87.2-2), libglib-2.0-0 (= 2.87.2-2), libglib2.0-0 (= 2.87.2-2), libgmodule-2.0-0 (= 2.87.2-2), libgobject-2.0-0 (= 2.87.2-2), libgthread-2.0-0 (= 2.87.2-2), libglib2.0-0t64 (= 2.87.2-2) 2280s Section: libs 2280s Priority: important 2280s Multi-Arch: same 2280s Homepage: https://gitlab.gnome.org/GNOME/glib 2280s Description: GLib library of C routines 2280s GLib is a library containing many useful C routines for things such 2280s as trees, hashes, lists, and strings. It is a useful general-purpose 2280s C library used by projects such as GTK+, GIMP, and GNOME. 2280s . 2280s This package contains the shared libraries. 2280s . 2280s (Repackaged on Sun, 08 Feb 2026 16:33:53 +0000 by dpkg-repack.) 2280s + dpkg-deb --contents libglib2.0-0xyz.deb 2280s drwxr-xr-x root/root 0 2026-02-08 16:33 ./ 2280s drwxr-xr-x root/root 0 2026-02-08 16:33 ./usr/ 2280s drwxr-xr-x root/root 0 2026-02-08 16:33 ./usr/lib/ 2280s drwxr-xr-x root/root 0 2026-02-08 16:33 ./usr/lib/x86_64-linux-gnu/ 2280s drwxr-xr-x root/root 0 2026-02-08 16:33 ./usr/lib/x86_64-linux-gnu/gio/ 2280s drwxr-xr-x root/root 0 2026-02-08 16:33 ./usr/lib/x86_64-linux-gnu/gio/modules/ 2280s drwxr-xr-x root/root 0 2026-02-08 16:33 ./usr/lib/x86_64-linux-gnu/glib-2.0/ 2280s -rwxr-xr-x root/root 14728 2026-01-29 15:05 ./usr/lib/x86_64-linux-gnu/glib-2.0/gio-launch-desktop 2280s -rwxr-xr-x root/root 18824 2026-01-29 15:05 ./usr/lib/x86_64-linux-gnu/glib-2.0/gio-querymodules 2280s -rwxr-xr-x root/root 55768 2026-01-29 15:05 ./usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas 2280s -rw-r--r-- root/root 1941032 2026-01-29 15:05 ./usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.8702.0 2280s -rw-r--r-- root/root 1404616 2026-01-29 15:05 ./usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8702.0 2280s -rw-r--r-- root/root 22816 2026-01-29 15:05 ./usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.8702.0 2280s -rw-r--r-- root/root 403928 2026-01-29 15:05 ./usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.8702.0 2280s -rw-r--r-- root/root 14568 2026-01-29 15:05 ./usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0.8702.0 2280s drwxr-xr-x root/root 0 2026-02-08 16:33 ./usr/share/ 2280s drwxr-xr-x root/root 0 2026-02-08 16:33 ./usr/share/doc/ 2280s drwxr-xr-x root/root 0 2026-02-08 16:33 ./usr/share/doc/libglib2.0-0t64/ 2280s -rw-r--r-- root/root 261291 2026-01-19 19:18 ./usr/share/doc/libglib2.0-0t64/NEWS.gz 2280s -rw-r--r-- root/root 1703 2026-01-29 15:05 ./usr/share/doc/libglib2.0-0t64/README.Debian 2280s -rw-r--r-- root/root 3248 2026-01-19 19:18 ./usr/share/doc/libglib2.0-0t64/README.md 2280s -rw-r--r-- root/root 39855 2026-01-29 15:05 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz 2280s -rw-r--r-- root/root 54957 2026-01-29 15:05 ./usr/share/doc/libglib2.0-0t64/copyright 2280s drwxr-xr-x root/root 0 2026-02-08 16:33 ./usr/share/glib-2.0/ 2280s drwxr-xr-x root/root 0 2026-02-08 16:33 ./usr/share/glib-2.0/schemas/ 2280s drwxr-xr-x root/root 0 2026-02-08 16:33 ./usr/share/lintian/ 2280s drwxr-xr-x root/root 0 2026-02-08 16:33 ./usr/share/lintian/overrides/ 2280s -rw-r--r-- root/root 520 2026-01-29 15:05 ./usr/share/lintian/overrides/libglib2.0-0t64 2280s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 -> libgio-2.0.so.0.8702.0 2280s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 -> libglib-2.0.so.0.8702.0 2280s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8702.0 2280s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8702.0 2280s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8702.0 2280s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas 2280s Reading package lists... 2280s Building dependency tree... 2280s Reading state information... 2280s dconf-gsettings-backend is already the newest version (0.49.0-4). 2280s gsettings-desktop-schemas is already the newest version (50~alpha-1ubuntu1). 2280s Solving dependencies... 2280s The following additional packages will be installed: 2280s xdg-user-dirs 2280s Suggested packages: 2280s low-memory-monitor 2280s The following packages will be REMOVED: 2280s libglib2.0-0t64 2280s The following NEW packages will be installed: 2280s libglib2.0-0xyz xdg-user-dirs 2280s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 2280s Need to get 19.3 kB/1633 kB of archives. 2280s After this operation, 172 kB of additional disk space will be used. 2280s Get:1 /tmp/tmp.q3IdlzzQZX/libglib2.0-0xyz.deb libglib2.0-0xyz amd64 2.87.2-2 [1613 kB] 2280s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 xdg-user-dirs amd64 0.19-1 [19.3 kB] 2280s Fetched 19.3 kB in 0s (943 kB/s) 2280s dpkg: libglib2.0-0t64:amd64: dependency problems, but removing anyway as you requested: 2280s udisks2 depends on libglib2.0-0t64 (>= 2.80.0). 2280s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0). 2280s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~). 2280s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0). 2280s netplan.io depends on libglib2.0-0t64 (>= 2.70.0). 2280s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0). 2280s libxmlb2:amd64 depends on libglib2.0-0t64 (>= 2.54.0). 2280s libvolume-key1:amd64 depends on libglib2.0-0t64 (>= 2.18.0). 2280s libudisks2-0:amd64 depends on libglib2.0-0t64 (>= 2.83.0). 2280s libqrtr-glib0:amd64 depends on libglib2.0-0t64 (>= 2.56). 2280s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0). 2280s libqmi-glib5:amd64 depends on libglib2.0-0t64 (>= 2.54.0). 2280s libpolkit-gobject-1-0:amd64 depends on libglib2.0-0t64 (>= 2.38.0). 2280s libpolkit-agent-1-0:amd64 depends on libglib2.0-0t64 (>= 2.38.0). 2280s libnetplan1:amd64 depends on libglib2.0-0t64 (>= 2.76.0). 2280s libmm-glib0:amd64 depends on libglib2.0-0t64 (>= 2.62.0). 2280s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56). 2280s libmbim-glib4:amd64 depends on libglib2.0-0t64 (>= 2.56). 2280s libjson-glib-1.0-0:amd64 depends on libglib2.0-0t64 (>= 2.80.0). 2280s libjcat1:amd64 depends on libglib2.0-0t64 (>= 2.80.0). 2280s libgudev-1.0-0:amd64 depends on libglib2.0-0t64 (>= 2.80.0). 2280s libgirepository-2.0-0:amd64 depends on libglib2.0-0t64 (= 2.87.2-2). 2280s libfwupd3:amd64 depends on libglib2.0-0t64 (>= 2.80.0). 2280s libdconf1:amd64 depends on libglib2.0-0t64 (>= 2.80.0). 2280s libblockdev3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 2280s libblockdev-utils3:amd64 depends on libglib2.0-0t64 (>= 2.76.0). 2280s libblockdev-swap3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 2280s libblockdev-smart3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 2280s libblockdev-part3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 2280s libblockdev-nvme3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 2280s libblockdev-mdraid3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 2280s libblockdev-loop3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 2280s libblockdev-fs3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 2280s libblockdev-crypto3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 2280s gir1.2-glib-2.0:amd64 depends on libglib2.0-0t64 (= 2.87.2-2). 2280s fwupd depends on libglib2.0-0t64 (>= 2.83.0). 2280s dconf-service depends on libglib2.0-0t64 (>= 2.83.0). 2280s dconf-gsettings-backend:amd64 depends on libglib2.0-0t64 (>= 2.80.0). 2280s bolt depends on libglib2.0-0t64 (>= 2.80.0). 2280s 2280s (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 ... 125322 files and directories currently installed.) 2280s Removing libglib2.0-0t64:amd64 (2.87.2-2) ... 2280s Selecting previously unselected package libglib2.0-0xyz:amd64. 2280s (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 ... 125303 files and directories currently installed.) 2280s Preparing to unpack .../libglib2.0-0xyz.deb ... 2280s Unpacking libglib2.0-0xyz:amd64 (2.87.2-2) ... 2281s Selecting previously unselected package xdg-user-dirs. 2281s Preparing to unpack .../xdg-user-dirs_0.19-1_amd64.deb ... 2281s Unpacking xdg-user-dirs (0.19-1) ... 2281s Setting up xdg-user-dirs (0.19-1) ... 2281s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'. 2281s Setting up libglib2.0-0xyz:amd64 (2.87.2-2) ... 2281s Processing triggers for libc-bin (2.42-2ubuntu4) ... 2281s Processing triggers for man-db (2.13.1-1build1) ... 2281s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2281s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2281s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2281s + n=1 2281s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2281s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2281s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2281s + n=2 2281s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2281s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2281s ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2281s ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2281s ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2281s ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2281s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2281s + n=3 2281s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2281s + echo ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2281s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2281s + n=4 2281s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2281s + echo ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2281s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2281s + n=5 2281s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2281s + echo ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2281s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2281s + n=6 2281s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2281s + echo ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2281s + apt-get -y purge libglib2.0-0t64 2281s Reading package lists... 2281s Building dependency tree... 2281s Reading state information... 2281s Solving dependencies... 2281s The following packages will be REMOVED: 2281s libglib2.0-0t64* 2282s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 2282s After this operation, 0 B of additional disk space will be used. 2282s (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 ... 125337 files and directories currently installed.) 2282s Purging configuration files for libglib2.0-0t64:amd64 (2.87.2-2) ... 2282s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2282s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2282s ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2282s ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2282s ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2282s ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2282s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2282s + n=7 2282s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2282s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2282s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2282s + n=8 2282s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2282s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2282s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2282s + n=9 2282s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2282s + echo ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2282s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2282s + n=10 2282s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2282s + echo ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2282s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2282s + n=11 2282s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2282s + echo ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2282s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2282s + n=12 2282s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2282s + echo ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2282s + apt-get -y purge libglib2.0-0xyz 2282s Reading package lists... 2282s Building dependency tree... 2282s Reading state information... 2282s Solving dependencies... 2282s The following additional packages will be installed: 2282s libglib2.0-0t64 2282s Suggested packages: 2282s low-memory-monitor 2282s The following packages will be REMOVED: 2282s libglib2.0-0xyz* 2282s The following NEW packages will be installed: 2282s libglib2.0-0t64 2282s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 2282s Need to get 0 B/1613 kB of archives. 2282s After this operation, 0 B of additional disk space will be used. 2282s dpkg: libglib2.0-0xyz:amd64: dependency problems, but removing anyway as you requested: 2282s udisks2 depends on libglib2.0-0t64 (>= 2.80.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libxmlb2:amd64 depends on libglib2.0-0t64 (>= 2.54.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libvolume-key1:amd64 depends on libglib2.0-0t64 (>= 2.18.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libudisks2-0:amd64 depends on libglib2.0-0t64 (>= 2.83.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libqrtr-glib0:amd64 depends on libglib2.0-0t64 (>= 2.56); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libqmi-glib5:amd64 depends on libglib2.0-0t64 (>= 2.54.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libpolkit-gobject-1-0:amd64 depends on libglib2.0-0t64 (>= 2.38.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libpolkit-agent-1-0:amd64 depends on libglib2.0-0t64 (>= 2.38.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libnetplan1:amd64 depends on libglib2.0-0t64 (>= 2.76.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libmm-glib0:amd64 depends on libglib2.0-0t64 (>= 2.62.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libmbim-glib4:amd64 depends on libglib2.0-0t64 (>= 2.56); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libjson-glib-1.0-0:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libjcat1:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libgudev-1.0-0:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libgirepository-2.0-0:amd64 depends on libglib2.0-0t64 (= 2.87.2-2); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libfwupd3:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libdconf1:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libblockdev3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libblockdev-utils3:amd64 depends on libglib2.0-0t64 (>= 2.76.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libblockdev-swap3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libblockdev-smart3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libblockdev-part3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libblockdev-nvme3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libblockdev-mdraid3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libblockdev-loop3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libblockdev-fs3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s libblockdev-crypto3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s gir1.2-glib-2.0:amd64 depends on libglib2.0-0t64 (= 2.87.2-2); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s fwupd depends on libglib2.0-0t64 (>= 2.83.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s dconf-gsettings-backend:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s bolt depends on libglib2.0-0t64 (>= 2.80.0); however: 2282s Package libglib2.0-0t64 is not installed. 2282s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 2282s 2282s (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 ... 125337 files and directories currently installed.) 2282s Removing libglib2.0-0xyz:amd64 (2.87.2-2) ... 2282s Selecting previously unselected package libglib2.0-0t64:amd64. 2282s (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 ... 125318 files and directories currently installed.) 2282s Preparing to unpack .../libglib2.0-0t64_2.87.2-2_amd64.deb ... 2282s Unpacking libglib2.0-0t64:amd64 (2.87.2-2) ... 2282s Setting up libglib2.0-0t64:amd64 (2.87.2-2) ... 2282s Processing triggers for libc-bin (2.42-2ubuntu4) ... 2282s (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 ... 125337 files and directories currently installed.) 2282s Purging configuration files for libglib2.0-0xyz:amd64 (2.87.2-2) ... 2282s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2282s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2282s not ok 15 - should not have succeeded: test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2282s not ok 16 - should not have succeeded: test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2282s 1..16 2282s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2282s + n=13 2282s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2282s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2282s + failed=1 2282s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2282s + n=14 2282s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2282s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2282s + failed=1 2282s + assert_not test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2282s + n=15 2282s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2282s + echo not ok 15 - should not have succeeded: test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2282s + failed=1 2282s + assert_not test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2282s + n=16 2282s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2282s + echo not ok 16 - should not have succeeded: test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2282s + failed=1 2282s + echo 1..16 2282s + exit 1 2283s autopkgtest [16:33:58]: test 1065022-futureproofing: -----------------------] 2283s autopkgtest [16:33:58]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 2283s 1065022-futureproofing FLAKY non-zero exit status 1 2283s autopkgtest [16:33:58]: @@@@@@@@@@@@@@@@@@@@ summary 2283s build PASS (superficial) 2283s build-static PASS (superficial) 2283s girepository-tools PASS (superficial) 2283s libgio-2.0-dev-bin PASS (superficial) 2283s libglib2.0-dev PASS (superficial) 2283s installed-tests PASS 2283s closure-refcount PASS 2283s debugcontroller PASS 2283s gdbus-server-auth PASS 2283s gdbus-threading PASS 2283s gmenumodel PASS 2283s mainloop PASS 2283s memory-monitor-dbus PASS 2283s socket PASS 2283s testfilemonitor PASS 2283s thread-pool-slow PASS 2283s threadtests PASS 2283s timeout PASS 2283s timer PASS 2283s 1065022-futureproofing FLAKY non-zero exit status 1